Class ExecutionManager
java.lang.Object
org.camunda.bpm.engine.impl.persistence.AbstractManager
org.camunda.bpm.engine.impl.persistence.entity.ExecutionManager
- All Implemented Interfaces:
Session
- Author:
- Tom Baeyens
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ListQueryParameterObject
configureParameterizedQuery
(Object parameter) protected void
configureQuery
(AbstractQuery<?, ?> query) protected void
createDefaultAuthorizations
(ExecutionEntity execution) void
deleteExecution
(ExecutionEntity execution) void
deleteProcessInstance
(String processInstanceId, String deleteReason) void
deleteProcessInstance
(String processInstanceId, String deleteReason, boolean cascade, boolean skipCustomListeners) void
deleteProcessInstance
(String processInstanceId, String deleteReason, boolean cascade, boolean skipCustomListeners, boolean externallyTerminated, boolean skipIoMappings, boolean skipSubprocesses) void
deleteProcessInstancesByProcessDefinition
(String processDefinitionId, String deleteReason, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings) findChildExecutionsByParentExecutionId
(String parentExecutionId) findDeploymentIdMappingsByQueryCriteria
(ProcessInstanceQueryImpl processInstanceQuery) findEventScopeExecutionsByActivityId
(String activityRef, String parentExecutionId) findExecutionById
(String executionId) long
findExecutionCountByNativeQuery
(Map<String, Object> parameterMap) long
findExecutionCountByQueryCriteria
(ExecutionQueryImpl executionQuery) findExecutionsByNativeQuery
(Map<String, Object> parameterMap, int firstResult, int maxResults) findExecutionsByProcessInstanceId
(String processInstanceId) findExecutionsByQueryCriteria
(ExecutionQueryImpl executionQuery, Page page) findProcessInstanceByNativeQuery
(Map<String, Object> parameterMap, int firstResult, int maxResults) long
findProcessInstanceCountByQueryCriteria
(ProcessInstanceQueryImpl processInstanceQuery) findProcessInstancesByQueryCriteria
(ProcessInstanceQueryImpl processInstanceQuery, Page page) findProcessInstancesIdsByQueryCriteria
(ProcessInstanceQueryImpl processInstanceQuery) findSubProcessInstanceBySuperCaseExecutionId
(String superCaseExecutionId) findSubProcessInstanceBySuperExecutionId
(String superExecutionId) void
insertExecution
(ExecutionEntity execution) void
updateExecutionSuspensionStateByProcessDefinitionId
(String processDefinitionId, SuspensionState suspensionState) void
updateExecutionSuspensionStateByProcessDefinitionKey
(String processDefinitionKey, SuspensionState suspensionState) void
updateExecutionSuspensionStateByProcessDefinitionKeyAndTenantId
(String processDefinitionKey, String tenantId, SuspensionState suspensionState) void
updateExecutionSuspensionStateByProcessInstanceId
(String processInstanceId, SuspensionState suspensionState) Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractManager
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, getCamundaFormDefinitionManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDecisionRequirementsDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricBatchManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricExternalTaskLogManager, getHistoricIdentityLinkManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricReportManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getTaskReportManager, getTenantManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizations
-
Field Details
-
LOG
-
-
Constructor Details
-
ExecutionManager
public ExecutionManager()
-
-
Method Details
-
insertExecution
-
deleteExecution
-
deleteProcessInstancesByProcessDefinition
-
deleteProcessInstance
-
deleteProcessInstance
-
deleteProcessInstance
-
findSubProcessInstanceBySuperExecutionId
-
findSubProcessInstanceBySuperCaseExecutionId
-
findChildExecutionsByParentExecutionId
-
findExecutionsByProcessInstanceId
-
findExecutionById
-
findExecutionCountByQueryCriteria
-
findExecutionsByQueryCriteria
public List<ExecutionEntity> findExecutionsByQueryCriteria(ExecutionQueryImpl executionQuery, Page page) -
findProcessInstanceCountByQueryCriteria
-
findProcessInstancesByQueryCriteria
public List<ProcessInstance> findProcessInstancesByQueryCriteria(ProcessInstanceQueryImpl processInstanceQuery, Page page) -
findProcessInstancesIdsByQueryCriteria
public List<String> findProcessInstancesIdsByQueryCriteria(ProcessInstanceQueryImpl processInstanceQuery) -
findDeploymentIdMappingsByQueryCriteria
public List<ImmutablePair<String,String>> findDeploymentIdMappingsByQueryCriteria(ProcessInstanceQueryImpl processInstanceQuery) -
findEventScopeExecutionsByActivityId
public List<ExecutionEntity> findEventScopeExecutionsByActivityId(String activityRef, String parentExecutionId) -
findExecutionsByNativeQuery
-
findProcessInstanceByNativeQuery
public List<ProcessInstance> findProcessInstanceByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) -
findExecutionCountByNativeQuery
-
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
-
configureQuery
-
configureParameterizedQuery
-