Package com.redwood.scheduler.api.model
Interface GlobalPrivilege
- 
- All Superinterfaces:
- BusinessKeyObject,- GlobalPrivilegeComp,- NamedRootObject,- NamedRootObjectComp,- Root,- SchedulerEntity,- SchedulerEntityComp
 
 public interface GlobalPrivilege extends GlobalPrivilegeComp, NamedRootObject, BusinessKeyObject Global security privileges.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "GlobalPrivilege" objects.static StringPRIVILEGE_ALLOW_RUN_NOWName of the privilege that allows user to run the process immediately.static StringPRIVILEGE_APP_ADMINISTRATORName of the privilege that allows a user to install signed apps.static StringPRIVILEGE_ARCHIVER_MANAGERName of the privilege for managing archiver processes.static StringPRIVILEGE_CHANGE_OWNERName of the privilege to change the owner using the setOwner operation.static StringPRIVILEGE_CONFIGURE_HOUSEKEEPING_DASHBOARDName of the privilege to configure the housekeeping dashboard.static StringPRIVILEGE_CONFIGURE_MONITORING_DASHBOARDName of the privilege to configure the monitoring dashboard.static StringPRIVILEGE_CONFIGURE_NETWORKName of the privilege for configuring network settings.static StringPRIVILEGE_CONFIGURE_PLATFORMName of the privilege for configuring platform settings.static StringPRIVILEGE_CONFIGURE_PUBLISHED_WEBSERVICESName of the privilege for configuring published webservices.static StringPRIVILEGE_CONFIGURE_SCHEDULERName of the privilege for configuring system-level scheduler settings.static StringPRIVILEGE_DEFAULT_NAVIGATION_BARName of the privilege for access to the default navigation bar.static StringPRIVILEGE_EXTERNALLY_AVAILABLE_CREDENTIALName of the privilege to change the Externally Modified attribute on Credentials.static StringPRIVILEGE_HOUSEKEEPING_DASHBOARDName of the privilege to access the housekeeping dashboard.static StringPRIVILEGE_JOB_DEFINITION_PARAMETERSName of the privilege for access to job definition parameters.static StringPRIVILEGE_LICENSE_MANAGEMENTName of the privilege for access to license management.static StringPRIVILEGE_MONITORING_DASHBOARDName of the privilege to access the monitoring dashboard.static StringPRIVILEGE_OBJECTSEARCHName of the privilege to access Object Search.static StringPRIVILEGE_PLSQL_SET_ANY_USERName of the privilege for calling jcs.setuser/jcs.use_known_password for another user (and impersonate this user) via the PL/SQL API.static StringPRIVILEGE_PORTAL_ADMINISTRATIONName of the privilege to enable the performance of administrative tasks on the support portal.static StringPRIVILEGE_REDWOOD_SCRIPTName of the privilege for access to RedwoodScript.static StringPRIVILEGE_REPLY_ALL_EQUIVALENT_TYPEName of the privilege for replying all equivalent type for operator messages.static StringPRIVILEGE_SHELLName of the privilege for access to the browser-based shell.static StringPRIVILEGE_SUPPORT_FILES_GETName of the privilege to enable the retrieval of support files.static StringPRIVILEGE_SYSTEM_DYNAMIC_TRACEName of the privilege for 'submit' privilege rank on the System_DynamicTrace job.static StringPRIVILEGE_SYSTEM_SUPPORTName of the privilege to access the system support utilities.static StringPRIVILEGE_USER_ADMINISTRATIONName of the privilege to enable the administration of users and roles.static StringPRIVILEGE_USER_VOICEName of the privilege to enable Redwood Customer Voice (User Voice).static StringSEC_PRIV_CHANGEACTIVATIONThis privilege can be granted at a group level.static StringSEC_RANK_ALLThis rank is made of the following privileges: changeActivationstatic StringSEC_RANK_NONEThis rank has no privileges assigned to it.static QueryObjectType<GlobalPrivilege>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 RequiredPermissioncheckChangeActivationPrivilege()Check whether or not the changeActivation action can be performed on this object.SubjectGlobalPrivilegeGrantgetSubjectGlobalPrivilegeGrantByGranteeSubject(Subject granteeSubject)Get the SubjectGlobalPrivilegeGrant by SubjectGlobalPrivilegeLevelGrant.RWIterable<SubjectGlobalPrivilegeGrant>getSubjectGlobalPrivilegeGrants()Get anRWIterableover an ordered collection ofSubjectGlobalPrivilegeGrants.booleanisActivated()Get the value for Activated.voidsetActivated(boolean newActivated)Set the value for Activated.- 
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObjectgetBusinessKey
 - 
