public interface ContentItem extends BaseEntity
A specific content item can be obtained using the RMFactory.ContentItem
factory class.
RMFactory.ContentItem
Modifier and Type | Method and Description |
---|---|
void |
delete()
Deletes this content item, including all content elements and metadata, from the repository.
|
void |
deleteAllVersions()
Deletes all members of the version series that this content item belongs to.
|
void |
exportAsXML(java.lang.String exportFileSystemPath,
ContentXMLExport contentExportOption)
Exports the metadata and content data of this content entity as XML file(s) in the local file system.
|
Record |
getAssociatedRecord()
Returns the
Record instance, if any, that this content entity is associated with
due to a previous record declaration operation. |
java.util.List<RMContentElement> |
getContentElements()
Returns a collection of
RMContentElement instances belonging to this content item. |
java.lang.String |
getMimeType()
Returns the
MimeType property value associated with a content item. |
boolean |
isEligibleForDeclaration()
Indicates whether or not this content item is currently eligible for record declaration.
|
getAccessAllowed, getClassDescription, getClassName, getClientIdentifier, getContainedBy, getDomainType, getEntityType, getName, getObjectIdentity, getPermissions, getProperties, getRepository, isCreationPending, isPlaceholder, refresh, refresh, refresh
Record getAssociatedRecord()
Record
instance, if any, that this content entity is associated with
due to a previous record declaration operation.Record
instance or null
if no such association exists.java.lang.String getMimeType()
MimeType
property value associated with a content item.String
value. This entry can be null
.java.util.List<RMContentElement> getContentElements()
RMContentElement
instances belonging to this content item.List
of RMContentElement
instances. This entry can be empty.boolean isEligibleForDeclaration()
true
if this content item is eligible for record declaration, false
otherwise.void exportAsXML(java.lang.String exportFileSystemPath, ContentXMLExport contentExportOption)
exportFileSystemPath
- a required path String
that defines a local file system directory where all
generated export files are written.contentExportOption
- a ContentXMLExport
enum value that controls whether
content data is embedded in the metadata XML output or
content data is output as separate files.void delete()
void deleteAllVersions()
© Copyright IBM Corp. 2010, 2013. All Rights Reserved.