Interface ExecutionEntityManager

    • Method Detail

      • findByRootProcessInstanceId

        ExecutionEntity findByRootProcessInstanceId​(String rootProcessInstanceId)
        Finds the ExecutionEntity for the given root process instance id. All children will have been fetched and initialized.
      • findSubProcessInstanceBySuperExecutionId

        ExecutionEntity findSubProcessInstanceBySuperExecutionId​(String superExecutionId)
      • findChildExecutionsByParentExecutionId

        List<ExecutionEntity> findChildExecutionsByParentExecutionId​(String parentExecutionId)
      • findChildExecutionsByProcessInstanceId

        List<ExecutionEntity> findChildExecutionsByProcessInstanceId​(String processInstanceId)
      • findExecutionCountByQueryCriteria

        long findExecutionCountByQueryCriteria​(ExecutionQueryImpl executionQuery)
      • findProcessInstanceCountByQueryCriteria

        long findProcessInstanceCountByQueryCriteria​(ProcessInstanceQueryImpl executionQuery)
      • findInactiveExecutionsByActivityIdAndProcessInstanceId

        Collection<ExecutionEntity> findInactiveExecutionsByActivityIdAndProcessInstanceId​(String activityId,
                                                                                           String processInstanceId)
      • findExecutionCountByNativeQuery

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

        long countActiveExecutionsByParentId​(String parentId)
      • collectChildren

        List<ExecutionEntity> collectChildren​(ExecutionEntity executionEntity)
        Returns all child executions of a given ExecutionEntity. In the list, child executions will be behind parent executions. Children include subprocessinstances and its children.
      • updateExecutionTenantIdForDeployment

        void updateExecutionTenantIdForDeployment​(String deploymentId,
                                                  String newTenantId)
      • updateProcessInstanceBusinessStatus

        String updateProcessInstanceBusinessStatus​(ExecutionEntity executionEntity,
                                                   String businessStatus)
      • deleteProcessInstancesByProcessDefinition

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

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

        void deleteProcessInstance​(String processInstanceId,
                                   String deleteReason,
                                   boolean cascade,
                                   boolean directDeleteInDatabase)
      • deleteProcessInstanceExecutionEntity

        void deleteProcessInstanceExecutionEntity​(String processInstanceId,
                                                  String currentFlowElementId,
                                                  String deleteReason,
                                                  boolean cascade,
                                                  boolean cancel,
                                                  boolean fireEvents)
      • deleteChildExecutions

        void deleteChildExecutions​(ExecutionEntity executionEntity,
                                   Collection<String> executionIdsNotToDelete,
                                   Collection<String> executionIdsNotToSendCancelledEventsFor,
                                   String deleteReason,
                                   boolean cancel,
                                   org.flowable.bpmn.model.FlowElement cancelActivity)
      • deleteChildExecutions

        void deleteChildExecutions​(ExecutionEntity executionEntity,
                                   String deleteReason,
                                   boolean cancel)
      • deleteExecutionAndRelatedData

        void deleteExecutionAndRelatedData​(ExecutionEntity executionEntity,
                                           String deleteReason,
                                           boolean deleteHistory,
                                           boolean directDeleteInDatabase,
                                           boolean cancel,
                                           org.flowable.bpmn.model.FlowElement cancelActivity)
      • deleteExecutionAndRelatedData

        void deleteExecutionAndRelatedData​(ExecutionEntity executionEntity,
                                           String deleteReason,
                                           boolean deleteHistory,
                                           boolean directDeleteInDatabase)
      • deleteExecutionAndRelatedData

        void deleteExecutionAndRelatedData​(ExecutionEntity executionEntity,
                                           String deleteReason,
                                           boolean deleteHistory)
      • deleteRelatedDataForExecution

        void deleteRelatedDataForExecution​(ExecutionEntity executionEntity,
                                           String deleteReason,
                                           boolean directDeleteInDatabase)
      • updateProcessInstanceLockTime

        void updateProcessInstanceLockTime​(String processInstanceId,
                                           String lockOwner,
                                           Date lockTime)
      • clearProcessInstanceLockTime

        void clearProcessInstanceLockTime​(String processInstanceId)
      • clearAllProcessInstanceLockTimes

        void clearAllProcessInstanceLockTimes​(String lockOwner)