Class TaskManager
java.lang.Object
org.camunda.bpm.engine.impl.persistence.AbstractManager
org.camunda.bpm.engine.impl.persistence.entity.TaskManager
- All Implemented Interfaces:
Session
- Author:
- Tom Baeyens
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ListQueryParameterObject
configureParameterizedQuery
(Object parameter) protected void
configureQuery
(TaskQueryImpl query) protected void
void
deleteTask
(TaskEntity task, String deleteReason, boolean cascade, boolean skipCustomListeners) void
deleteTasksByCaseInstanceId
(String caseInstanceId, String deleteReason, boolean cascade) void
deleteTasksByProcessInstanceId
(String processInstanceId, String deleteReason, boolean cascade, boolean skipCustomListeners) findTaskByCaseExecutionId
(String caseExecutionId) findTaskById
(String id) long
findTaskCountByNativeQuery
(Map<String, Object> parameterMap) long
findTaskCountByQueryCriteria
(TaskQueryImpl taskQuery) findTasksByExecutionId
(String executionId) findTasksByNativeQuery
(Map<String, Object> parameterMap, int firstResult, int maxResults) findTasksByParentTaskId
(String parentTaskId) findTasksByProcessInstanceId
(String processInstanceId) findTasksByQueryCriteria
(TaskQueryImpl taskQuery) findTasksByQueryCriteria
(TaskQueryImpl taskQuery, Page page) Deprecated.void
insertTask
(TaskEntity task) void
updateTaskSuspensionStateByCaseExecutionId
(String caseExecutionId, SuspensionState suspensionState) void
updateTaskSuspensionStateByProcessDefinitionId
(String processDefinitionId, SuspensionState suspensionState) void
updateTaskSuspensionStateByProcessDefinitionKey
(String processDefinitionKey, SuspensionState suspensionState) void
updateTaskSuspensionStateByProcessDefinitionKeyAndTenantId
(String processDefinitionKey, String processDefinitionTenantId, SuspensionState suspensionState) void
updateTaskSuspensionStateByProcessInstanceId
(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
-
Constructor Details
-
TaskManager
public TaskManager()
-
-
Method Details
-
insertTask
-
deleteTasksByProcessInstanceId
-
deleteTasksByCaseInstanceId
-
deleteTask
public void deleteTask(TaskEntity task, String deleteReason, boolean cascade, boolean skipCustomListeners) -
findTaskById
-
findTasksByExecutionId
-
findTaskByCaseExecutionId
-
findTasksByProcessInstanceId
-
findTasksByQueryCriteria
Deprecated. -
findTasksByQueryCriteria
-
findTaskCountByQueryCriteria
-
findTasksByNativeQuery
-
findTaskCountByNativeQuery
-
findTasksByParentTaskId
-
updateTaskSuspensionStateByProcessDefinitionId
public void updateTaskSuspensionStateByProcessDefinitionId(String processDefinitionId, SuspensionState suspensionState) -
updateTaskSuspensionStateByProcessInstanceId
public void updateTaskSuspensionStateByProcessInstanceId(String processInstanceId, SuspensionState suspensionState) -
updateTaskSuspensionStateByProcessDefinitionKey
public void updateTaskSuspensionStateByProcessDefinitionKey(String processDefinitionKey, SuspensionState suspensionState) -
updateTaskSuspensionStateByProcessDefinitionKeyAndTenantId
public void updateTaskSuspensionStateByProcessDefinitionKeyAndTenantId(String processDefinitionKey, String processDefinitionTenantId, SuspensionState suspensionState) -
updateTaskSuspensionStateByCaseExecutionId
public void updateTaskSuspensionStateByCaseExecutionId(String caseExecutionId, SuspensionState suspensionState) -
createDefaultAuthorizations
-
configureQuery
-
configureParameterizedQuery
-