Package com.orchestranetworks.workflow
Interface ActionPermissionsOnWorkflowContext
-
- All Superinterfaces:
DataContextReadOnly,ProcessExecutionInfoContext
public interface ActionPermissionsOnWorkflowContext extends DataContextReadOnly, ProcessExecutionInfoContext
This interface is used as the context forActionPermissionsOnWorkflowexecution.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:
ActionPermissionsOnWorkflow
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetProcessInstanceDescription(Locale aLocale)Deprecated.UseProcessExecutionInfoContext.getProcessInstance()instead.StringgetProcessInstanceLabel(Locale aLocale)Deprecated.UseProcessExecutionInfoContext.getProcessInstance()instead.SessiongetSession()The session associated with the current user.booleanisOnProcessInstance()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 Detail
-
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 String getProcessInstanceLabel(Locale aLocale)
Deprecated.UseProcessExecutionInfoContext.getProcessInstance()instead.Returns the current process instance label. Returnsnullifprocess instance is undefined, or has no label.
-
getProcessInstanceDescription
@Deprecated String getProcessInstanceDescription(Locale aLocale)
Deprecated.UseProcessExecutionInfoContext.getProcessInstance()instead.Returns the current process instance description. Returnsnullifprocess instance is undefined, or has no description.
-
-