public class TaskServiceImpl extends ServiceImpl implements TaskService
taskServiceConfiguration| Constructor and Description |
|---|
TaskServiceImpl() |
TaskServiceImpl(TaskServiceConfiguration taskServiceConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
void |
changeTaskAssignee(TaskEntity taskEntity,
String userId) |
void |
changeTaskOwner(TaskEntity taskEntity,
String ownerId) |
TaskEntity |
createTask() |
void |
deleteTask(TaskEntity task,
boolean fireEvents) |
List<TaskEntity> |
findTasksByExecutionId(String executionId) |
List<Task> |
findTasksByParentTaskId(String parentTaskId) |
List<TaskEntity> |
findTasksByProcessInstanceId(String processInstanceId) |
List<TaskEntity> |
findTasksBySubScopeIdScopeType(String subScopeId,
String scopeType) |
TaskEntity |
getTask(String id) |
void |
insertTask(TaskEntity taskEntity,
boolean fireCreateEvent) |
void |
updateAllTaskRelatedEntityCountFlags(boolean configProperty) |
void |
updateTask(TaskEntity taskEntity,
boolean fireUpdateEvent) |
void |
updateTaskTenantIdForDeployment(String deploymentId,
String tenantId) |
getHistoricTaskInstanceEntityManager, getTaskEntityManagerpublic TaskServiceImpl()
public TaskServiceImpl(TaskServiceConfiguration taskServiceConfiguration)
public TaskEntity getTask(String id)
getTask in interface TaskServicepublic List<TaskEntity> findTasksByExecutionId(String executionId)
findTasksByExecutionId in interface TaskServicepublic List<TaskEntity> findTasksByProcessInstanceId(String processInstanceId)
findTasksByProcessInstanceId in interface TaskServicepublic List<Task> findTasksByParentTaskId(String parentTaskId)
findTasksByParentTaskId in interface TaskServicepublic List<TaskEntity> findTasksBySubScopeIdScopeType(String subScopeId, String scopeType)
findTasksBySubScopeIdScopeType in interface TaskServicepublic void changeTaskAssignee(TaskEntity taskEntity, String userId)
changeTaskAssignee in interface TaskServicepublic void changeTaskOwner(TaskEntity taskEntity, String ownerId)
changeTaskOwner in interface TaskServicepublic void updateTaskTenantIdForDeployment(String deploymentId, String tenantId)
updateTaskTenantIdForDeployment in interface TaskServicepublic void updateTask(TaskEntity taskEntity, boolean fireUpdateEvent)
updateTask in interface TaskServicepublic void updateAllTaskRelatedEntityCountFlags(boolean configProperty)
updateAllTaskRelatedEntityCountFlags in interface TaskServicepublic TaskEntity createTask()
createTask in interface TaskServicepublic void insertTask(TaskEntity taskEntity, boolean fireCreateEvent)
insertTask in interface TaskServicepublic void deleteTask(TaskEntity task, boolean fireEvents)
deleteTask in interface TaskServiceCopyright © 2017 Flowable. All rights reserved.