Package com.redwood.scheduler.api.model
Interface Subject
- 
- All Superinterfaces:
- BusinessKeyObject,- Readable,- Root,- SchedulerEntity,- SchedulerEntityComp,- SubjectComp
 
 public interface Subject extends SubjectComp, Root, BusinessKeyObject, Readable The list of subjects of security decisions.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "Subject" objects.static StringSEC_RANK_ALLThis rank is made of the following privileges:static StringSEC_RANK_NONEThis rank has no privileges assigned to it.static StringSYSTEM_USERThe name of the System user.static QueryObjectType<Subject>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 voidactivateUser()Activate this user so that they can log in.SubjectIsolationGroupcreateSubjectIsolationGroup(IsolationGroup newIsolationGroup)Create a newSubjectIsolationGrouplinked to this object.voiddeactivateUser()Deactivate this user so that they can no longer log in.voiddisableUser()Disables (deletes, but we keep copy) the user permanently.SubjectGlobalPrivilegeGrantgetAssignedSubjectGlobalPrivilegeGrantByGrantedGlobalPrivilege(GlobalPrivilege grantedGlobalPrivilege)Get the SubjectGlobalPrivilegeGrant by SubjectGlobalPrivilegeLevelGrant.RWIterable<SubjectGlobalPrivilegeGrant>getAssignedSubjectGlobalPrivilegeGrants()Get anRWIterableover an ordered collection ofAssignedSubjectGlobalPrivilegeGrants.SubjectObjectPrivilegeGrantgetAssignedSubjectObjectPrivilegeGrantByObjectDefinitionObjectUniqueId(ObjectDefinition objectDefinition, Long objectUniqueId)Get the SubjectObjectPrivilegeGrant by SubjectSchedulerEntity.RWIterable<SubjectObjectPrivilegeGrant>getAssignedSubjectObjectPrivilegeGrants()Get anRWIterableover an ordered collection ofAssignedSubjectObjectPrivilegeGrants.SubjectObjectTypePrivilegeGrantgetAssignedSubjectObjectTypePrivilegeGrantByObjectDefinitionLevelPartitionOrIsolationGroupUniqueId(ObjectDefinition objectDefinition, GrantLevel level, Long partitionOrIsolationGroupUniqueId)Get the SubjectObjectTypePrivilegeGrant by SubjectObjectTypeLevelGrant.RWIterable<SubjectObjectTypePrivilegeGrant>getAssignedSubjectObjectTypePrivilegeGrants()Get anRWIterableover an ordered collection ofAssignedSubjectObjectTypePrivilegeGrants.SubjectRoleGrantgetAssignedSubjectRoleGrantByGrantedSubject(Subject grantedSubject)Get the SubjectRoleGrant by SubjectGrants.RWIterable<SubjectRoleGrant>getAssignedSubjectRoleGrants()Get anRWIterableover an ordered collection ofAssignedSubjectRoleGrants.SubjectRoleGrantgetAssignedToSubjectRoleGrantByGranteeSubject(Subject granteeSubject)Get the SubjectRoleGrant by SubjectGrants.RWIterable<SubjectRoleGrant>getAssignedToSubjectRoleGrants()Get anRWIterableover an ordered collection ofAssignedToSubjectRoleGrants.StringgetComment()Get the value for Comment.StringgetDescription()Get the value for Description.StringgetEmail()Get the value for Email.LonggetMaxAttachmentSize()Get the value for MaxAttachmentSize.StringgetName()Get the value for Name.NotificationTypegetNotificationType()Get the value for NotificationType.RWIterable<OperatorMessage>getOperatorMessages()Get anRWIterableover an ordered collection ofOperatorMessages.RWIterable<ProcessMonitorLog>getProcessMonitorLogs()Get anRWIterableover an ordered collection ofProcessMonitorLogs.SubjectgetProxySubject()Get the ProxySubject.DateTimeZonegetProxySubjectEndDate()Get the value for ProxySubjectEndDate.DateTimeZonegetProxySubjectStartDate()Get the value for ProxySubjectStartDate.StringgetRemoteName()Get the value for RemoteName.StringgetSearchDescription()Get the value for SearchDescription.StringgetSearchEmail()Get the value for SearchEmail.StringgetSearchName()Get the value for SearchName.SubjectIsolationGroupgetSubjectIsolationGroupByIsolationGroup(IsolationGroup isolationGroup)Get the SubjectIsolationGroup by SubjectIsolationGroup.RWIterable<SubjectIsolationGroup>getSubjectIsolationGroups()Get anRWIterableover an ordered collection ofSubjectIsolationGroups.SubjectTypegetType()Get the value for Type.booleanisActive()Get the value for Active.booleanisDisabled()Get the value for Disabled.booleanisGrantable()Get the value for Grantable.booleanisGrantToable()Get the value for GrantToable.booleanisScreenReader()Get the value for ScreenReader.booleanisSuperReader()Get the value for SuperReader.voidreenableUser()Reenable a user after it has been disabled.voidsetActive(boolean newActive)Set the value for Active.voidsetComment(String newComment)Set the value for Comment.voidsetDescription(String newDescription)Set the value for Description.voidsetEmail(String newEmail)Set the value for Email.voidsetMaxAttachmentSize(Long newMaxAttachmentSize)Set the value for MaxAttachmentSize.voidsetName(String newName)Set the value for Name.voidsetNotificationType(NotificationType newNotificationType)Set the value for NotificationType.voidsetProxySubject(Subject newProxySubject)Set the value for ProxySubject.voidsetProxySubjectEndDate(DateTimeZone newProxySubjectEndDate)Set the value for ProxySubjectEndDate.voidsetProxySubjectStartDate(DateTimeZone newProxySubjectStartDate)Set the value for ProxySubjectStartDate.voidsetRemoteName(String newRemoteName)Set the value for RemoteName.voidsetScreenReader(boolean newScreenReader)Set the value for ScreenReader.voidsetType(SubjectType newType)Set the value for Type.- 
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
 
