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 String
OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "Subject" objects.static String
SEC_RANK_ALL
This rank is made of the following privileges:static String
SEC_RANK_NONE
This rank has no privileges assigned to it.static String
SYSTEM_USER
The name of the System user.static QueryObjectType<Subject>
TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.-
Fields inherited from interface com.redwood.scheduler.api.model.BusinessKeyObject
COPYRIGHT_MESSAGE_BKO, ID_BKO
-
Fields inherited from interface com.redwood.scheduler.api.model.Readable
COPYRIGHT_MESSAGE_E, ID_E
-
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 void
activateUser()
Activate this user so that they can log in.SubjectIsolationGroup
createSubjectIsolationGroup(IsolationGroup newIsolationGroup)
Create a newSubjectIsolationGroup
linked to this object.void
deactivateUser()
Deactivate this user so that they can no longer log in.void
disableUser()
Disables (deletes, but we keep copy) the user permanently.SubjectGlobalPrivilegeGrant
getAssignedSubjectGlobalPrivilegeGrantByGrantedGlobalPrivilege(GlobalPrivilege grantedGlobalPrivilege)
Get the SubjectGlobalPrivilegeGrant by SubjectGlobalPrivilegeLevelGrant.RWIterable<SubjectGlobalPrivilegeGrant>
getAssignedSubjectGlobalPrivilegeGrants()
Get anRWIterable
over an ordered collection ofAssignedSubjectGlobalPrivilegeGrants
.SubjectObjectPrivilegeGrant
getAssignedSubjectObjectPrivilegeGrantByObjectDefinitionObjectUniqueId(ObjectDefinition objectDefinition, Long objectUniqueId)
Get the SubjectObjectPrivilegeGrant by SubjectSchedulerEntity.RWIterable<SubjectObjectPrivilegeGrant>
getAssignedSubjectObjectPrivilegeGrants()
Get anRWIterable
over an ordered collection ofAssignedSubjectObjectPrivilegeGrants
.SubjectObjectTypePrivilegeGrant
getAssignedSubjectObjectTypePrivilegeGrantByObjectDefinitionLevelPartitionOrIsolationGroupUniqueId(ObjectDefinition objectDefinition, GrantLevel level, Long partitionOrIsolationGroupUniqueId)
Get the SubjectObjectTypePrivilegeGrant by SubjectObjectTypeLevelGrant.RWIterable<SubjectObjectTypePrivilegeGrant>
getAssignedSubjectObjectTypePrivilegeGrants()
Get anRWIterable
over an ordered collection ofAssignedSubjectObjectTypePrivilegeGrants
.SubjectRoleGrant
getAssignedSubjectRoleGrantByGrantedSubject(Subject grantedSubject)
Get the SubjectRoleGrant by SubjectGrants.RWIterable<SubjectRoleGrant>
getAssignedSubjectRoleGrants()
Get anRWIterable
over an ordered collection ofAssignedSubjectRoleGrants
.SubjectRoleGrant
getAssignedToSubjectRoleGrantByGranteeSubject(Subject granteeSubject)
Get the SubjectRoleGrant by SubjectGrants.RWIterable<SubjectRoleGrant>
getAssignedToSubjectRoleGrants()
Get anRWIterable
over an ordered collection ofAssignedToSubjectRoleGrants
.String
getComment()
Get the value for Comment.String
getDescription()
Get the value for Description.String
getEmail()
Get the value for Email.Long
getMaxAttachmentSize()
Get the value for MaxAttachmentSize.String
getName()
Get the value for Name.NotificationType
getNotificationType()
Get the value for NotificationType.RWIterable<OperatorMessage>
getOperatorMessages()
Get anRWIterable
over an ordered collection ofOperatorMessages
.RWIterable<ProcessMonitorLog>
getProcessMonitorLogs()
Get anRWIterable
over an ordered collection ofProcessMonitorLogs
.Subject
getProxySubject()
Get the ProxySubject.DateTimeZone
getProxySubjectEndDate()
Get the value for ProxySubjectEndDate.DateTimeZone
getProxySubjectStartDate()
Get the value for ProxySubjectStartDate.String
getRemoteName()
Get the value for RemoteName.String
getSearchDescription()
Get the value for SearchDescription.String
getSearchEmail()
Get the value for SearchEmail.String
getSearchName()
Get the value for SearchName.SubjectIsolationGroup
getSubjectIsolationGroupByIsolationGroup(IsolationGroup isolationGroup)
Get the SubjectIsolationGroup by SubjectIsolationGroup.RWIterable<SubjectIsolationGroup>
getSubjectIsolationGroups()
Get anRWIterable
over an ordered collection ofSubjectIsolationGroups
.SubjectType
getType()
Get the value for Type.boolean
isActive()
Get the value for Active.boolean
isDisabled()
Get the value for Disabled.boolean
isGrantable()
Get the value for Grantable.boolean
isGrantToable()
Get the value for GrantToable.boolean
isScreenReader()
Get the value for ScreenReader.boolean
isSuperReader()
Get the value for SuperReader.void
reenableUser()
Reenable a user after it has been disabled.void
setActive(boolean newActive)
Set the value for Active.void
setComment(String newComment)
Set the value for Comment.void
setDescription(String newDescription)
Set the value for Description.void
setEmail(String newEmail)
Set the value for Email.void
setMaxAttachmentSize(Long newMaxAttachmentSize)
Set the value for MaxAttachmentSize.void
setName(String newName)
Set the value for Name.void
setNotificationType(NotificationType newNotificationType)
Set the value for NotificationType.void
setProxySubject(Subject newProxySubject)
Set the value for ProxySubject.void
setProxySubjectEndDate(DateTimeZone newProxySubjectEndDate)
Set the value for ProxySubjectEndDate.void
setProxySubjectStartDate(DateTimeZone newProxySubjectStartDate)
Set the value for ProxySubjectStartDate.void
setRemoteName(String newRemoteName)
Set the value for RemoteName.void
setScreenReader(boolean newScreenReader)
Set the value for ScreenReader.void
setType(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:
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:
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:
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:
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:
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 benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
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:
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:
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:
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 benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
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:
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:
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 benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
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:
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:
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 benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
ObjectDeletedException
- If this method is called when the object has been marked for deletion.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 anRWIterable
over 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:
getOperatorMessages
in interfaceSubjectComp
- Returns:
- An
RWIterable
over an ordered collection ofOperatorMessage
objects .
-
getProcessMonitorLogs
RWIterable<ProcessMonitorLog> getProcessMonitorLogs()
Get anRWIterable
over 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:
getProcessMonitorLogs
in interfaceSubjectComp
- Returns:
- An
RWIterable
over an ordered collection ofProcessMonitorLog
objects .
-
getAssignedSubjectGlobalPrivilegeGrants
RWIterable<SubjectGlobalPrivilegeGrant> getAssignedSubjectGlobalPrivilegeGrants()
Get anRWIterable
over 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:
getAssignedSubjectGlobalPrivilegeGrants
in interfaceSubjectComp
- Returns:
- An
RWIterable
over an ordered collection ofSubjectGlobalPrivilegeGrant
objects .
-
getAssignedSubjectGlobalPrivilegeGrantByGrantedGlobalPrivilege
SubjectGlobalPrivilegeGrant getAssignedSubjectGlobalPrivilegeGrantByGrantedGlobalPrivilege(GlobalPrivilege grantedGlobalPrivilege)
Get the SubjectGlobalPrivilegeGrant by SubjectGlobalPrivilegeLevelGrant.- Parameters:
grantedGlobalPrivilege
-- Returns:
- the SubjectGlobalPrivilegeGrant, or
null
if it could not be found
-
getAssignedSubjectRoleGrants
RWIterable<SubjectRoleGrant> getAssignedSubjectRoleGrants()
Get anRWIterable
over 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:
getAssignedSubjectRoleGrants
in interfaceSubjectComp
- Returns:
- An
RWIterable
over an ordered collection ofSubjectRoleGrant
objects .
-
getAssignedSubjectRoleGrantByGrantedSubject
SubjectRoleGrant getAssignedSubjectRoleGrantByGrantedSubject(Subject grantedSubject)
Get the SubjectRoleGrant by SubjectGrants.- Parameters:
grantedSubject
-- Returns:
- the SubjectRoleGrant, or
null
if it could not be found
-
getAssignedSubjectObjectPrivilegeGrants
RWIterable<SubjectObjectPrivilegeGrant> getAssignedSubjectObjectPrivilegeGrants()
Get anRWIterable
over 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:
getAssignedSubjectObjectPrivilegeGrants
in interfaceSubjectComp
- Returns:
- An
RWIterable
over an ordered collection ofSubjectObjectPrivilegeGrant
objects .
-
getAssignedSubjectObjectPrivilegeGrantByObjectDefinitionObjectUniqueId
SubjectObjectPrivilegeGrant getAssignedSubjectObjectPrivilegeGrantByObjectDefinitionObjectUniqueId(ObjectDefinition objectDefinition, Long objectUniqueId)
Get the SubjectObjectPrivilegeGrant by SubjectSchedulerEntity.- Parameters:
objectDefinition
-objectUniqueId
-- Returns:
- the SubjectObjectPrivilegeGrant, or
null
if it could not be found
-
getAssignedSubjectObjectTypePrivilegeGrants
RWIterable<SubjectObjectTypePrivilegeGrant> getAssignedSubjectObjectTypePrivilegeGrants()
Get anRWIterable
over 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:
getAssignedSubjectObjectTypePrivilegeGrants
in interfaceSubjectComp
- Returns:
- An
RWIterable
over an ordered collection ofSubjectObjectTypePrivilegeGrant
objects .
-
getAssignedSubjectObjectTypePrivilegeGrantByObjectDefinitionLevelPartitionOrIsolationGroupUniqueId
SubjectObjectTypePrivilegeGrant getAssignedSubjectObjectTypePrivilegeGrantByObjectDefinitionLevelPartitionOrIsolationGroupUniqueId(ObjectDefinition objectDefinition, GrantLevel level, Long partitionOrIsolationGroupUniqueId)
Get the SubjectObjectTypePrivilegeGrant by SubjectObjectTypeLevelGrant.- Parameters:
objectDefinition
-level
-partitionOrIsolationGroupUniqueId
-- Returns:
- the SubjectObjectTypePrivilegeGrant, or
null
if it could not be found
-
getSubjectIsolationGroups
RWIterable<SubjectIsolationGroup> getSubjectIsolationGroups()
Get anRWIterable
over 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:
getSubjectIsolationGroups
in interfaceSubjectComp
- Returns:
- An
RWIterable
over an ordered collection ofSubjectIsolationGroup
objects .
-
createSubjectIsolationGroup
SubjectIsolationGroup createSubjectIsolationGroup(IsolationGroup newIsolationGroup)
Create a newSubjectIsolationGroup
linked to this object.- Parameters:
newIsolationGroup
- The other parent of theSubjectIsolationGroupIsolationGroup
association.- Returns:
- a new
SubjectIsolationGroup
.
-
getSubjectIsolationGroupByIsolationGroup
SubjectIsolationGroup getSubjectIsolationGroupByIsolationGroup(IsolationGroup isolationGroup)
Get the SubjectIsolationGroup by SubjectIsolationGroup.- Parameters:
isolationGroup
-- Returns:
- the SubjectIsolationGroup, or
null
if it could not be found
-
getAssignedToSubjectRoleGrants
RWIterable<SubjectRoleGrant> getAssignedToSubjectRoleGrants()
Get anRWIterable
over 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:
getAssignedToSubjectRoleGrants
in interfaceSubjectComp
- Returns:
- An
RWIterable
over an ordered collection ofSubjectRoleGrant
objects .
-
getAssignedToSubjectRoleGrantByGranteeSubject
SubjectRoleGrant getAssignedToSubjectRoleGrantByGranteeSubject(Subject granteeSubject)
Get the SubjectRoleGrant by SubjectGrants.- Parameters:
granteeSubject
-- Returns:
- the SubjectRoleGrant, or
null
if it could not be found
-
-