public class TaskManager extends AbstractManager
Constructor and Description |
---|
TaskManager() |
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getByteArrayManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizations
public void insertTask(TaskEntity task)
public void deleteTasksByProcessInstanceId(String processInstanceId, String deleteReason, boolean cascade, boolean skipCustomListeners)
public void deleteTasksByCaseInstanceId(String caseInstanceId, String deleteReason, boolean cascade)
public void deleteTask(TaskEntity task, String deleteReason, boolean cascade, boolean skipCustomListeners)
public TaskEntity findTaskById(String id)
public List<TaskEntity> findTasksByExecutionId(String executionId)
public TaskEntity findTaskByCaseExecutionId(String caseExecutionId)
public List<TaskEntity> findTasksByProcessInstanceId(String processInstanceId)
@Deprecated public List<Task> findTasksByQueryCriteria(TaskQueryImpl taskQuery, Page page)
public List<Task> findTasksByQueryCriteria(TaskQueryImpl taskQuery)
public long findTaskCountByQueryCriteria(TaskQueryImpl taskQuery)
public List<Task> findTasksByNativeQuery(Map<String,Object> parameterMap, int firstResult, int maxResults)
public void updateTaskSuspensionStateByProcessDefinitionId(String processDefinitionId, SuspensionState suspensionState)
public void updateTaskSuspensionStateByProcessInstanceId(String processInstanceId, SuspensionState suspensionState)
public void updateTaskSuspensionStateByProcessDefinitionKey(String processDefinitionKey, SuspensionState suspensionState)
public void updateTaskSuspensionStateByCaseExecutionId(String caseExecutionId, SuspensionState suspensionState)
protected void createDefaultAuthorizations(TaskEntity task)
protected void configureAuthorizationCheck(TaskQueryImpl query)
Copyright © 2018. All rights reserved.