- 
 
- 
- 
- 
Field Detail- 
OBJECT_TYPEstatic final String OBJECT_TYPE String that will be returned fromSchedulerEntity.getObjectType()for "Subject" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<Subject> TYPE Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
 - 
SYSTEM_USERstatic final String SYSTEM_USER The name of the System user.- See Also:
- Constant Field Values
 
 - 
SEC_RANK_NONEstatic final String SEC_RANK_NONE This rank has no privileges assigned to it.- See Also:
- Constant Field Values
 
 - 
SEC_RANK_ALLstatic final String SEC_RANK_ALL This rank is made of the following privileges:- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
isActiveboolean isActive() Get the value for Active. (This field is only valid when the Subject is of type User, and in that case indicates whether or not this user is valid.)- 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.
 
 - 
getCommentString getComment() Get the value for Comment. (Optional comment)- 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.
 
 - 
getDescriptionString getDescription() Get the value for Description. (Optional description)- 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.
 
 - 
getSearchDescriptionString getSearchDescription() Get the value for SearchDescription. (Optional description used to search on)- 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.
 
 - 
isDisabledboolean isDisabled() Get the value for Disabled. (This field is only valid when the Subject is of type User, and in that case indicates whether or not this user is disabled (deleted for us). Once disabled the user is deleted for us, and cannot be enabled again.)- 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.
 
 - 
getNameString getName() Get the value for Name. (The unique name of this object) 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.
 
 - 
