public class TaskManager extends AbstractManager
Constructor and Description |
---|
TaskManager() |
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricBatchManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricIdentityLinkManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricReportManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getTaskReportManager, getTenantManager, 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 updateTaskSuspensionStateByProcessDefinitionKeyAndTenantId(String processDefinitionKey, String processDefinitionTenantId, SuspensionState suspensionState)
public void updateTaskSuspensionStateByCaseExecutionId(String caseExecutionId, SuspensionState suspensionState)
protected void createDefaultAuthorizations(TaskEntity task)
protected void configureQuery(TaskQueryImpl query)
protected ListQueryParameterObject configureParameterizedQuery(Object parameter)
Copyright © 2018. All rights reserved.