Package com.redwood.scheduler.api.model
Interface SubjectObjectPrivilegeGrant
- 
- All Superinterfaces:
- BusinessKeyObject,- Readable,- Root,- SchedulerEntity,- SchedulerEntityComp,- SubjectGrant,- SubjectPrivilegeGrant
 
 public interface SubjectObjectPrivilegeGrant extends SubjectPrivilegeGrant, BusinessKeyObject, Readable A mapping of which privileges on an object have been granted to which subject.
- 
- 
Field SummaryFields Modifier and Type Field Description static LongBEHAVIOR_AUTOMATICGrant corresponds to an automatic grant.static LongBEHAVIOR_CREATORGrant corresponds to the creator of the object.static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "SubjectObjectPrivilegeGrant" objects.static QueryObjectType<SubjectObjectPrivilegeGrant>TYPEType that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).- 
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntityACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description SchedulerEntitygetSchedulerEntity()Get the value for SchedulerEntity.voidsetSchedulerEntity(SchedulerEntity newSchedulerEntity)Set the value for SchedulerEntity.- 
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObjectgetBusinessKey
 - 
Methods inherited from interface com.redwood.scheduler.api.model.RootgetCreationTime, getLastModificationTime, getLastModifierSubject
 - 
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntitycanPerform, 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
 - 
Methods inherited from interface com.redwood.scheduler.api.model.SubjectGrantgetGranteeSubject, getGrantorSubject, isExportable, setExportable, setGranteeSubject
 - 
Methods inherited from interface com.redwood.scheduler.api.model.SubjectPrivilegeGrantgetAllGrantLevels, getAllowedPrivileges, getAllPrivileges, getAllRanks, getGrantableRank, getGrantedRank, getObjectDefinition, isPrivilegeGrantable, isPrivilegeGranted, setGrantableRank, setGrantableRank, setGrantedRank, setGrantedRank, setObjectDefinition, setPrivilegeGrantable, setPrivilegeGrantable, setPrivilegeGranted, setPrivilegeGranted
 
- 
 
- 
- 
- 
Field Detail- 
OBJECT_TYPEstatic final String OBJECT_TYPE String that will be returned fromSchedulerEntity.getObjectType()for "SubjectObjectPrivilegeGrant" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<SubjectObjectPrivilegeGrant> TYPE Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
 - 
BEHAVIOR_CREATORstatic final Long BEHAVIOR_CREATOR Grant corresponds to the creator of the object.
 - 
BEHAVIOR_AUTOMATICstatic final Long BEHAVIOR_AUTOMATIC Grant corresponds to an automatic grant.
 
- 
 - 
Method Detail- 
getSchedulerEntitySchedulerEntity getSchedulerEntity() Get the value for SchedulerEntity. (The object to which this grant applies.) This value is mandatory, and therefore will not benullif 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.
 
 - 
setSchedulerEntityvoid setSchedulerEntity(SchedulerEntity newSchedulerEntity) Set the value for SchedulerEntity. (The object to which this grant applies.) This value is mandatory.- Parameters:
- newSchedulerEntity- the new value for SchedulerEntity. If this is- null, then the object cannot be persisted.
- 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.
 
 
- 
 
-