Package com.redwood.scheduler.api.model
Interface PartitionableRootObject
-
- All Superinterfaces:
Root
,SchedulerEntity
,SchedulerEntityComp
- All Known Subinterfaces:
Credential
,RestrictedSchedulerSessionSpecification
,UserMessage
public interface PartitionableRootObject extends Root
All unnamed partitionable objects Base class for objects that have a partition but not a name.
-
-
Field Summary
-
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
ACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Partition
getPartition()
Get the Partition.void
setPartition(Partition newPartition)
Set the value for Partition.-
Methods inherited from interface com.redwood.scheduler.api.model.Root
getCreationTime, getLastModificationTime, getLastModifierSubject
-
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
canPerform, createSubjectObjectPrivilegeGrant, deleteObject, getAuditTrail, getAuditTrailSize, getBehavior, getEffectiveBehavior, getErrorNameEN, getErrorNameKey, getLLPVersion, getLOV, getLOVSupport, getObjectType, getParentSchedulerEntities, getRuntime, getSubjectObjectPrivilegeGrantBySubject, getSubjectObjectPrivilegeGrants, getUniqueId, getUrl, getUrl, isCreated, isDeletable, isDeleted, isModifiable, isModified, isSelectVersioned, processRelatedObjects, processRelatedObjects, processRelatedObjects, refreshObject, resetObject, resetObject, resetValuesToDefault, selectForRead
-
-
-
-
Method Detail
-
getPartition
Partition getPartition()
Get the Partition.- Returns:
- Partition
- Throws:
com.redwood.scheduler.api.exception.ObjectDeletedException
- If this method is called when the object has been marked for deletion.com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- If this method is called when the object has been removed from it's session.
-
setPartition
void setPartition(Partition newPartition)
Set the value for Partition. This value is mandatory.- Parameters:
newPartition
- is the object to set Partition to. The objects in this partition. If this isnull
, then the object cannot be persisted.
-
-