Package com.redwood.scheduler.api.model
Interface SubjectGlobalPrivilegeGrant
- 
- All Superinterfaces:
- BusinessKeyObject,- Readable,- Root,- SchedulerEntity,- SchedulerEntityComp,- SubjectGrant
 
 public interface SubjectGlobalPrivilegeGrant extends SubjectGrant, BusinessKeyObject, Readable A mapping of which global privileges a subject has been granted. By default, a grant will be at the system level.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "SubjectGlobalPrivilegeGrant" objects.static QueryObjectType<SubjectGlobalPrivilegeGrant>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 GlobalPrivilegegetGrantedGlobalPrivilege()Get the GrantedGlobalPrivilege.booleanisGrantable()Get the value for Grantable.voidsetGrantable(boolean newGrantable)Set the value for Grantable.voidsetGrantedGlobalPrivilege(GlobalPrivilege newGrantedGlobalPrivilege)Set the value for GrantedGlobalPrivilege.- 
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
 
- 
 
- 
- 
- 
Field Detail- 
OBJECT_TYPEstatic final String OBJECT_TYPE String that will be returned fromSchedulerEntity.getObjectType()for "SubjectGlobalPrivilegeGrant" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<SubjectGlobalPrivilegeGrant> TYPE Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
 
- 
 - 
Method Detail- 
isGrantableboolean isGrantable() Get the value for Grantable. (Whether this privilege is grantable to other subjects.)- 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.
 
 - 
setGrantablevoid setGrantable(boolean newGrantable) Set the value for Grantable. (Whether this privilege is grantable to other subjects.)- Parameters:
- newGrantable- the new value for Grantable.
- 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.
 
 - 
getGrantedGlobalPrivilegeGlobalPrivilege getGrantedGlobalPrivilege() Get the GrantedGlobalPrivilege.- Returns:
- GrantedGlobalPrivilege
- 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.
 
 - 
setGrantedGlobalPrivilegevoid setGrantedGlobalPrivilege(GlobalPrivilege newGrantedGlobalPrivilege) Set the value for GrantedGlobalPrivilege. This value is mandatory.- Parameters:
- newGrantedGlobalPrivilege- is the object to set GrantedGlobalPrivilege to. Grant a global privilege to a subject. If this is- null, then the object cannot be persisted.
 
 
- 
 
-