com.filenet.rm.api

Interface RMObjectStore

All Superinterfaces:
com.filenet.wcm.api.BaseObject, com.filenet.wcm.api.ObjectStore, com.filenet.wcm.api.ReadableMetadataObject, RMObject, java.io.Serializable, com.filenet.wcm.api.ValueObject

  1. public interface RMObjectStore
  2. extends RMObject, com.filenet.wcm.api.ObjectStore
Represents a Records Manager object store that can hold multiple file plans.

You can create an instance of the RMObjectStore interface by calling the _getRMObjectStore(ObjectStore) method on an RMUtil object.


Field Summary

Fields inherited from interface com.filenet.rm.api.RMObject
AGGREGATION_RECORD, AGGREGATION_RECORD_CATEGORY, AGGREGATION_RECORD_FOLDER, AGGREGATION_VOLUME, CLEAR_INHERITED_CHILDREN, INHERIT_IMMEDIATE_CHILDREN, INHERITED_CHILDREN, NON_INHERITED_CHILDREN, WORK_FLOW_STATUS_COMPLETED, WORK_FLOW_STATUS_NOT_STARTED, WORK_FLOW_STATUS_STARTED
Fields inherited from interface com.filenet.wcm.api.ObjectStore
APPLICATION_DEFINED_TEMPLATES, SUPPORTS_ACL_MODIFICATIONS, SUPPORTS_ANNOTATIONS, SUPPORTS_CONTENT_SEARCH, SUPPORTS_CUSTOM_OBJECT, SUPPORTS_DOC_DELETE, SUPPORTS_DOC_PAGES, SUPPORTS_DOC_VERSIONS, SUPPORTS_QUEUES, SUPPORTS_REMOTE_PRINT, SUPPORTS_STORED_SEARCH, VERSION_STATUS_LOOKUP

Method Summary

Modifier and Type Method and Description
  1. ClassificationGuide
createClassificationGuide(java.lang.String asGuideName,java.lang.String asClassID,com.filenet.wcm.api.Properties aoGuideProps,com.filenet.wcm.api.Permissions aoGuideACLs)
Creates a new ClassificationGuide object in the /Records Management/ClassificationGuides folder within this object store.
  1. ClassificationScheme
createClassificationScheme(java.lang.String asClassificationSchemeName,com.filenet.wcm.api.Properties aoClassificationSchemeProps,com.filenet.wcm.api.Permissions aoClassificationSchemeACLs)
Constructs a ClassificationScheme object with the specified property and permission values, and places the new object in this object store.
  1. DispositionSchedule
createDispositionSchedule(com.filenet.wcm.api.Properties aoDispositionScheduleProps,com.filenet.wcm.api.Permissions aoDispositionScheduleACLs)
Constructs a DispositionSchedule object with the specified property and permission values, and places the new object in this object store.
  1. RMCustomObject
createLocation(com.filenet.wcm.api.Properties aoProperties,com.filenet.wcm.api.Permissions aoAcls,java.lang.String Guid)
Creates a Location object in the specified folder.
  1. RMCustomObject
createPattern(com.filenet.wcm.api.Properties aoProperties,com.filenet.wcm.api.Permissions aoPermissions)
Creates a Pattern object that specifies a naming pattern for file plans in the object store.
  1. RMCustomObject
createPatternLevel(com.filenet.wcm.api.Properties aoProperties,com.filenet.wcm.api.Permissions aoPermissions,java.lang.String asPatternGUID)
Creates a PatternLevel object to be associated with the specified Pattern object in this object store.
  1. RecordType
createRecordType(com.filenet.wcm.api.Properties aoRecordTypeProps,com.filenet.wcm.api.Permissions aoRecordTypeACLs)
Constructs a RecordType object with the specified property and permission values, and places the new object in this object store.
  1. RMCustomObject
createRMCustomObject(int aiCustomClassType,com.filenet.wcm.api.Properties aoProps,com.filenet.wcm.api.Permissions aoACL)
Constructs an RMCustomObject object of the specified type and places the new object in this object store.
  1. com.filenet.wcm.api.ClassDescriptions
getClassDescriptions(int[] aiEntityTypes,boolean abInculdeSubClasses,boolean abGetAll)
Returns a collection of the ClassDescription objects, which contain the metadata for the classes of the specified types in this object store.
  1. ClassificationGuides
