public static class RMFactory.DispositionAction
extends java.lang.Object
DispositionAction
instances.Modifier and Type | Method and Description |
---|---|
static DispositionAction |
createInstance(FilePlanRepository fpRepository,
DispositionActionType actionType)
Creates a
DispositionAction instance that
is associated with the given FilePlanRepository . |
static DispositionAction |
createInstance(FilePlanRepository fpRepository,
DispositionActionType actionType,
java.lang.String idStr)
Creates a
DispositionAction instance that
is associated with the given FilePlanRepository . |
static DispositionAction |
fetchInstance(FilePlanRepository fpRepository,
java.lang.String dispActionId,
RMPropertyFilter filter)
Retrieves a
DispositionAction from a file plan repository. |
static DispositionAction |
getInstance(FilePlanRepository fpRepository,
java.lang.String dispActionId)
Constructs a placeholder instance of the specified
DispositionAction object. |
public static DispositionAction fetchInstance(FilePlanRepository fpRepository, java.lang.String dispActionId, RMPropertyFilter filter)
DispositionAction
from a file plan repository.fpRepository
- the FilePlanRepository
to retrieve from.
This entry cannot be null
.dispActionId
- the ID String
of the desired disposition action.
This entry cannot be null
or blank.filter
- an optional RMPropertyFilter
defining
which properties to retrieve.
This entry can be null
.DispositionAction
instance.public static DispositionAction getInstance(FilePlanRepository fpRepository, java.lang.String dispActionId)
DispositionAction
object.fpRepository
- the FilePlanRepository
that the disposition action is associated with.
This entry cannot be null
.dispActionId
- the ID String
of the desired disposition action.
This entry cannot be null
or blank.DispositionAction
instance.public static DispositionAction createInstance(FilePlanRepository fpRepository, DispositionActionType actionType)
DispositionAction
instance that
is associated with the given FilePlanRepository
.
This new instance can then be further defined using its RMProperties
collection and persisted 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.actionType
- a DispositionActionType
value that defines the
type of DispositionAction
to create.DispositionAction
instance.public static DispositionAction createInstance(FilePlanRepository fpRepository, DispositionActionType actionType, java.lang.String idStr)
DispositionAction
instance that
is associated with the given FilePlanRepository
.
This new instance can then be further defined using its RMProperties
collection and persisted 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.actionType
- a DispositionActionType
value that defines the
type of DispositionAction
to create.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.DispositionAction
instance.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.