Modifier and Type | Method and Description |
---|---|
static Hold |
createInstance(FilePlanRepository fpRepository)
Creates a
Hold instance that
is associated with the given FilePlanRepository . |
static Hold |
createInstance(FilePlanRepository fpRepository,
java.lang.String idStr)
Creates a
Hold instance that
is associated with the given FilePlanRepository . |
static Hold |
fetchInstance(FilePlanRepository fpRepository,
java.lang.String holdId,
RMPropertyFilter filter)
Retrieves a specific
Hold from the specified file plan repository. |
static Hold |
getInstance(FilePlanRepository fpRepository,
java.lang.String holdId)
Constructs a placeholder instance of the specified Hold object.
|
public static Hold fetchInstance(FilePlanRepository fpRepository, java.lang.String holdId, RMPropertyFilter filter)
Hold
from the specified file plan repository.fpRepository
- the FilePlanRepository
to retrieve from.
This entry cannot be null
.holdId
- the ID String
of the desired hold.
This entry cannot be null
or blank.filter
- an optional RMPropertyFilter
defining
which properties to retrieve.
This entry can be null
.Hold
instance.public static Hold getInstance(FilePlanRepository fpRepository, java.lang.String holdId)
fpRepository
- the FilePlanRepository
that the hold is associated with.
This entry cannot be null
.holdId
- the ID String
of the desired hold.
This entry cannot be null
or blank.Hold
instance.public static Hold createInstance(FilePlanRepository fpRepository)
Hold
instance that
is associated with the given FilePlanRepository
.
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.
fpRepository
- the FilePlanRepository
to associate
the new instance with and eventually save to.Hold
instance.public static Hold createInstance(FilePlanRepository fpRepository, java.lang.String idStr)
Hold
instance that
is associated with the given FilePlanRepository
.
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.
fpRepository
- the FilePlanRepository
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.Hold
instance.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.