Modifier and Type | Method and Description |
---|---|
static Record |
fetchInstance(FilePlanRepository fpRepository,
java.lang.String recordIdent,
RMPropertyFilter filter)
Retrieves a
Record from a file plan repository. |
static Record |
getInstance(FilePlanRepository fpRepository,
java.lang.String recordIdent,
EntityType recordEntityType)
Constructs a placeholder instance of a specific
Record . |
public static Record fetchInstance(FilePlanRepository fpRepository, java.lang.String recordIdent, RMPropertyFilter filter)
Record
from a file plan repository.fpRepository
- the FilePlanRepository
to retrieve from.
This entry cannot be null
.recordIdent
- an ID String
or full path String
of the desired record.
This entry cannot be null
or blank.filter
- an optional RMPropertyFilter
defining
which properties to retrieve.
This entry can be null
.Record
instance.public static Record getInstance(FilePlanRepository fpRepository, java.lang.String recordIdent, EntityType recordEntityType)
Record
.
A placeholder instance can be used for performing updates and as a reference for
an object-type property value.fpRepository
- The repository that the record is associated with.
This entry cannot be null
.recordIdent
- ID or full path string of the desired record.
This entry cannot be null
or empty/blank.recordEntityType
- Expected entity type of the record.Record
instance.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.