You can use the RM Java™ API framework to browse the file plan and to view its various constituents, such as classification schemes, record categories, record folders, volumes, and records.
Before you begin browsing for file plan objects, you must obtain an instance of an RMObjectStore object. For detailed information about instantiating an RMObjectStore object, refer to RMObjectStore.
To browse the classification schemes available in an object store, call the getClassificationSchemes method on an RMObjectStore object, which returns a collection of ClassificationScheme objects available in an object store. You can also retrieve the available classification schemes as an XML string by calling one of the getClassificationSchemesXML methods on an RMObjectStore object.
RMObjects loObjects =
(RMObjects)loRecordCategory.getContainees(new int[]{RMType.RM_TYPE_RECORDCATEGORY,
RMType.RM_TYPE_RECORDFOLDER, RMType.RM_TYPE_RECORD}, new String[]{"Creator"}, false);
String lsContaineesXML =
loObj.getContaineesXML(new int[]{RMType.RM_TYPE_RECORDCATEGORY,
RMType.RM_TYPE_RECORDFOLDER, RMType.RM_TYPE_RECORD}, null, false);
<response xmlns="http://www.ibm.com/namespaces/wcm/apps/1.0"
xmlns:wcm="http://www.ibm.com/namespaces/wcm/apps/1.0">
<objectset>
<folder>
<id>{6FE8E8E8-BA60-4CFC-AC55-20409E0E3944}</id>
<objectstore>
<id>{C8F7AD25-ACE1-42F9-8866-E86D94B37A5A}</id>
<name>DOD06042004</name>
</objectstore>
<classdesc>
<id>{B42CC67A-6E4C-472E-A2D4-1EAC4B70B962}</id>
<name>ElectronicRecordFolder</name></classdesc>
<properties>
<property>
<name>OIID</name>
<symname>OIID</symname>
<value>dma:///9bb79d30-7208-11d1-8a25-008048e14c74/
c8f7ad25-ace1-42f9-8866-e86d94b37a5a/
Lb42cc67a-6e4c-472e-a2d4-1eac4b70b962;
guid=6fe8e8e8-ba60-4cfc-ac55-20409e0e3944</value>
<datatype>8</datatype>
</property>
<property>
<name>Creator</name>
<symname>Creator</symname>
<value>Administrator</value>
<datatype>8</datatype>
</property>
</properties>
</classdesc>
</folder>
</objectset>
</response>
int liType = loRMOS.getRMEntityType(loRMObject.getId());