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 Summary
Fields 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.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 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.BusinessKeyObject
getBusinessKey
-
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
-
OBJECT_TYPE
static final String OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()for "Subject" objects.- See Also:
- Constant Field Values
-
TYPE
static final QueryObjectType<Subject> TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
-
SYSTEM_USER
static final String SYSTEM_USER
The name of the System user.- See Also:
- Constant Field Values
-
SEC_RANK_NONE
static final String SEC_RANK_NONE
This rank has no privileges assigned to it.- See Also:
- Constant Field Values
-
SEC_RANK_ALL
static final String SEC_RANK_ALL
This rank is made of the following privileges:- See Also:
- Constant Field Values
-
-
Method Detail
-
isActive
boolean 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.
-
getComment
String 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.
-
getDescription
String 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.
-
getSearchDescription
String 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.
-
isDisabled
boolean 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.
-
getName
String 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.
-
isGrantable
boolean 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.
-
isGrantToable
boolean 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.
-
getRemoteName
String 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.
-
getSearchName
String 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.
-
isScreenReader
boolean 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.
-
isSuperReader
boolean 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.
-
getType
SubjectType 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.
-
getEmail
String 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.
-
getSearchEmail
String 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.
-
getNotificationType
NotificationType 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.
-
getMaxAttachmentSize
Long 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.
-
getProxySubjectStartDate
DateTimeZone 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.
-
getProxySubjectEndDate
DateTimeZone 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.
-
setActive
void 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.
-
setComment
void 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.
-
setDescription
void 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.
-
setName
void 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 isnull, 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.
-
setRemoteName
void 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.
-
setScreenReader
void 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.
-
setType
void 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 isnull, 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.
-
setEmail
void 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.
-
setNotificationType
void 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 isnull, 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.
-
setMaxAttachmentSize
void 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.
-
setProxySubjectStartDate
void 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.
-
setProxySubjectEndDate
void 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.
-
deactivateUser
void deactivateUser()
Deactivate this user so that they can no longer log in.
-
activateUser
void activateUser()
Activate this user so that they can log in.
-
reenableUser
void reenableUser()
Reenable a user after it has been disabled.
-
disableUser
void disableUser()
Disables (deletes, but we keep copy) the user permanently.
-
getProxySubject
Subject 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.
-
setProxySubject
void 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.
-
getOperatorMessages
RWIterable<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 interfaceSubjectComp- Returns:
- An
RWIterableover an ordered collection ofOperatorMessageobjects .
-
getProcessMonitorLogs
RWIterable<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 interfaceSubjectComp- Returns:
- An
RWIterableover an ordered collection ofProcessMonitorLogobjects .
-
getAssignedSubjectGlobalPrivilegeGrants
RWIterable<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 interfaceSubjectComp- Returns:
- An
RWIterableover an ordered collection ofSubjectGlobalPrivilegeGrantobjects .
-
getAssignedSubjectGlobalPrivilegeGrantByGrantedGlobalPrivilege
SubjectGlobalPrivilegeGrant getAssignedSubjectGlobalPrivilegeGrantByGrantedGlobalPrivilege(GlobalPrivilege grantedGlobalPrivilege)
Get the SubjectGlobalPrivilegeGrant by SubjectGlobalPrivilegeLevelGrant.- Parameters:
grantedGlobalPrivilege-- Returns:
- the SubjectGlobalPrivilegeGrant, or
nullif it could not be found
-
getAssignedSubjectRoleGrants
RWIterable<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 interfaceSubjectComp- Returns:
- An
RWIterableover an ordered collection ofSubjectRoleGrantobjects .
-
getAssignedSubjectRoleGrantByGrantedSubject
SubjectRoleGrant getAssignedSubjectRoleGrantByGrantedSubject(Subject grantedSubject)
Get the SubjectRoleGrant by SubjectGrants.- Parameters:
grantedSubject-- Returns:
- the SubjectRoleGrant, or
nullif it could not be found
-
getAssignedSubjectObjectPrivilegeGrants
RWIterable<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 interfaceSubjectComp- Returns:
- An
RWIterableover an ordered collection ofSubjectObjectPrivilegeGrantobjects .
-
getAssignedSubjectObjectPrivilegeGrantByObjectDefinitionObjectUniqueId
SubjectObjectPrivilegeGrant getAssignedSubjectObjectPrivilegeGrantByObjectDefinitionObjectUniqueId(ObjectDefinition objectDefinition, Long objectUniqueId)
Get the SubjectObjectPrivilegeGrant by SubjectSchedulerEntity.- Parameters:
objectDefinition-objectUniqueId-- Returns:
- the SubjectObjectPrivilegeGrant, or
nullif it could not be found
-
getAssignedSubjectObjectTypePrivilegeGrants
RWIterable<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 interfaceSubjectComp- Returns:
- An
RWIterableover an ordered collection ofSubjectObjectTypePrivilegeGrantobjects .
-
getAssignedSubjectObjectTypePrivilegeGrantByObjectDefinitionLevelPartitionOrIsolationGroupUniqueId
SubjectObjectTypePrivilegeGrant 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
-
getSubjectIsolationGroups
RWIterable<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 interfaceSubjectComp- Returns:
- An
RWIterableover an ordered collection ofSubjectIsolationGroupobjects .
-
createSubjectIsolationGroup
SubjectIsolationGroup createSubjectIsolationGroup(IsolationGroup newIsolationGroup)
Create a newSubjectIsolationGrouplinked to this object.- Parameters:
newIsolationGroup- The other parent of theSubjectIsolationGroupIsolationGroupassociation.- Returns:
- a new
SubjectIsolationGroup.
-
getSubjectIsolationGroupByIsolationGroup
SubjectIsolationGroup getSubjectIsolationGroupByIsolationGroup(IsolationGroup isolationGroup)
Get the SubjectIsolationGroup by SubjectIsolationGroup.- Parameters:
isolationGroup-- Returns:
- the SubjectIsolationGroup, or
nullif it could not be found
-
getAssignedToSubjectRoleGrants
RWIterable<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 interfaceSubjectComp- Returns:
- An
RWIterableover an ordered collection ofSubjectRoleGrantobjects .
-
getAssignedToSubjectRoleGrantByGranteeSubject
SubjectRoleGrant getAssignedToSubjectRoleGrantByGranteeSubject(Subject granteeSubject)
Get the SubjectRoleGrant by SubjectGrants.- Parameters:
granteeSubject-- Returns:
- the SubjectRoleGrant, or
nullif it could not be found
-
-