public interface ActionPermissionsOnWorkflowContext extends DataContextReadOnly, ProcessExecutionInfoContext
ActionPermissionsOnWorkflow
execution.
Depending on the current action whose permission is being checked,
the process instance can be undefined, either permanently or only sometimes.
For more information, see the possible actions of ProcessExecutionContext.WorkflowPermission
.
ActionPermissionsOnWorkflow
Modifier and Type | Method and Description |
---|---|
String |
getProcessInstanceDescription(Locale aLocale)
Deprecated.
Use
ProcessExecutionInfoContext.getProcessInstance() instead. |
String |
getProcessInstanceLabel(Locale aLocale)
Deprecated.
Use
ProcessExecutionInfoContext.getProcessInstance() instead. |
Session |
getSession()
The session associated with the current user.
|
boolean |
isOnProcessInstance()
If the permission's resolution context is for a process instance, returns
true ,
else returns false . |
getVariableNames, getVariableString, isVariableDefined
getProcessInstance, getProcessInstanceCreator, getProcessInstanceKey, getProfileForPermission, getPublishedProcessKey, getRepository
Session getSession()
getSession
in interface ProcessExecutionInfoContext
boolean isOnProcessInstance()
true
,
else returns false
.
To determine when the process instance is defined,
see the ProcessExecutionContext.WorkflowPermission
possible actions.
String getProcessInstanceLabel(Locale aLocale)
ProcessExecutionInfoContext.getProcessInstance()
instead.null
if
process instance is undefined
,
or has no label.String getProcessInstanceDescription(Locale aLocale)
ProcessExecutionInfoContext.getProcessInstance()
instead.null
if
process instance is undefined
,
or has no description.