getClassificationGuides()
Returns the ClassificationGuide objects that are contained in this object store.
  1. ClassificationGuides
getClassificationGuides(java.lang.String[] asPropNames)
Returns the ClassificationGuide objects, along with their properties, that are contained in this object store.
  1. java.lang.String
getClassificationGuidesXML(java.lang.String[] asPropNames)
Returns a String in XML format that represents the collection of ClassificationGuide objects in this object store along with their properties.
  1. ClassificationScheme
getClassificationSchemeInterface(com.filenet.wcm.api.Folder aoFolder)
Constructs a ClassificationScheme object based on the specified Folder object and places the new object in this object store.
  1. java.lang.String
getClassificationSchemeRootPath()
Returns the path of ClassificationSchemeRoot object for this object store.
  1. ClassificationSchemes
getClassificationSchemes()
Returns a collection containing the ClassificationScheme objects in this object store.
  1. java.lang.String
getClassificationSchemesXML(java.lang.String[] asPropNames)
Returns a String that contains the XML representation of the ClassificationScheme objects in this object store along with their specified properties.
  1. RMObject
getObject(java.lang.String asRMObjectId)
Returns the specified RMObject object.
  1. java.lang.String[]
getPropertyNames(int aiEntityType)
Returns an array containing the symbolic names of all properties for objects of the specified entity type.
  1. RecordInfo
getRecord(java.lang.String asDocURI)
Returns the RecordInfo object in this object store that has the the specified document URI.
  1. RecordCategory
getRecordCategoryInterface(com.filenet.wcm.api.Folder aoFolder)
Constructs a RecordCategory object based on the specified Folder object and places the new object in this object store.
  1. RecordFolder
getRecordFolderInterface(com.filenet.wcm.api.Folder aoFolder)
Constructs a RecordFolder object object based on the specified Folder object and places the new object in this object store.
  1. RecordInfo
getRecordInfoInterface(com.filenet.wcm.api.Document aoDocument)
Constructs a RecordInfo object based on the specified Document object and places the new object in this object store.
  1. RecordType
getRecordTypeInterface(com.filenet.wcm.api.CustomObject aoRecordType)
Constructs a RecordType object based on the specified Folder object and places the new object in this object store.
  1. RecordTypes
getRecordTypes()
Returns a collection containing the RecordType objects in this object store.
  1. RMCustomObject
getRMCustomObjectInterface(com.filenet.wcm.api.CustomObject aoCustomObject)
Constructs an RMCustomObject object based on the specified CustomObject object and places the new object in this object store.
  1. RMCustomObjects
getRMCustomObjects(int aiRMtype)
Returns a collection of all RMCustomObject objects of the specified type that are contained within this object store for which the user has permission to update the schedule.
  1. RMCustomObjects
getRMCustomObjects(int aiRMtype,java.lang.String asWhereClause)
Returns a collection of all RMCustomObject objects of the specified type that are contained within this object store.
  1. int
getRMEntityType()
Returns the type of this object store.
  1. int
getRMEntityType(java.lang.String asGuid)
Returns the type of the specified Records Manager entity.
  1. int
getRMFolderType(com.filenet.wcm.api.Folder aoFolder)
Returns the entity type of the specified container object.
  1. int
getRMFolderType(java.lang.String asGUID)
Returns the entity type of the container object with the specified GUID.
  1. RMObjects
getRMObjects()
Creates an empty RMObjects collection that can contain any type of RMObject object.
  1. RMPagedSearch
getRMPagedSearch()
Returns an RMPagedSearch object that can be used to search this object store and to return paged results.
  1. RMSearch
getRMSearch()
Returns an RMSearch object that can be used to search this object store.
  1. RMStoredSearches
getRMStoredSearches(int[] aiArrObjTypes,java.lang.String[] asArrPropNames)
Returns a collection of the RMStoredSearch objects, along with their properties, that are contained in this object store.
  1. java.lang.String
getRMStoredSearchesXML(int[] aiArrObjTypes,java.lang.String[] asArrPropNames)
Returns a String in XML format representing a collection of the RMStoredSearch objects, along with their properties, that are contained in this object store.
  1. java.lang.Object
getSystemConfigurationValue(java.lang.String asPropertyName)
Returns the value of the specified SystemConfiguration property for the ClassificationSchemes object in this object store.
  1. Volume
