public static class RMFactory.ContentItem
extends java.lang.Object
ContentItem
instances.Modifier and Type | Method and Description |
---|---|
static ContentItem |
fetchInstance(Repository repository,
java.lang.String contentIdent,
RMPropertyFilter filter)
Retrieves a
ContentItem from a repository. |
static ContentItem |
getInstance(ContentRepository repository,
java.lang.String contentIdent)
Constructs a placeholder instance of a specific
ContentItem . |
public static ContentItem fetchInstance(Repository repository, java.lang.String contentIdent, RMPropertyFilter filter)
ContentItem
from a repository.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
.ContentItem
instance.public static ContentItem getInstance(ContentRepository repository, java.lang.String contentIdent)
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.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
.ContentItem
instance.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.