Class ExecutionManager

  • All Implemented Interfaces:
    Session

    public class ExecutionManager
    extends AbstractManager
    Author:
    Tom Baeyens
    • Constructor Detail

      • ExecutionManager

        public ExecutionManager()
    • Method Detail

      • insertExecution

        public void insertExecution​(ExecutionEntity execution)
      • deleteExecution

        public void deleteExecution​(ExecutionEntity execution)
      • deleteProcessInstancesByProcessDefinition

        public void deleteProcessInstancesByProcessDefinition​(String processDefinitionId,
                                                              String deleteReason,
                                                              boolean cascade,
                                                              boolean skipCustomListeners,
                                                              boolean skipIoMappings)
      • deleteProcessInstance

        public void deleteProcessInstance​(String processInstanceId,
                                          String deleteReason)
      • deleteProcessInstance

        public void deleteProcessInstance​(String processInstanceId,
                                          String deleteReason,
                                          boolean cascade,
                                          boolean skipCustomListeners)
      • deleteProcessInstance

        public void deleteProcessInstance​(String processInstanceId,
                                          String deleteReason,
                                          boolean cascade,
                                          boolean skipCustomListeners,
                                          boolean externallyTerminated,
                                          boolean skipIoMappings,
                                          boolean skipSubprocesses)
      • findSubProcessInstanceBySuperExecutionId

        public ExecutionEntity findSubProcessInstanceBySuperExecutionId​(String superExecutionId)
      • findSubProcessInstanceBySuperCaseExecutionId

        public ExecutionEntity findSubProcessInstanceBySuperCaseExecutionId​(String superCaseExecutionId)
      • findChildExecutionsByParentExecutionId

        public List<ExecutionEntity> findChildExecutionsByParentExecutionId​(String parentExecutionId)
      • findExecutionsByProcessInstanceId

        public List<ExecutionEntity> findExecutionsByProcessInstanceId​(String processInstanceId)
      • findExecutionCountByQueryCriteria

        public long findExecutionCountByQueryCriteria​(ExecutionQueryImpl executionQuery)
      • findProcessInstanceCountByQueryCriteria

        public long findProcessInstanceCountByQueryCriteria​(ProcessInstanceQueryImpl processInstanceQuery)
      • findEventScopeExecutionsByActivityId

        public List<ExecutionEntity> findEventScopeExecutionsByActivityId​(String activityRef,
                                                                          String parentExecutionId)
      • findExecutionsByNativeQuery

        public List<Execution> findExecutionsByNativeQuery​(Map<String,​Object> parameterMap,
                                                           int firstResult,
                                                           int maxResults)
      • findProcessInstanceByNativeQuery

        public List<ProcessInstance> findProcessInstanceByNativeQuery​(Map<String,​Object> parameterMap,
                                                                      int firstResult,
                                                                      int maxResults)
      • findExecutionCountByNativeQuery

        public long findExecutionCountByNativeQuery​(Map<String,​Object> parameterMap)
      • updateExecutionSuspensionStateByProcessDefinitionId

        public void updateExecutionSuspensionStateByProcessDefinitionId​(String processDefinitionId,
                                                                        SuspensionState suspensionState)
      • updateExecutionSuspensionStateByProcessInstanceId

        public void updateExecutionSuspensionStateByProcessInstanceId​(String processInstanceId,
                                                                      SuspensionState suspensionState)
      • updateExecutionSuspensionStateByProcessDefinitionKey

        public void updateExecutionSuspensionStateByProcessDefinitionKey​(String processDefinitionKey,
                                                                         SuspensionState suspensionState)
      • updateExecutionSuspensionStateByProcessDefinitionKeyAndTenantId

        public void updateExecutionSuspensionStateByProcessDefinitionKeyAndTenantId​(String processDefinitionKey,
                                                                                    String tenantId,
                                                                                    SuspensionState suspensionState)
      • createDefaultAuthorizations

        protected void createDefaultAuthorizations​(ExecutionEntity execution)
      • configureQuery

        protected void configureQuery​(AbstractQuery<?,​?> query)