public static class RMFactory.RMCustomObject
extends java.lang.Object
RMCustomObject
instances.Modifier and Type | Method and Description |
---|---|
static RMCustomObject |
createInstance(FilePlanRepository repository)
Creates a
RMCustomObject instance that
is associated with the given Repository . |
static RMCustomObject |
createInstance(FilePlanRepository repository,
java.lang.String idStr)
Creates a
RMCustomObject instance that
is associated with the given Repository . |
static RMCustomObject |
fetchInstance(Repository repository,
EntityType entityType,
java.lang.String objId,
RMPropertyFilter filter)
Retrieves a
RMCustomObject from a repository. |
static RMCustomObject |
fetchInstance(Repository repository,
java.lang.String objId,
RMPropertyFilter filter)
Retrieves a
RMCustomObject from a repository. |
static RMCustomObject |
getInstance(Repository repository,
java.lang.String objId)
Constructs a placeholder instance of the specified RMCustomObject object.
|
public static RMCustomObject fetchInstance(Repository repository, java.lang.String objId, RMPropertyFilter filter)
RMCustomObject
from a repository.repository
- the Repository
to retrieve from.
This entry cannot be null
.objId
- the ID String
of the desired custom object.
This entry cannot be null
or blank.filter
- An optional RMPropertyFilter
defining
which properties to retrieve.
This entry can be null
.RMCustomObject
instance.public static RMCustomObject fetchInstance(Repository repository, EntityType entityType, java.lang.String objId, RMPropertyFilter filter)
RMCustomObject
from a repository.repository
- the Repository
to retrieve from.
This entry cannot be null
.entityType
- the EntityType
of the desired custom object.
This entry cannot be null
.objId
- the ID String
of the desired custom object.
This entry cannot be null
or blank.filter
- An optional RMPropertyFilter
defining
which properties to retrieve.
This entry can be null
.RMCustomObject
subclass instance.public static RMCustomObject getInstance(Repository repository, java.lang.String objId)
repository
- the Repository
that the custom object is associated with.
This entry cannot be null
.objId
- the ID String
of the desired custom object.
This entry cannot be null
or blank.RMCustomObject
instance.public static RMCustomObject createInstance(FilePlanRepository repository)
RMCustomObject
instance that
is associated with the given Repository
.
This new instance can then be further defined using its RMProperties
collection and saved using its save
method.
For this createInstance
method version, an Id value will be
automatically generated for the new instance.
repository
- The Repository
to associate
the new instance with and eventually save to.RMCustomObject
instance.public static RMCustomObject createInstance(FilePlanRepository repository, java.lang.String idStr)
RMCustomObject
instance that
is associated with the given Repository
.
This new instance can then be further defined using its RMProperties
collection and saved using its save
method.
This createInstance
method version allows the caller to optionally
specify an Id value to assign the the new instance.
repository
- The Repository
to associate
the new instance with and eventually save to.idStr
- a String
Id value to be assigned to the new instance.
This parameter can be null
in which case an Id value
will be automatically generated for the new instance.RMCustomObject
instance.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.