isGrantableboolean isGrantable() Get the value for Grantable. (Can this subject be granted 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.
 
 - 
isGrantToableboolean isGrantToable() Get the value for GrantToable. (Can this subject be granted 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.
 
 - 
getRemoteNameString getRemoteName() Get the value for RemoteName. (A way of uniquely identifying this Subject on the Remote Authentication system.)- 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.
 
 - 
getSearchNameString getSearchName() Get the value for SearchName. (The name of this object, normalized to allow for convenient database searching.) 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.
 
 - 
isScreenReaderboolean isScreenReader() Get the value for ScreenReader. (Indicates whether this subject uses a screen-reader.)- 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.
 
 - 
isSuperReaderboolean isSuperReader() Get the value for SuperReader. (Whether this subject is a super-reader 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.
 
 - 
getTypeSubjectType getType() Get the value for Type. (What type of Subject does this Subject represent?) 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.
 
 - 
getEmailString getEmail() Get the value for Email. (Email address for notifications.)- 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.
 
 - 
getSearchEmailString getSearchEmail() Get the value for SearchEmail. (Search case of Email field.)- 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.
 
 - 
getNotificationTypeNotificationType getNotificationType() Get the value for NotificationType. (The type of notifications this user receives.) 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.
 
 - 
getMaxAttachmentSizeLong getMaxAttachmentSize() Get the value for MaxAttachmentSize. (The maximum size of attachments to emails.)- 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.
 
 - 
getProxySubjectStartDateDateTimeZone getProxySubjectStartDate() Get the value for ProxySubjectStartDate. (The start date for the out of office (ProxySubject) of this user.)- 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.
 
 - 
getProxySubjectEndDateDateTimeZone getProxySubjectEndDate() Get the value for ProxySubjectEndDate. (The end date (inclusive) for the out of office (ProxySubject) of this user.)- 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.
 
 - 
setActivevoid setActive(boolean newActive) Set the value for Active. (This field is only valid when the Subject is of type User, and in that case indicates whether or not this user is valid.)- Parameters:
- newActive- the new value for Active.
- 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.
 
 - 
setCommentvoid setComment(String newComment) Set the value for Comment. (Optional comment) This value is optional.- Parameters:
- newComment- the new value for Comment.
- 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.
 
 - 
setDescriptionvoid setDescription(String newDescription) Set the value for Description. (Optional description) This value is optional.- Parameters:
- newDescription- the new value for Description.
- 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.
 
 - 
setNamevoid setName(String newName) Set the value for Name. (The unique name of this object) This value is mandatory.- Parameters:
- newName- the new value for Name. 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.
 
 - 
setRemoteNamevoid setRemoteName(String newRemoteName) Set the value for RemoteName. (A way of uniquely identifying this Subject on the Remote Authentication system.) This value is optional.- Parameters:
- newRemoteName- the new value for RemoteName.
- 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.
 
 - 
setScreenReadervoid setScreenReader(boolean newScreenReader) Set the value for ScreenReader. (Indicates whether this subject uses a screen-reader.)- Parameters:
- newScreenReader- the new value for ScreenReader.
- 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.
 
 - 
setTypevoid setType(SubjectType newType) Set the value for Type. (What type of Subject does this Subject represent?) This value is mandatory.- Parameters:
- newType- the new value for Type. 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.
 
 - 
setEmailvoid setEmail(String newEmail) Set the value for Email. (Email address for notifications.) This value is optional.- Parameters:
- newEmail- the new value for Email.
- 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.
 
 - 
setNotificationTypevoid setNotificationType(NotificationType newNotificationType) Set the value for NotificationType. (The type of notifications this user receives.) This value is mandatory.- Parameters:
- newNotificationType- the new value for NotificationType. 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.
 
 - 
setMaxAttachmentSizevoid setMaxAttachmentSize(Long newMaxAttachmentSize) Set the value for MaxAttachmentSize. (The maximum size of attachments to emails.) This value is optional.- Parameters:
- newMaxAttachmentSize- the new value for MaxAttachmentSize.
- 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.
 
 - 
setProxySubjectStartDatevoid setProxySubjectStartDate(DateTimeZone newProxySubjectStartDate) Set the value for ProxySubjectStartDate. (The start date for the out of office (ProxySubject) of this user.) This value is optional.- Parameters:
- newProxySubjectStartDate- the new value for ProxySubjectStartDate.
- 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.
 
 - 
setProxySubjectEndDatevoid setProxySubjectEndDate(DateTimeZone newProxySubjectEndDate) Set the value for ProxySubjectEndDate. (The end date (inclusive) for the out of office (ProxySubject) of this user.) This value is optional.- Parameters:
- newProxySubjectEndDate- the new value for ProxySubjectEndDate.
- 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.
 
 - 
deactivateUservoid deactivateUser() Deactivate this user so that they can no longer log in.
 - 
activateUservoid activateUser() Activate this user so that they can log in.
 - 
reenableUservoid reenableUser() Reenable a user after it has been disabled.
 - 
disableUservoid disableUser() Disables (deletes, but we keep copy) the user permanently.
 - 
getProxySubjectSubject getProxySubject() Get the ProxySubject.- Returns:
- ProxySubject
- 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.
 
 - 
setProxySubjectvoid setProxySubject(Subject newProxySubject) Set the value for ProxySubject. This value is optional.- Parameters:
- newProxySubject- is the object to set ProxySubject to. The proxy subject for a subject.
 
 - 
getOperatorMessagesRWIterable<OperatorMessage> getOperatorMessages() Get anRWIterableover an ordered collection ofOperatorMessages. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. What type of object raised this operator message?- Specified by:
- getOperatorMessagesin interface- SubjectComp
- Returns:
- An RWIterableover an ordered collection ofOperatorMessageobjects .
 
 - 
getProcessMonitorLogsRWIterable<ProcessMonitorLog> getProcessMonitorLogs() Get anRWIterableover an ordered collection ofProcessMonitorLogs. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. Who replied to this User Message- Specified by:
- getProcessMonitorLogsin interface- SubjectComp
- Returns:
- An RWIterableover an ordered collection ofProcessMonitorLogobjects .
 
 - 
getAssignedSubjectGlobalPrivilegeGrantsRWIterable<SubjectGlobalPrivilegeGrant> getAssignedSubjectGlobalPrivilegeGrants() Get anRWIterableover an ordered collection ofAssignedSubjectGlobalPrivilegeGrants. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. Which Subject was granted the Granted Subject. This Subject must have GrantToable==true.- Specified by:
- getAssignedSubjectGlobalPrivilegeGrantsin interface- SubjectComp
- Returns:
- An RWIterableover an ordered collection ofSubjectGlobalPrivilegeGrantobjects .
 
 - 
getAssignedSubjectGlobalPrivilegeGrantByGrantedGlobalPrivilegeSubjectGlobalPrivilegeGrant getAssignedSubjectGlobalPrivilegeGrantByGrantedGlobalPrivilege(GlobalPrivilege grantedGlobalPrivilege) Get the SubjectGlobalPrivilegeGrant by SubjectGlobalPrivilegeLevelGrant.- Parameters:
- grantedGlobalPrivilege-
- Returns:
- the SubjectGlobalPrivilegeGrant, or nullif it could not be found
 
 - 
getAssignedSubjectRoleGrantsRWIterable<SubjectRoleGrant> getAssignedSubjectRoleGrants() Get anRWIterableover an ordered collection ofAssignedSubjectRoleGrants. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. Which Subject was granted the Granted Subject. This Subject must have GrantToable==true.- Specified by:
- getAssignedSubjectRoleGrantsin interface- SubjectComp
- Returns:
- An RWIterableover an ordered collection ofSubjectRoleGrantobjects .
 
 - 
getAssignedSubjectRoleGrantByGrantedSubjectSubjectRoleGrant getAssignedSubjectRoleGrantByGrantedSubject(Subject grantedSubject) Get the SubjectRoleGrant by SubjectGrants.- Parameters:
- grantedSubject-
- Returns:
- the SubjectRoleGrant, or nullif it could not be found
 
 - 
getAssignedSubjectObjectPrivilegeGrantsRWIterable<SubjectObjectPrivilegeGrant> getAssignedSubjectObjectPrivilegeGrants() Get anRWIterableover an ordered collection ofAssignedSubjectObjectPrivilegeGrants. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. Which Subject was granted the Granted Subject. This Subject must have GrantToable==true.- Specified by:
- getAssignedSubjectObjectPrivilegeGrantsin interface- SubjectComp
- Returns:
- An RWIterableover an ordered collection ofSubjectObjectPrivilegeGrantobjects .
 
 - 
getAssignedSubjectObjectPrivilegeGrantByObjectDefinitionObjectUniqueIdSubjectObjectPrivilegeGrant getAssignedSubjectObjectPrivilegeGrantByObjectDefinitionObjectUniqueId(ObjectDefinition objectDefinition, Long objectUniqueId) Get the SubjectObjectPrivilegeGrant by SubjectSchedulerEntity.- Parameters:
- objectDefinition-
- objectUniqueId-
- Returns:
- the SubjectObjectPrivilegeGrant, or nullif it could not be found
 
 - 
getAssignedSubjectObjectTypePrivilegeGrantsRWIterable<SubjectObjectTypePrivilegeGrant> getAssignedSubjectObjectTypePrivilegeGrants() Get anRWIterableover an ordered collection ofAssignedSubjectObjectTypePrivilegeGrants. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. Which Subject was granted the Granted Subject. This Subject must have GrantToable==true.- Specified by:
- getAssignedSubjectObjectTypePrivilegeGrantsin interface- SubjectComp
- Returns:
- An RWIterableover an ordered collection ofSubjectObjectTypePrivilegeGrantobjects .
 
 - 
getAssignedSubjectObjectTypePrivilegeGrantByObjectDefinitionLevelPartitionOrIsolationGroupUniqueIdSubjectObjectTypePrivilegeGrant getAssignedSubjectObjectTypePrivilegeGrantByObjectDefinitionLevelPartitionOrIsolationGroupUniqueId(ObjectDefinition objectDefinition, GrantLevel level, Long partitionOrIsolationGroupUniqueId) Get the SubjectObjectTypePrivilegeGrant by SubjectObjectTypeLevelGrant.- Parameters:
- objectDefinition-
- level-
- partitionOrIsolationGroupUniqueId-
- Returns:
- the SubjectObjectTypePrivilegeGrant, or nullif it could not be found
 
 - 
getSubjectIsolationGroupsRWIterable<SubjectIsolationGroup> getSubjectIsolationGroups() Get anRWIterableover an ordered collection ofSubjectIsolationGroups. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. The isolation-groups that a subject belongs to.- Specified by:
- getSubjectIsolationGroupsin interface- SubjectComp
- Returns:
- An RWIterableover an ordered collection ofSubjectIsolationGroupobjects .
 
 - 
createSubjectIsolationGroupSubjectIsolationGroup createSubjectIsolationGroup(IsolationGroup newIsolationGroup) Create a newSubjectIsolationGrouplinked to this object.- Parameters:
- newIsolationGroup- The other parent of the- SubjectIsolationGroupIsolationGroupassociation.
- Returns:
- a new SubjectIsolationGroup.
 
 - 
getSubjectIsolationGroupByIsolationGroupSubjectIsolationGroup getSubjectIsolationGroupByIsolationGroup(IsolationGroup isolationGroup) Get the SubjectIsolationGroup by SubjectIsolationGroup.- Parameters:
- isolationGroup-
- Returns:
- the SubjectIsolationGroup, or nullif it could not be found
 
 - 
getAssignedToSubjectRoleGrantsRWIterable<SubjectRoleGrant> getAssignedToSubjectRoleGrants() Get anRWIterableover an ordered collection ofAssignedToSubjectRoleGrants. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. Which Subject was granted to the Grantee Subject. This Subject must have Grantable==true.- Specified by:
- getAssignedToSubjectRoleGrantsin interface- SubjectComp
- Returns:
- An RWIterableover an ordered collection ofSubjectRoleGrantobjects .
 
 - 
getAssignedToSubjectRoleGrantByGranteeSubjectSubjectRoleGrant getAssignedToSubjectRoleGrantByGranteeSubject(Subject granteeSubject) Get the SubjectRoleGrant by SubjectGrants.- Parameters:
- granteeSubject-
- Returns:
- the SubjectRoleGrant, or nullif it could not be found
 
 
- 
 
-