getVolumeInterface(com.filenet.wcm.api.Folder aoFolder)
Constructs a Volume object based on the specified Folder object and places the new object in this object store.
Methods inherited from interface com.filenet.rm.api.RMObject
getObjectStore, getRMDeclassificationOffset, getRMImplementationType, registerExternalEvent, setState
Methods inherited from interface com.filenet.wcm.api.ObjectStore
createAndFileObject, createObject, createObject, exportObjects, getCheckoutList, getCheckoutList, getCheckoutListXML, getChoiceLists, getChoiceListsXML, getClassDescriptions, getClassDescriptions, getClassDescriptions, getClassDescriptions, getClassDescriptions, getClassDescriptions, getClassDescriptions, getClassDescriptionsXML, getClassDescriptionsXML, getClassDescriptionsXML, getClassDescriptionsXML, getClassifierMimeTypes, getEventActions, getEventActions, getObject, getPropertyDescriptions, getPropertyDescriptions, getPropertyDescriptions, getPropertyDescriptions, getPropertyDescriptionsXML, getPropertyDescriptionsXML, getPropertyDescriptionsXML, getPropertyDescriptionsXML, getPublishRequests, getPublishRequests, getRootFolder, getSecurityPolicies, getSecurityPolicies, getSecurityPoliciesXML, getSecurityPoliciesXML, getStoredSearches, getStoredSearchesXML, getStringLookupLists, getStyleTemplates, getTopFoldersXML, getWorkflowDefinitions, getWorkflowDefinitions, importBaseObject, importObjects, installFeatureAddOn, supports
Methods inherited from interface com.filenet.wcm.api.ReadableMetadataObject
getProperties, getProperties, getPropertiesXML, getPropertyBinaryValue, getPropertyBooleanValue, getPropertyDateValue, getPropertyDoubleValue, getPropertyIntValue, getPropertyStringValue, getPropertyValue, getPropertyValuesValue, refresh, refresh

Method Detail

getClassificationSchemes

  1. ClassificationSchemes getClassificationSchemes( )
  2. throws RMException
Returns a collection containing the ClassificationScheme objects in this object store.
Returns:
A ClassificationSchemes collection that contains the ClassificationScheme objects in this object store.
Throws:
RMException - If a Records Manager error occurs.

getClassificationSchemesXML

  1. java.lang.String getClassificationSchemesXML( java.lang.String[] asPropNames)
  2. throws RMException
Returns a String that contains the XML representation of the ClassificationScheme objects in this object store along with their specified properties.
Parameters:
asPropNames - A String array that contains the symbolic names of the properties to be returned. If this parameter is null or if the array is empty, all properties of the ClassificationScheme objects are returned.
Returns:
A String value that contains the XML representation of the ClassificationScheme objects in this object store along with their specified properties.
Throws:
RMException - If a Records Manager error occurs.

createClassificationScheme

  1. ClassificationScheme createClassificationScheme( java.lang.String asClassificationSchemeName,
  2. com.filenet.wcm.api.Properties aoClassificationSchemeProps,
  3. com.filenet.wcm.api.Permissions aoClassificationSchemeACLs)
  4. throws RMException
Constructs a ClassificationScheme object with the specified property and permission values, and places the new object in this object store.
Parameters:
asClassificationSchemeName - A String specifying the name for the new classification scheme.
aoClassificationSchemeProps - A Properties collection containing the property values for the new classification scheme. If a property value is not defined, the default value defined for the Content Engine object store is used.
aoClassificationSchemeACLs - A Permissions collection containing the access permissions for the new classification scheme. If this parameter is null, the classification scheme inherits the default instance permissions defined for the class.
Returns:
The new ClassificationScheme object.
Throws:
RMException - If a Records Manager error occurs.

getRecordTypes

  1. RecordTypes getRecordTypes()
  2. throws RMException
Returns a collection containing the RecordType objects in this object store.
Returns:
A RecordTypes collection that contains the RecordType objects in this object store.
Throws:
RMException - If a Records Manager error occurs.

createRecordType

  1. RecordType createRecordType(com.filenet.wcm.api.Properties aoRecordTypeProps,
  2. com.filenet.wcm.api.Permissions aoRecordTypeACLs)
  3. throws RMException