Methods inherited from interface com.redwood.scheduler.api.model.NamedRootObjectcreateObjectReference, getComment, getDescription, getLinkedObjectReferenceByLinkedObject, getLinkedObjectReferenceByName, getLinkedObjectReferences, getName, getSearchName, getSourceObjectReferences, isHidden, setComment, setDescription, setName
 - 
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 "GlobalPrivilege" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<GlobalPrivilege> TYPE Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
 - 
PRIVILEGE_SHELLstatic final String PRIVILEGE_SHELL Name of the privilege for access to the browser-based shell.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_PLSQL_SET_ANY_USERstatic final String PRIVILEGE_PLSQL_SET_ANY_USER Name of the privilege for calling jcs.setuser/jcs.use_known_password for another user (and impersonate this user) via the PL/SQL API.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_CONFIGURE_NETWORKstatic final String PRIVILEGE_CONFIGURE_NETWORK Name of the privilege for configuring network settings.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_CONFIGURE_PLATFORMstatic final String PRIVILEGE_CONFIGURE_PLATFORM Name of the privilege for configuring platform settings. These settings usually require access to the underlying application server or operating system.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_CONFIGURE_SCHEDULERstatic final String PRIVILEGE_CONFIGURE_SCHEDULER Name of the privilege for configuring system-level scheduler settings.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_DEFAULT_NAVIGATION_BARstatic final String PRIVILEGE_DEFAULT_NAVIGATION_BAR Name of the privilege for access to the default navigation bar.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_JOB_DEFINITION_PARAMETERSstatic final String PRIVILEGE_JOB_DEFINITION_PARAMETERS Name of the privilege for access to job definition parameters.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_LICENSE_MANAGEMENTstatic final String PRIVILEGE_LICENSE_MANAGEMENT Name of the privilege for access to license management.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_HOUSEKEEPING_DASHBOARDstatic final String PRIVILEGE_HOUSEKEEPING_DASHBOARD Name of the privilege to access the housekeeping dashboard.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_CONFIGURE_HOUSEKEEPING_DASHBOARDstatic final String PRIVILEGE_CONFIGURE_HOUSEKEEPING_DASHBOARD Name of the privilege to configure the housekeeping dashboard.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_MONITORING_DASHBOARDstatic final String PRIVILEGE_MONITORING_DASHBOARD Name of the privilege to access the monitoring dashboard.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_CONFIGURE_MONITORING_DASHBOARDstatic final String PRIVILEGE_CONFIGURE_MONITORING_DASHBOARD Name of the privilege to configure the monitoring dashboard.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_CONFIGURE_PUBLISHED_WEBSERVICESstatic final String PRIVILEGE_CONFIGURE_PUBLISHED_WEBSERVICES Name of the privilege for configuring published webservices.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_REDWOOD_SCRIPTstatic final String PRIVILEGE_REDWOOD_SCRIPT Name of the privilege for access to RedwoodScript.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_SYSTEM_DYNAMIC_TRACEstatic final String PRIVILEGE_SYSTEM_DYNAMIC_TRACE Name of the privilege for 'submit' privilege rank on the System_DynamicTrace job.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_SYSTEM_SUPPORTstatic final String PRIVILEGE_SYSTEM_SUPPORT Name of the privilege to access the system support utilities.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_SUPPORT_FILES_GETstatic final String PRIVILEGE_SUPPORT_FILES_GET Name of the privilege to enable the retrieval of support files.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_PORTAL_ADMINISTRATIONstatic final String PRIVILEGE_PORTAL_ADMINISTRATION Name of the privilege to enable the performance of administrative tasks on the support portal.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_USER_ADMINISTRATIONstatic final String PRIVILEGE_USER_ADMINISTRATION Name of the privilege to enable the administration of users and roles.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_USER_VOICEstatic final String PRIVILEGE_USER_VOICE Name of the privilege to enable Redwood Customer Voice (User Voice).- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_APP_ADMINISTRATORstatic final String PRIVILEGE_APP_ADMINISTRATOR Name of the privilege that allows a user to install signed apps.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_EXTERNALLY_AVAILABLE_CREDENTIALstatic final String PRIVILEGE_EXTERNALLY_AVAILABLE_CREDENTIAL Name of the privilege to change the Externally Modified attribute on Credentials.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_OBJECTSEARCHstatic final String PRIVILEGE_OBJECTSEARCH Name of the privilege to access Object Search.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_CHANGE_OWNERstatic final String PRIVILEGE_CHANGE_OWNER Name of the privilege to change the owner using the setOwner operation.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_REPLY_ALL_EQUIVALENT_TYPEstatic final String PRIVILEGE_REPLY_ALL_EQUIVALENT_TYPE Name of the privilege for replying all equivalent type for operator messages.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_ARCHIVER_MANAGERstatic final String PRIVILEGE_ARCHIVER_MANAGER Name of the privilege for managing archiver processes.- See Also:
- Constant Field Values
 
 - 
