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