Package com.redwood.scheduler.api.model
Interface BranchedUniqueNamedApplicationObject
-
- All Superinterfaces:
ApplicationObject
,Branchable
,BusinessKeyObject
,NamedRootObject
,NamedRootObjectComp
,PartitionableObject
,PartitionableObjectComp
,Root
,SchedulerEntity
,SchedulerEntityComp
- All Known Subinterfaces:
JobDefinition
public interface BranchedUniqueNamedApplicationObject extends ApplicationObject, Branchable, BusinessKeyObject
Objects which can be branched, must have a unique name, and can belong to an Application.
-
-
Field Summary
Fields Modifier and Type Field Description static Long
MASTER
Sentinel value for the branched LLP version field to indicate the master version.-
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 DateTimeZone
getBranchedLastModificationTime()
Get the value for BranchedLastModificationTime.Long
getBranchedLLPVersion()
Get the value for BranchedLLPVersion.boolean
isCurrentNonMaster()
Get the value for CurrentNonMaster.boolean
isMasterVersion()
Get the value for MasterVersion.-
Methods inherited from interface com.redwood.scheduler.api.model.ApplicationObject
getParentApplication, setParentApplication
-
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObject
getBusinessKey
-
Methods inherited from interface com.redwood.scheduler.api.model.NamedRootObject
createObjectReference, getComment, getDescription, getLinkedObjectReferenceByLinkedObject, getLinkedObjectReferenceByName, getLinkedObjectReferences, getName, getSearchName, getSourceObjectReferences, isHidden, setComment, setDescription, setName
-
Methods inherited from interface com.redwood.scheduler.api.model.PartitionableObject
createObjectTag, getEditablePartitions, getObjectTagByObjectTagDefinition, getObjectTags, getPartition, setPartition
-
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
-
-
-
-
Field Detail
-
MASTER
static final Long MASTER
Sentinel value for the branched LLP version field to indicate the master version.
-
-
Method Detail
-
getBranchedLLPVersion
Long getBranchedLLPVersion()
Get the value for BranchedLLPVersion. (LLP version from which this object was created.) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getBranchedLastModificationTime
DateTimeZone getBranchedLastModificationTime()
Get the value for BranchedLastModificationTime. (Last modification time of the master definition when it was copied.)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isCurrentNonMaster
boolean isCurrentNonMaster()
Get the value for CurrentNonMaster. (Whether this object is a current non-master copy of the master.)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isMasterVersion
boolean isMasterVersion()
Get the value for MasterVersion. (Whether object is the master or not.)- Specified by:
isMasterVersion
in interfaceBranchable
- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
-