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 Details

    • TaskManager

      public TaskManager()
  • Method Details

    • 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)
    • findTasksByParentTaskId

      public List<Task> findTasksByParentTaskId(String parentTaskId)
    • 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)