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