Constructs a RecordType object with the specified property and permission values, and places the new object in this object store.
Parameters:
aoRecordTypeProps - A Properties collection containing the property values for the new record type. If a property value is not defined, the default value defined for the Content Engine object store is used.
aoRecordTypeACLs - A Permissions collection containing the access permissions for the new record type. If this parameter is null, the record type inherits the default instance permissions defined for the class.
Returns:
The new RecordType object.
Throws:
RMException - If a Records Manager error occurs.

createDispositionSchedule

  1. DispositionSchedule createDispositionSchedule( com.filenet.wcm.api.Properties aoDispositionScheduleProps,
  2. com.filenet.wcm.api.Permissions aoDispositionScheduleACLs)
  3. throws RMException
Constructs a DispositionSchedule object with the specified property and permission values, and places the new object in this object store.
Parameters:
aoDispositionScheduleProps - A Properties collection containing the property values for the new disposition schedule. If a property value is not defined, the default value defined for the Content Engine object store is used.
aoDispositionScheduleACLs - A Permissions collection containing the access permissions for the new disposition schedule. If this parameter is null, the disposition schedule inherits the default instance permissions defined for the class.
Returns:
The new DispositionSchedule object.
Throws:
RMException - If a Records Manager error occurs.

createRMCustomObject

  1. RMCustomObject createRMCustomObject( int aiCustomClassType,
  2. com.filenet.wcm.api.Properties aoProps,
  3. com.filenet.wcm.api.Permissions aoACL)
  4. throws RMException
Constructs an RMCustomObject object of the specified type and places the new object in this object store.
Parameters:
aiCustomClassType - An int value that indicates the type of custom object to be created.
aoProps - A Properties collection containing the property values for the new custom object. If a property value is not defined, the default value defined for the Content Engine object store is used.
Returns:
The new RMCustomObject object.
Throws:
RMException - If a Records Manager error occurs.

getRecord

  1. RecordInfo getRecord(java.lang.String asDocURI)
  2. throws RMException
Returns the RecordInfo object in this object store that has the the specified document URI.
Parameters:
asDocURI - A String that represents the value of the DocURI property of the RecordInfo to be returned.
Returns:
The specified RecordInfo object.
Throws:
RMException - If the asDocURIparameter is null or empty, or if a Records Manager error occurs.

getPropertyNames

  1. java.lang.String[] getPropertyNames( int aiEntityType)
  2. throws RMException
Returns an array containing the symbolic names of all properties for objects of the specified entity type.
Parameters:
aiEntityType - An int value representing the RMEntityType property value that identifies the type of entity for which property names are to be returned.
Returns:
A String array containing the names of the properties for the entity type.
Throws:
RMException - If a Records Manager error occurs.

getRMFolderType

  1. int getRMFolderType(java.lang.String asGUID)
  2. throws RMException
Returns the entity type of the container object with the specified GUID.
Parameters:
asGUID - A String that represents the GUID for the container object.
Returns:
An int value that represents the RMEntityType property value of the specified container object.
Throws:
RMException - If the asGUID parameter is null or empty, or if a Records Manager error occurs.

getRMFolderType

  1. int getRMFolderType(com.filenet.wcm.api.Folder aoFolder)
  2. throws RMException
Returns the entity type of the specified container object.
Parameters:
aoFolder - A Folder object that represents a Records Manager container object.
Returns:
An int value that represents the RMEntityType property value of the specified container object.
Throws:
RMException - If the aoFolder parameter is null or empty, if the RMEntityType property is not found, or if a Records Manager error occurs.

getClassificationSchemeInterface

  1. ClassificationScheme getClassificationSchemeInterface( com.filenet.wcm.api.Folder aoFolder)
  2. throws RMException
Constructs a ClassificationScheme object based on the specified Folder object and places the new object in this object store.
Parameters:
aoFolder - A Folder object of type RM_TYPE_CLASSIFICATIONSCHEME on which the ClassificationScheme object is to be based.
Returns:
The new ClassificationScheme object.
Throws:
RMException - If a Records Manager error occurs.

getRecordCategoryInterface

  1. RecordCategory getRecordCategoryInterface( com.filenet.wcm.api.Folder aoFolder)
  2. throws RMException
