public interface RecordCategoryContainer
RecordCategory
instances.Modifier and Type | Method and Description |
---|---|
RecordCategory |
addRecordCategory(java.lang.String classIdent,
RMProperties props,
java.util.List<RMPermission> perms)
Creates a new
RecordCategory instance as an immediate child
of this container and saves it to the associated FilePlanRepository . |
RecordCategory |
addRecordCategory(java.lang.String classIdent,
RMProperties props,
java.util.List<RMPermission> perms,
java.lang.String idStr)
Creates a new
RecordCategory instance as an immediate child
of this container and saves it to the associated FilePlanRepository . |
PageableSet<RecordCategory> |
fetchRecordCategories(RMPropertyFilter filter,
java.lang.Integer pageSize)
Returns a pageable collection of all
RecordCategory instances that are immediate
children of this container. |
PageableSet<RecordCategory> fetchRecordCategories(RMPropertyFilter filter, java.lang.Integer pageSize)
RecordCategory
instances that are immediate
children of this container.filter
- An optional RMPropertyFilter
defining
retrieved properties for each returned RecordCategory
instance.
This entry can be null
.pageSize
- An Integer defining the maximum number of results per returned page.
This entry can be null
, in which case a repository-specific
default page size is used.RecordCategory
instances.RAL_RETRIEVING_RECORD_CATEGORIES_FAILED
- For any unexpected error condition.RecordCategory addRecordCategory(java.lang.String classIdent, RMProperties props, java.util.List<RMPermission> perms)
RecordCategory
instance as an immediate child
of this container and saves it to the associated FilePlanRepository
.classIdent
- a String
identifier of the repository class to base the new instance on.props
- the RMProperties
collection to assign to the new instance.perms
- an optional RMPermission
collection to assign to the new instance.
This entry can be null
.RecordCategory
instance.API_PARENT_CONTAINER_ISCLOSED
- If this container is currently closed.API_CANNOT_CONTAIN_CHILDTYPE
- If this container is not currently allowed to contain a RecordCategory
.API_MISSING_REQUIRED_PROP_VALUE
- If a required property has not been provided.API_NON_UNIQUE_CONTAINER_PROP_VALUE
- If either the supplied "Record Category Name" or "Record Category Identifier" property value is not unique within the parent container.RAL_ADD_RECORDCATEGORY_FAILED
- For any unexpected error condition.RecordCategory addRecordCategory(java.lang.String classIdent, RMProperties props, java.util.List<RMPermission> perms, java.lang.String idStr)
RecordCategory
instance as an immediate child
of this container and saves it to the associated FilePlanRepository
.classIdent
- a String
identifier of the repository class to base the new instance on.props
- the RMProperties
collection to assign to the new instance.perms
- an optional RMPermission
collection to assign to the new instance.
This entry can be null
.idStr
- a String
Id value to be assigned to the new instance.
This parameter can be null
in which case an Id value
will be automatically generated for the new instance.RecordCategory
instance.API_PARENT_CONTAINER_ISCLOSED
- If this container is currently closed.API_CANNOT_CONTAIN_CHILDTYPE
- If this container is not currently allowed to contain a RecordCategory
.API_MISSING_REQUIRED_PROP_VALUE
- If a required property has not been provided.API_NON_UNIQUE_CONTAINER_PROP_VALUE
- If either the supplied "Record Category Name" or "Record Category Identifier" property value is not unique within the parent container.RAL_ADD_RECORDCATEGORY_FAILED
- For any unexpected error condition.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.