Package com.orchestranetworks.workflow
Interface ActionPermissionsOnWorkflowContext
- All Superinterfaces:
DataContextReadOnly
,ProcessExecutionInfoContext
public interface ActionPermissionsOnWorkflowContext
extends DataContextReadOnly, ProcessExecutionInfoContext
This interface is used as the context for
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
.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetProcessInstanceDescription
(Locale aLocale) Deprecated.getProcessInstanceLabel
(Locale aLocale) Deprecated.UseProcessExecutionInfoContext.getProcessInstance()
instead.The session associated with the current user.boolean
If the permission's resolution context is for a process instance, returnstrue
, else returnsfalse
.Methods inherited from interface com.orchestranetworks.workflow.DataContextReadOnly
getVariableNames, getVariableString, isVariableDefined
Methods inherited from interface com.orchestranetworks.workflow.ProcessExecutionInfoContext
getProcessInstance, getProcessInstanceCreator, getProcessInstanceKey, getProfileForPermission, getPublishedProcessKey, getRepository
-
Method Details
-
getSession
Session getSession()The session associated with the current user.- Specified by:
getSession
in interfaceProcessExecutionInfoContext
-
isOnProcessInstance
boolean isOnProcessInstance()If the permission's resolution context is for a process instance, returnstrue
, else returnsfalse
.To determine when the process instance is defined, see the
ProcessExecutionContext.WorkflowPermission
possible actions. -
getProcessInstanceLabel
Deprecated.UseProcessExecutionInfoContext.getProcessInstance()
instead.Returns the current process instance label. Returnsnull
ifprocess instance is undefined
, or has no label. -
getProcessInstanceDescription
Deprecated.UseProcessExecutionInfoContext.getProcessInstance()
instead.Returns the current process instance description. Returnsnull
ifprocess instance is undefined
, or has no description.
-
ProcessExecutionInfoContext.getProcessInstance()
instead.