Package com.redwood.scheduler.api.model
Interface SubjectObjectTypePrivilegeGrant
-
- All Superinterfaces:
BusinessKeyObject
,Readable
,Root
,SchedulerEntity
,SchedulerEntityComp
,SubjectGrant
,SubjectPrivilegeGrant
public interface SubjectObjectTypePrivilegeGrant extends SubjectPrivilegeGrant, BusinessKeyObject, Readable
A mapping of which privileges a subject has been granted to all objects of a given type. By default, a grant will be at the system level.
-
-
Field Summary
Fields Modifier and Type Field Description static String
OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "SubjectObjectTypePrivilegeGrant" objects.static QueryObjectType<SubjectObjectTypePrivilegeGrant>
TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.static com.redwood.scheduler.infrastructure.logging.Versions
VERSION_SUBJECTOBJECTTYPEPRIVILEGEGRANT
-
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.Root
VERSION_ROOT
-
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
ACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM, VERSION_SCHEDULERENTITY
-
Fields inherited from interface com.redwood.scheduler.api.model.compatibility_14.SchedulerEntityComp
VERSION_SCHEDULERENTITYCOMP
-
Fields inherited from interface com.redwood.scheduler.api.model.SubjectGrant
VERSION_SUBJECTGRANT
-
Fields inherited from interface com.redwood.scheduler.api.model.SubjectPrivilegeGrant
VERSION_SUBJECTPRIVILEGEGRANT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IsolationGroup
getIsolationGroup()
Get the value for IsolationGroup.GrantLevel
getLevel()
Get the value for Level.Partition
getPartition()
Get the value for Partition.void
setIsolationGroup(IsolationGroup newIsolationGroup)
Set the value for IsolationGroup.void
setPartition(Partition newPartition)
Set the value for Partition.-
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
-
Methods inherited from interface com.redwood.scheduler.api.model.SubjectGrant
getGranteeSubject, getGrantorSubject, isExportable, setExportable, setGranteeSubject
-
Methods inherited from interface com.redwood.scheduler.api.model.SubjectPrivilegeGrant
getAllGrantLevels, getAllowedPrivileges, getAllPrivileges, getAllRanks, getGrantableRank, getGrantedRank, getObjectDefinition, isPrivilegeGrantable, isPrivilegeGranted, setGrantableRank, setGrantableRank, setGrantedRank, setGrantedRank, setObjectDefinition, setPrivilegeGrantable, setPrivilegeGrantable, setPrivilegeGranted, setPrivilegeGranted
-
-
-
-
Field Detail
-
VERSION_SUBJECTOBJECTTYPEPRIVILEGEGRANT
static final com.redwood.scheduler.infrastructure.logging.Versions VERSION_SUBJECTOBJECTTYPEPRIVILEGEGRANT
-
OBJECT_TYPE
static final String OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "SubjectObjectTypePrivilegeGrant" objects.- See Also:
- Constant Field Values
-
TYPE
static final QueryObjectType<SubjectObjectTypePrivilegeGrant> TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.
-
-
Method Detail
-
getIsolationGroup
IsolationGroup getIsolationGroup()
Get the value for IsolationGroup. (Isolation group within which this grant applies.)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getLevel
GrantLevel getLevel()
Get the value for Level. (Level at which this grant applied.) 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.
-
getPartition
Partition getPartition()
Get the value for Partition. (Partition within which this grant applies.)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setIsolationGroup
void setIsolationGroup(IsolationGroup newIsolationGroup)
Set the value for IsolationGroup. (Isolation group within which this grant applies.) This value is optional.- Parameters:
newIsolationGroup
- the new value for IsolationGroup.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setPartition
void setPartition(Partition newPartition)
Set the value for Partition. (Partition within which this grant applies.) This value is optional.- Parameters:
newPartition
- the new value for Partition.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
-