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.booleanIf the permission's resolution context is for a process instance, returnstrue, else returnsfalse.Methods inherited from interface com.orchestranetworks.workflow.DataContextReadOnly
getVariableNames, getVariableString, isVariableDefinedMethods 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:
getSessionin 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.WorkflowPermissionpossible actions. -
getProcessInstanceLabel
Deprecated.UseProcessExecutionInfoContext.getProcessInstance()instead.Returns the current process instance label. Returnsnullifprocess instance is undefined, or has no label. -
getProcessInstanceDescription
Deprecated.UseProcessExecutionInfoContext.getProcessInstance()instead.Returns the current process instance description. Returnsnullifprocess instance is undefined, or has no description.
-
ProcessExecutionInfoContext.getProcessInstance()instead.