Package org.flowable.task.service.impl
Class HistoricTaskServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<TaskServiceConfiguration>
org.flowable.task.service.impl.HistoricTaskServiceImpl
- All Implemented Interfaces:
HistoricTaskService
public class HistoricTaskServiceImpl
extends CommonServiceImpl<TaskServiceConfiguration>
implements HistoricTaskService
- Author:
- Tom Baeyens, Joram Barrez
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addHistoricTaskLogEntry
(TaskInfo task, String logEntryType, String data) Log new entry to the task log.void
bulkDeleteHistoricTaskInstances
(Collection<String> taskIds) void
protected void
createHistoricIdentityLink
(String taskId, String type, String userId, AbstractEngineConfiguration engineConfiguration) createHistoricTask
(TaskEntity taskEntity) void
createHistoricTaskLogEntry
(HistoricTaskLogEntryBuilder historicTaskLogEntryBuilder) createHistoricTaskLogEntryQuery
(CommandExecutor commandExecutor) createNativeHistoricTaskLogEntryQuery
(CommandExecutor commandExecutor) void
deleteHistoricTask
(HistoricTaskInstanceEntity HistoricTaskInstance) void
deleteHistoricTaskInstances
(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery) void
void
void
void
void
deleteHistoricTaskLogEntriesForProcessDefinition
(String processDefinitionId) void
deleteHistoricTaskLogEntriesForScopeDefinition
(String scopeType, String scopeDefinitionId) void
void
deleteHistoricTaskLogEntry
(long logNumber) findHistoricTaskIdsByParentTaskIds
(Collection<String> parentTaskIds) findHistoricTaskInstancesByQueryCriteria
(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery) findHistoricTasksByParentTaskId
(String parentTaskId) findHistoricTasksByProcessInstanceId
(String processInstanceId) protected HistoricTaskLogEntryEntityManager
protected IdentityLinkServiceConfiguration
getIdentityLinkServiceConfiguration
(AbstractEngineConfiguration engineConfiguration) void
insertHistoricTask
(HistoricTaskInstanceEntity historicTaskInstanceEntity, boolean fireCreateEvent) recordTaskCreated
(TaskEntity task) recordTaskEnd
(TaskEntity task, String deleteReason, Date endTime) recordTaskInfoChange
(TaskEntity taskEntity, Date changeTime, AbstractEngineConfiguration engineConfiguration) void
updateHistoricTask
(HistoricTaskInstanceEntity historicTaskInstanceEntity, boolean fireUpdateEvent) Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Constructor Details
-
HistoricTaskServiceImpl
-
-
Method Details
-
getHistoricTask
- Specified by:
getHistoricTask
in interfaceHistoricTaskService
-
findHistoricTasksByParentTaskId
- Specified by:
findHistoricTasksByParentTaskId
in interfaceHistoricTaskService
-
findHistoricTaskIdsByParentTaskIds
- Specified by:
findHistoricTaskIdsByParentTaskIds
in interfaceHistoricTaskService
-
findHistoricTasksByProcessInstanceId
public List<HistoricTaskInstanceEntity> findHistoricTasksByProcessInstanceId(String processInstanceId) - Specified by:
findHistoricTasksByProcessInstanceId
in interfaceHistoricTaskService
-
findHistoricTaskInstancesByQueryCriteria
public List<HistoricTaskInstance> findHistoricTaskInstancesByQueryCriteria(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery) - Specified by:
findHistoricTaskInstancesByQueryCriteria
in interfaceHistoricTaskService
-
createHistoricTask
- Specified by:
createHistoricTask
in interfaceHistoricTaskService
-
createHistoricTask
- Specified by:
createHistoricTask
in interfaceHistoricTaskService
-
updateHistoricTask
public void updateHistoricTask(HistoricTaskInstanceEntity historicTaskInstanceEntity, boolean fireUpdateEvent) - Specified by:
updateHistoricTask
in interfaceHistoricTaskService
-
insertHistoricTask
public void insertHistoricTask(HistoricTaskInstanceEntity historicTaskInstanceEntity, boolean fireCreateEvent) - Specified by:
insertHistoricTask
in interfaceHistoricTaskService
-
deleteHistoricTask
- Specified by:
deleteHistoricTask
in interfaceHistoricTaskService
-
recordTaskCreated
- Specified by:
recordTaskCreated
in interfaceHistoricTaskService
-
recordTaskEnd
- Specified by:
recordTaskEnd
in interfaceHistoricTaskService
-
recordTaskInfoChange
public HistoricTaskInstanceEntity recordTaskInfoChange(TaskEntity taskEntity, Date changeTime, AbstractEngineConfiguration engineConfiguration) - Specified by:
recordTaskInfoChange
in interfaceHistoricTaskService
-
deleteHistoricTaskLogEntry
public void deleteHistoricTaskLogEntry(long logNumber) - Specified by:
deleteHistoricTaskLogEntry
in interfaceHistoricTaskService
-
addHistoricTaskLogEntry
Description copied from interface:HistoricTaskService
Log new entry to the task log.- Specified by:
addHistoricTaskLogEntry
in interfaceHistoricTaskService
- Parameters:
task
- task to which add log entrylogEntryType
- log entry typedata
- log entry data
-
createHistoricTaskLogEntry
- Specified by:
createHistoricTaskLogEntry
in interfaceHistoricTaskService
-
createHistoricTaskLogEntryQuery
- Specified by:
createHistoricTaskLogEntryQuery
in interfaceHistoricTaskService
-
deleteHistoricTaskLogEntriesForProcessDefinition
- Specified by:
deleteHistoricTaskLogEntriesForProcessDefinition
in interfaceHistoricTaskService
-
deleteHistoricTaskLogEntriesForScopeDefinition
public void deleteHistoricTaskLogEntriesForScopeDefinition(String scopeType, String scopeDefinitionId) - Specified by:
deleteHistoricTaskLogEntriesForScopeDefinition
in interfaceHistoricTaskService
-
deleteHistoricTaskLogEntriesForTaskId
- Specified by:
deleteHistoricTaskLogEntriesForTaskId
in interfaceHistoricTaskService
-
bulkDeleteHistoricTaskLogEntriesForTaskIds
- Specified by:
bulkDeleteHistoricTaskLogEntriesForTaskIds
in interfaceHistoricTaskService
-
deleteHistoricTaskLogEntriesForNonExistingProcessInstances
public void deleteHistoricTaskLogEntriesForNonExistingProcessInstances()- Specified by:
deleteHistoricTaskLogEntriesForNonExistingProcessInstances
in interfaceHistoricTaskService
-
deleteHistoricTaskLogEntriesForNonExistingCaseInstances
public void deleteHistoricTaskLogEntriesForNonExistingCaseInstances()- Specified by:
deleteHistoricTaskLogEntriesForNonExistingCaseInstances
in interfaceHistoricTaskService
-
deleteHistoricTaskInstances
- Specified by:
deleteHistoricTaskInstances
in interfaceHistoricTaskService
-
bulkDeleteHistoricTaskInstances
- Specified by:
bulkDeleteHistoricTaskInstances
in interfaceHistoricTaskService
-
deleteHistoricTaskInstancesForNonExistingProcessInstances
public void deleteHistoricTaskInstancesForNonExistingProcessInstances()- Specified by:
deleteHistoricTaskInstancesForNonExistingProcessInstances
in interfaceHistoricTaskService
-
deleteHistoricTaskInstancesForNonExistingCaseInstances
public void deleteHistoricTaskInstancesForNonExistingCaseInstances()- Specified by:
deleteHistoricTaskInstancesForNonExistingCaseInstances
in interfaceHistoricTaskService
-
createNativeHistoricTaskLogEntryQuery
public NativeHistoricTaskLogEntryQuery createNativeHistoricTaskLogEntryQuery(CommandExecutor commandExecutor) - Specified by:
createNativeHistoricTaskLogEntryQuery
in interfaceHistoricTaskService
-
getHistoricTaskLogEntryEntityManager
-
createHistoricIdentityLink
protected void createHistoricIdentityLink(String taskId, String type, String userId, AbstractEngineConfiguration engineConfiguration) -
getHistoricTaskInstanceEntityManager
-
getIdentityLinkServiceConfiguration
protected IdentityLinkServiceConfiguration getIdentityLinkServiceConfiguration(AbstractEngineConfiguration engineConfiguration)
-