Class ProcessExecutionContext.WorkflowPermission
- java.lang.Object
-
- com.orchestranetworks.workflow.ProcessExecutionContext.WorkflowPermission
-
- Enclosing interface:
- ProcessExecutionContext
public static final class ProcessExecutionContext.WorkflowPermission extends Object
Represents the permissions associated with the workflow model.These permissions are configured in the configuration of the workflow model.
-
-
Field Summary
Fields Modifier and Type Field Description static ProcessExecutionContext.WorkflowPermissionADMINISTRATEThe permission to administrate the workflow.static ProcessExecutionContext.WorkflowPermissionALLOCATEThe permission to allocate work items.static ProcessExecutionContext.WorkflowPermissionCREATE_PROCESSThe permission to create workflows from the workflow publication.static ProcessExecutionContext.WorkflowPermissionDEALLOCATEThe permission to deallocate work items.static ProcessExecutionContext.WorkflowPermissionDISABLEThe permission to disable a publication.static ProcessExecutionContext.WorkflowPermissionFORCE_RESUME_PROCESSThe permission to resume a waiting workflow.static ProcessExecutionContext.WorkflowPermissionMANAGE_ALLOCATIONThe permission to manage the allocation of work items.static ProcessExecutionContext.WorkflowPermissionREALLOCATEThe permission to reallocate work items.static ProcessExecutionContext.WorkflowPermissionRESTART_TOKENThe permission to replay a step.static ProcessExecutionContext.WorkflowPermissionTERMINATE_PROCESSThe permission to terminate workflows.static ProcessExecutionContext.WorkflowPermissionUNPUBLISHThe permission to unpublish.static ProcessExecutionContext.WorkflowPermissionVIEWThe permission to visualize workflows.static ProcessExecutionContext.WorkflowPermissionVIEW_COMPLETED_WORKFLOWThe permission to view completed workflows.
-
-
-
Field Detail
-
ADMINISTRATE
public static final ProcessExecutionContext.WorkflowPermission ADMINISTRATE
The permission to administrate the workflow.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - perform specific actions on publications and workflows: replay a step,
(
RESTART_TOKEN), unpublish ((UNPUBLISH), terminate a workflow (TERMINATE_PROCESS).
This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
ActionPermissionsOnWorkflow
- visualize the workflows associated with the workflow model (
-
MANAGE_ALLOCATION
public static final ProcessExecutionContext.WorkflowPermission MANAGE_ALLOCATION
The permission to manage the allocation of work items.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - allocate a work item (
ALLOCATE), - deallocate a work item (
DEALLOCATE), - reallocate a work item (
REALLOCATE).
This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
ActionPermissionsOnWorkflow
- visualize the workflows associated with the workflow model (
-
CREATE_PROCESS
public static final ProcessExecutionContext.WorkflowPermission CREATE_PROCESS
The permission to create workflows from the workflow publication.This permission allows creating workflows from a publication associated with the workflow model.
This permission can be resolved only for a publication context.
- See Also:
ActionPermissionsOnWorkflow
-
VIEW
public static final ProcessExecutionContext.WorkflowPermission VIEW
The permission to visualize workflows.Publications, workflows and work items are visible if at least one of the following actions is allowed:
VIEWADMINISTRATEMANAGE_ALLOCATIONRESTART_TOKENTERMINATE_PROCESSDISABLEUNPUBLISHALLOCATEDEALLOCATEREALLOCATE
So, if the
This permission can be resolved for a publication or a process instance context: useVIEWpermission is disabled, the permissions associated with these actions will be automatically evaluated until one of them is enabled, even if specific permissions are defined.ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
ActionPermissionsOnWorkflow
-
VIEW_COMPLETED_WORKFLOW
public static final ProcessExecutionContext.WorkflowPermission VIEW_COMPLETED_WORKFLOW
The permission to view completed workflows.This permission allows viewing completed workflows for the workflow model.
This action is allowed when at least one of the following actions is allowed:
So, if the
VIEW_COMPLETED_WORKFLOWpermission is disabled, the permissionVIEWwill be automatically evaluated, even if specific permissions are defined.This permission can only be resolved for a process instance context.
- Since:
- 5.4.1
- See Also:
ActionPermissionsOnWorkflow
-
ALLOCATE
public static final ProcessExecutionContext.WorkflowPermission ALLOCATE
The permission to allocate work items.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - allocate the work items of the workflows of the workflow model.
This action is allowed when at least one of the following actions is allowed:
So, if the
ALLOCATEpermission is disabled, the permissionMANAGE_ALLOCATIONwill be automatically evaluated, even if specific permissions are defined.This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
ActionPermissionsOnWorkflow
- visualize the workflows associated with the workflow model (
-
DEALLOCATE
public static final ProcessExecutionContext.WorkflowPermission DEALLOCATE
The permission to deallocate work items.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - deallocate the work items of the workflows of the workflow model.
This action is allowed when at least one of the following actions is allowed:
So, if the
DEALLOCATEpermission is disabled, the permissionMANAGE_ALLOCATIONwill be automatically evaluated, even if specific permissions are defined.This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
ActionPermissionsOnWorkflow
- visualize the workflows associated with the workflow model (
-
REALLOCATE
public static final ProcessExecutionContext.WorkflowPermission REALLOCATE
The permission to reallocate work items.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - reallocate the work items of the workflows of the workflow model.
This action is allowed when at least one of the following actions is allowed:
So, if the
REALLOCATEpermission is disabled, the permissionMANAGE_ALLOCATIONwill be automatically evaluated, even if specific permissions are defined.This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
ActionPermissionsOnWorkflow
- visualize the workflows associated with the workflow model (
-
RESTART_TOKEN
public static final ProcessExecutionContext.WorkflowPermission RESTART_TOKEN
The permission to replay a step.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - replay the current step of a workflow of the workflow model.
So, if the
RESTART_TOKENpermission is disabled, the permissionADMINISTRATEwill be automatically evaluated, even if specific permissions are defined.This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
ActionPermissionsOnWorkflow
- visualize the workflows associated with the workflow model (
-
FORCE_RESUME_PROCESS
public static final ProcessExecutionContext.WorkflowPermission FORCE_RESUME_PROCESS
The permission to resume a waiting workflow.This permission allows:
- visualizing the workflows associated with the workflow model (
VIEW), - forcing resuming waiting workflows of the workflow model.
So, if the
FORCE_RESUME_PROCESSpermission is disabled, theADMINISTRATEpermission will be automatically evaluated, even if specific permissions are defined.This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
ActionPermissionsOnWorkflow
- visualizing the workflows associated with the workflow model (
-
UNPUBLISH
public static final ProcessExecutionContext.WorkflowPermission UNPUBLISH
The permission to unpublish.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - unpublish a publication of the workflow model.
This action is allowed when at least one of the following actions is allowed:
So, if the
UNPUBLISHpermission is disabled, the permissionADMINISTRATEwill be automatically evaluated, even if specific permissions are defined.This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
ActionPermissionsOnWorkflow
- visualize the workflows associated with the workflow model (
-
DISABLE
public static final ProcessExecutionContext.WorkflowPermission DISABLE
The permission to disable a publication.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - disable a publication of the workflow model.
This action is allowed when at least one of the following actions is allowed:
So, if the
DISABLEpermission is disabled, the permissionADMINISTRATEwill be automatically evaluated, even if specific permissions are defined.This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
ActionPermissionsOnWorkflow
- visualize the workflows associated with the workflow model (
-
TERMINATE_PROCESS
public static final ProcessExecutionContext.WorkflowPermission TERMINATE_PROCESS
The permission to terminate workflows.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - terminate and clean workflows of the workflow model.
This action is allowed when at least one of the following actions is allowed:
So, if the
TERMINATE_PROCESSpermission is disabled, the permissionADMINISTRATEwill be automatically evaluated, even if specific permissions are defined.This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
ActionPermissionsOnWorkflow
- visualize the workflows associated with the workflow model (
-
-
Method Detail
-
getLabel
public String getLabel()
-
-