Constructs a RecordCategory object based on the specified Folder object and places the new object in this object store.
Parameters:
aoFolder - A Folder object of type RM_TYPE_RECORDCATEGORY on which the RecordCategory object is to be based.
Returns:
The new RecordCategory object.
Throws:
RMException - If a Records Manager error occurs.

getRecordFolderInterface

  1. RecordFolder getRecordFolderInterface( com.filenet.wcm.api.Folder aoFolder)
  2. throws RMException
Constructs a RecordFolder object object based on the specified Folder object and places the new object in this object store.
Parameters:
aoFolder - A Folder object of type RM_TYPE_RECORDFOLDER on which the RecordFolder object is to be based.
Returns:
The new RecordFolder object.
Throws:
RMException - If a Records Manager error occurs.

getVolumeInterface

  1. Volume getVolumeInterface(com.filenet.wcm.api.Folder aoFolder)
  2. throws RMException
Constructs a Volume object based on the specified Folder object and places the new object in this object store.
Parameters:
aoFolder - A Folder object of type RM_TYPE_VOLUME on which the Volume object is to be based.
Returns:
The new Volume object.
Throws:
RMException - If a Records Manager error occurs.

getRecordTypeInterface

  1. RecordType getRecordTypeInterface( com.filenet.wcm.api.CustomObject aoRecordType)
  2. throws RMException
Constructs a RecordType object based on the specified Folder object and places the new object in this object store.
Parameters:
aoRecordType - A CustomObject object of type RM_TYPE_RECORDCATEGORY on which the RecordType object is to be based.
Returns:
The new RecordType object.
Throws:
RMException - If a Records Manager error occurs.

getRecordInfoInterface

  1. RecordInfo getRecordInfoInterface( com.filenet.wcm.api.Document aoDocument)
  2. throws RMException
Constructs a RecordInfo object based on the specified Document object and places the new object in this object store.
Parameters:
aoDocument - A Document object on which the RecordInfo object is to be based.
Returns:
The new RecordInfo object.
Throws:
RMException - If a Records Manager error occurs.

getRMCustomObjectInterface

  1. RMCustomObject getRMCustomObjectInterface( com.filenet.wcm.api.CustomObject aoCustomObject)
  2. throws RMException
Constructs an RMCustomObject object based on the specified CustomObject object and places the new object in this object store.
Parameters:
aoCustomObject - A CustomObject object of type RM_TYPE_RECORDTYPE on which the RMCustomObject object is to be based.
Returns:
The new RMCustomObject object.
Throws:
RMException - If a Records Manager error occurs.

getSystemConfigurationValue

  1. java.lang.Object getSystemConfigurationValue( java.lang.String asPropertyName)
  2. throws RMException
Returns the value of the specified SystemConfiguration property for the ClassificationSchemes object in this object store.
Parameters:
asPropertyName - A String that specifies the name of SystemConfiguration property whose value is to be returned.
Returns:
An object that represents the specified SystemConfiguration property.
Throws:
RMException - If the asPropertyName parameter is null or empty, if the specified property is not found, or if a Records Manager error occurs.

getRMStoredSearches

  1. RMStoredSearches getRMStoredSearches( int[] aiArrObjTypes,
  2. java.lang.String[] asArrPropNames)
Returns a collection of the RMStoredSearch objects, along with their properties, that are contained in this object store.
Parameters:
aiArrObjTypes - An int array identifying type of objects to be returned as follows:

  • StoredSearch.TYPE_SEARCH: Returns stored searches.

  • StoredSearch.TYPE_TEMPLATE: Returns stored search templates.

asArrPropNames - A String array that contains the symbolic names of properties to be retrieved for each returned object. If this parameter is null or empty, this method retrieves an initial set of hard-coded properties.
Returns:
An RMStoredSearches collection containing the specified stored searches.
Throws:
RMException - If a Records Manager error occurs.

getRMStoredSearchesXML

  1. java.lang.String getRMStoredSearchesXML( int[] aiArrObjTypes,
  2. java.lang.String[] asArrPropNames)
Returns a String in XML format representing a collection of the RMStoredSearch objects, along with their properties, that are contained in this object store.
Parameters:
aiArrObjTypes - An int array identifying type of objects to be returned as follows:

  • StoredSearch.TYPE_SEARCH: Returns stored searches.

  • StoredSearch.TYPE_TEMPLATE: Returns stored search templates.

