Package com.redwood.scheduler.api.model
Interface SubjectGrant
- 
- All Superinterfaces:
- Root,- SchedulerEntity,- SchedulerEntityComp
 - All Known Subinterfaces:
- SubjectGlobalPrivilegeGrant,- SubjectObjectPrivilegeGrant,- SubjectObjectTypePrivilegeGrant,- SubjectPrivilegeGrant,- SubjectRoleGrant
 
 public interface SubjectGrant extends Root Common base-class for the privileges and roles that are assigned to a subject.
- 
- 
Field Summary- 
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 SubjectgetGranteeSubject()Get the GranteeSubject.SubjectgetGrantorSubject()Get the GrantorSubject.booleanisExportable()Get the value for Exportable.voidsetExportable(boolean newExportable)Set the value for Exportable.voidsetGranteeSubject(Subject newGranteeSubject)Set the value for GranteeSubject.- 
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
 
- 
 
- 
- 
- 
Method Detail- 
isExportableboolean isExportable() Get the value for Exportable. (Whether this grant is exportable or not.)- 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.
 
 - 
setExportablevoid setExportable(boolean newExportable) Set the value for Exportable. (Whether this grant is exportable or not.)- Parameters:
- newExportable- the new value for Exportable.
- 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.
 
 - 
getGrantorSubjectSubject getGrantorSubject() Get the GrantorSubject.- Returns:
- GrantorSubject
- 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.
 
 - 
getGranteeSubjectSubject getGranteeSubject() Get the GranteeSubject.- Returns:
- GranteeSubject
- 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.
 
 - 
setGranteeSubjectvoid setGranteeSubject(Subject newGranteeSubject) Set the value for GranteeSubject. This value is mandatory.- Parameters:
- newGranteeSubject- is the object to set GranteeSubject to. Which Subject was granted the Granted Subject. This Subject must have GrantToable==true. If this is- null, then the object cannot be persisted.
 
 
- 
 
-