com.ibm.jarm.api.core

Interface ContentItem

    • Method Detail

      • getAssociatedRecord

        Record getAssociatedRecord()
        Returns the Record instance, if any, that this content entity is associated with due to a previous record declaration operation.
        Returns:
        A Record instance or null if no such association exists.
      • getMimeType

        java.lang.String getMimeType()
        Returns the MimeType property value associated with a content item.
        Returns:
        A String value. This entry can be null.
      • isEligibleForDeclaration

        boolean isEligibleForDeclaration()
        Indicates whether or not this content item is currently eligible for record declaration.
        Returns:
        true if this content item is eligible for record declaration, false otherwise.
      • exportAsXML

        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.
        Parameters:
        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.
      • delete

        void delete()
        Deletes this content item, including all content elements and metadata, from the repository.
      • deleteAllVersions

        void deleteAllVersions()
        Deletes all members of the version series that this content item belongs to.

© Copyright IBM Corp. 2010, 2013. All Rights Reserved.