asArrPropNames - A String array that contains the symbolic names of properties to be retrieved for each returned object. If this parameter is null or empty, this method retrieves an initial set of hard-coded properties.
Returns:
A String containing the specified stored searches in XML format.
Throws:
RMException - If a Records Manager error occurs.

getRMCustomObjects

  1. RMCustomObjects getRMCustomObjects( int aiRMtype,
  2. java.lang.String asWhereClause)
  3. throws RMException
Returns a collection of all RMCustomObject objects of the specified type that are contained within this object store.
Parameters:
aiRMtype - An int value that specifies the type of RMCustomObject object to be returned.
asWhereClause - A String that specifies the where clause that is used to further filter the objects to be returned. If no where clause is provided, all RMCustomObject of the specified type are returned.
Returns:
An RMCustomObjects collection containing the specified RMCustomObject objects.
Throws:
RMException - If a Records Manager error occurs.

getRMCustomObjects

  1. RMCustomObjects getRMCustomObjects( int aiRMtype)
  2. throws RMException
Returns a collection of all RMCustomObject objects of the specified type that are contained within this object store for which the user has permission to update the schedule.
Parameters:
aiRMtype - An int value that specifies the type of RMCustomObject object to be returned.
Returns:
An RMCustomObjects collection containing the specified RMCustomObject objects.
Throws:
RMException - If the user does not have permission to update the schedule for the specified objects or if a Records Manager error occurs.

getClassificationSchemeRootPath

  1. java.lang.String getClassificationSchemeRootPath( )
  2. throws RMException
Returns the path of ClassificationSchemeRoot object for this object store. The path that is returned is relative to the RootFolder object.
Returns:
A String that represents the relative path of the ClassificationSchemeRoot object for this object store.
Throws:
RMException - If no ClassificationSchemeRoot object exists in this object store, if more than one ClassificationSchemeRoot object exists in this object store, or if a Records Manager error occurs.

getRMEntityType

  1. int getRMEntityType()
  2. throws RMException
Returns the type of this object store.
Specified by:
getRMEntityType in interface RMObject
Returns:
An int value that represents the type of this object store.
Throws:
RMException - If a Records Manager error occurs.

getRMEntityType

  1. int getRMEntityType(java.lang.String asGuid)
  2. throws RMException
Returns the type of the specified Records Manager entity.
Parameters:
asGuid - A String that specifies the GUID of the Records Manager entity for which the type is to be returned.
Returns:
An int value that represents the type of the specified Records Manager entity.
Throws:
RMException - If the asGuid parameter does not contain a valid GUID for this object store or if a Records Manager error occurs.

getRMSearch

  1. RMSearch getRMSearch()
  2. throws RMException
Returns an RMSearch object that can be used to search this object store.
Returns:
An RMSearch object.
Throws:
RMException - If a Records Manager error occurs.

getRMPagedSearch

  1. RMPagedSearch getRMPagedSearch( )
  2. throws RMException
Returns an RMPagedSearch object that can be used to search this object store and to return paged results.
Returns:
An RMPagedSearch object.
Throws:
RMException - If a Records Manager error occurs.

createPattern

  1. RMCustomObject createPattern(com.filenet.wcm.api.Properties aoProperties,
  2. com.filenet.wcm.api.Permissions aoPermissions)
  3. throws RMException
Creates a Pattern object that specifies a naming pattern for file plans in the object store.
Parameters:
aoProperties - A Properties collection that specifies the properties to be used for the new Pattern object.
aoPermissions - Permissions collection that specifies the permissions to be used for the new Pattern object.
Returns:
An RMCustomObject object that represents the new Pattern object.
Throws:
RMException - If a Records Manager error occurs.

createPatternLevel

  1. RMCustomObject createPatternLevel( com.filenet.wcm.api.Properties aoProperties,
  2. com.filenet.wcm.api.Permissions aoPermissions,
  3. java.lang.String asPatternGUID)
  4. throws RMException
Creates a PatternLevel object to be associated with the specified Pattern object in this object store.
Parameters:
aoProperties - A Properties collection that specifies the properties to be used for the new PatternLevel object.
aoPermissions - Permissions collection that specifies the permissions to be used for the new PatternLevel object.
asPatternGUID - A String that specifies the GUID of the Pattern object with which this PatternLevel object is to be associated.
Returns:
An RMCustomObject object that represents the new PatternLevel object.
Throws:
RMException - If a Records Manager error occurs.