PRIVILEGE_ALLOW_RUN_NOWstatic final String PRIVILEGE_ALLOW_RUN_NOW Name of the privilege that allows user to run the process immediately.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_CHANGEACTIVATIONstatic final String SEC_PRIV_CHANGEACTIVATION This privilege can be granted at a group level. This privilege can be granted at an instance level.- 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: changeActivation- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
isActivatedboolean isActivated() Get the value for Activated. (Everyone has global privileges that are not activated (activated = false). Once activated, users that want to use a feature governed by the privilege must have it granted to one of their roles.)- 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.
 
 - 
setActivatedvoid setActivated(boolean newActivated) Set the value for Activated. (Everyone has global privileges that are not activated (activated = false). Once activated, users that want to use a feature governed by the privilege must have it granted to one of their roles.)- Parameters:
- newActivated- the new value for Activated.
- 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.
 
 - 
getSubjectGlobalPrivilegeGrantsRWIterable<SubjectGlobalPrivilegeGrant> getSubjectGlobalPrivilegeGrants() Get anRWIterableover an ordered collection ofSubjectGlobalPrivilegeGrants. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. Grant a global privilege to a subject.- Specified by:
- getSubjectGlobalPrivilegeGrantsin interface- GlobalPrivilegeComp
- Returns:
- An RWIterableover an ordered collection ofSubjectGlobalPrivilegeGrantobjects .
 
 - 
getSubjectGlobalPrivilegeGrantByGranteeSubjectSubjectGlobalPrivilegeGrant getSubjectGlobalPrivilegeGrantByGranteeSubject(Subject granteeSubject) Get the SubjectGlobalPrivilegeGrant by SubjectGlobalPrivilegeLevelGrant.- Parameters:
- granteeSubject-
- Returns:
- the SubjectGlobalPrivilegeGrant, or nullif it could not be found
 
 - 
checkChangeActivationPrivilegeRequiredPermission checkChangeActivationPrivilege() Check whether or not the changeActivation action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 
- 
 
-