Class TaskManager
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.AbstractManager
-
- org.camunda.bpm.engine.impl.persistence.entity.TaskManager
-
- All Implemented Interfaces:
Session
public class TaskManager extends AbstractManager
- Author:
- Tom Baeyens
-
-
Constructor Summary
Constructors Constructor Description TaskManager()
-
Method Summary
-
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
-
-
-
-
Method Detail
-
insertTask
public void insertTask(TaskEntity task)
-
deleteTasksByProcessInstanceId
public void deleteTasksByProcessInstanceId(String processInstanceId, String deleteReason, boolean cascade, boolean skipCustomListeners)
-
deleteTasksByCaseInstanceId
public void deleteTasksByCaseInstanceId(String caseInstanceId, String deleteReason, boolean cascade)
-
deleteTask
public void deleteTask(TaskEntity task, String deleteReason, boolean cascade, boolean skipCustomListeners)
-
findTaskById
public TaskEntity findTaskById(String id)
-
findTasksByExecutionId
public List<TaskEntity> findTasksByExecutionId(String executionId)
-
findTaskByCaseExecutionId
public TaskEntity findTaskByCaseExecutionId(String caseExecutionId)
-
findTasksByProcessInstanceId
public List<TaskEntity> findTasksByProcessInstanceId(String processInstanceId)
-
findTasksByQueryCriteria
@Deprecated public List<Task> findTasksByQueryCriteria(TaskQueryImpl taskQuery, Page page)
Deprecated.
-
findTasksByQueryCriteria
public List<Task> findTasksByQueryCriteria(TaskQueryImpl taskQuery)
-
findTaskCountByQueryCriteria
public long findTaskCountByQueryCriteria(TaskQueryImpl taskQuery)
-
findTasksByNativeQuery
public List<Task> findTasksByNativeQuery(Map<String,Object> parameterMap, int firstResult, int maxResults)
-
findTaskCountByNativeQuery
public long findTaskCountByNativeQuery(Map<String,Object> parameterMap)
-
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
protected void createDefaultAuthorizations(TaskEntity task)
-
configureQuery
protected void configureQuery(TaskQueryImpl query)
-
configureParameterizedQuery
protected ListQueryParameterObject configureParameterizedQuery(Object parameter)
-
-