getRMObjects

  1. RMObjects getRMObjects()
  2. throws RMException
Creates an empty RMObjects collection that can contain any type of RMObject object.
Returns:
An empty RMObjects collection.
Throws:
RMException - If a Records Manager error occurs.

createLocation

  1. RMCustomObject createLocation(com.filenet.wcm.api.Properties aoProperties,
  2. com.filenet.wcm.api.Permissions aoAcls,
  3. java.lang.String Guid)
  4. throws RMException
Creates a Location object in the specified folder.
Parameters:
aoProperties - A Properties collection that specifies the properties to be used for the new Location object.
aoAcls - A Permissions collection that specifies the permissions to be used for the new Location object.
Returns:
An RMCustomObject object that represents the new Location object.
Throws:
RMException - If a Records Manager error occurs.

getClassDescriptions

  1. com.filenet.wcm.api.ClassDescriptions getClassDescriptions( int[] aiEntityTypes,
  2. boolean abInculdeSubClasses,
  3. boolean abGetAll)
  4. throws RMException
Returns a collection of the ClassDescription objects, which contain the metadata for the classes of the specified types in this object store.
Parameters:
aiEntityTypes - An int array that specifies the object types of the classes for which metadata is to be returned.
abInculdeSubClasses - A boolean value that indicates whether the method is to return metadata for the subclasses of the specified classes. Set this value to true to return metadata for subclasses.
abGetAll - A boolean value that indicates whether metadata is to be returned for hidden class descriptions. Set this value to true to return metadata for hidden class descriptions.

NOTE A ClassDescription object is hidden if its IsHidden property is set to true.

Returns:
A ClassDescriptions collection that contains the requested the ClassDescription objects for classes of the specified types.
Throws:
RMException - If a Records Manager error occurs.

getObject

  1. RMObject getObject(java.lang.String asRMObjectId)
  2. throws RMException
Returns the specified RMObject object.
Parameters:
asRMObjectId - A String that specifies the GUID of the object to be returned.
Returns:
The RMObject object corresponding to the specified GUID.
Throws:
RMException - If the GUID specified by the asRMObjectId parameter does not point to an RMObject object or if a Records Manager error occurs.

createClassificationGuide

  1. ClassificationGuide createClassificationGuide( java.lang.String asGuideName,
  2. java.lang.String asClassID,
  3. com.filenet.wcm.api.Properties aoGuideProps,
  4. com.filenet.wcm.api.Permissions aoGuideACLs)
  5. throws RMException
Creates a new ClassificationGuide object in the /Records Management/ClassificationGuides folder within this object store.
Parameters:
asGuideName - A String that specifies the name for the new classification guide.
asClassID - A String that specifies the class ID for the new classification guide.
aoGuideProps - A Properties collection that specifies the properties to be used for a top-level classification guide.
aoGuideACLs - A Permissions collection that specifies the permissions to be used for a top-level classification guide.
Returns:
The new ClassificationGuide object.
Throws:
RMException - If a Records Manager error occurs.

getClassificationGuides

  1. ClassificationGuides getClassificationGuides( )
  2. throws RMException
Returns the ClassificationGuide objects that are contained in this object store.
Returns:
A ClassificationGuides collection that contains the classification guides in this object store.
Throws:
RMException - If a Records Manager error occurs.

getClassificationGuides

  1. ClassificationGuides getClassificationGuides( java.lang.String[] asPropNames)
  2. throws RMException
Returns the ClassificationGuide objects, along with their properties, that are contained in this object store.
Parameters:
asPropNames - A String array that specifies the names of the properties to be returned.
Returns:
A ClassificationGuides collection that contains the classification guides and their properties.
Throws:
RMException - If a Records Manager error occurs.

getClassificationGuidesXML

  1. java.lang.String getClassificationGuidesXML( java.lang.String[] asPropNames)
  2. throws RMException
Returns a String in XML format that represents the collection of ClassificationGuide objects in this object store along with their properties.
Parameters:
asPropNames - A String array that specifies the symbolic names of the properties to be returned. If this parameter is null or empty, the method returns all properties for the ClassificationGuide objects.
Returns:
A String in XML format that represents the collection of ClassificationGuide objects along with their properties.
Throws:
RMException - If a Records Manager error occurs.