IBM Enterprise Records, Version 5.1.+            

RMFolder

The RMFolder interface serves as the base interface for all container objects in the RM Java™ API. Container objects represent the different types of folders that exist in the file plan hierarchy. The types of container objects are ClassificationScheme, RecordCategory, RecordFolder, and Volume. The RMFolder interface extends the RMObject interface and the Content Java API Folder interface.

The RMFolder interface provides methods for retrieving information about the container objects that are derived from it. To instantiate a container object, call the getObject method on an instance of RMObjectStore. The following code snippet creates an instance of a RecordCategory object.
String lsObjectId = "{FDB1E9BF-D30D-4071-A3CC-631EB305A445}";
RMFolder loRMFolder = 
   (RMFolder)loRMObjectStore.getObject(RMType.RM_TYPE_RECORDCATEGORY, lsObjectId);

Similarly, you can instantiate other container objects, such as RecordFolder, by passing the relevant object types.



Feedback

Last updated: August 2011


© Copyright IBM Corporation 2011.
This information center is powered by Eclipse technology. (http://www.eclipse.org)