com.ibm.jarm.api.core

Class RMFactory.ContentItem

  • java.lang.Object
    • com.ibm.jarm.api.core.RMFactory.ContentItem
  • Enclosing class:
    RMFactory


    public static class RMFactory.ContentItem
    extends java.lang.Object
    Factory for ContentItem instances.
    • Method Detail

      • fetchInstance

        public static ContentItem fetchInstance(Repository repository,
                                java.lang.String contentIdent,
                                RMPropertyFilter filter)
        Retrieves a ContentItem from a repository.
        Parameters:
        repository - the Repository to retrieve from. This entry cannot be null.
        contentIdent - an ID String or full path String of the desired content item. This entry cannot be null.
        filter - An optional RMPropertyFilter defining which properties to retrieve. This entry can be null.
        Returns:
        A ContentItem instance.
      • getInstance

        public static ContentItem getInstance(ContentRepository repository,
                              java.lang.String contentIdent)
        Constructs a placeholder instance of a specific ContentItem. A placeholder instance can be used for performing updates, as a reference for an object-type property value, and for purposes of record declaration.
        Parameters:
        repository - the Repository that the content item is associated with. This entry cannot be null.
        contentIdent - an ID String or full path String of the desired content item. This entry cannot be null.
        Returns:
        A ContentItem instance.

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