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 TypeMethodDescriptionvoidaddHistoricTaskLogEntry(TaskInfo task, String logEntryType, String data) Log new entry to the task log.voidbulkDeleteHistoricTaskInstances(Collection<String> taskIds) voidprotected voidcreateHistoricIdentityLink(String taskId, String type, String userId, AbstractEngineConfiguration engineConfiguration) createHistoricTask(TaskEntity taskEntity) voidcreateHistoricTaskLogEntry(HistoricTaskLogEntryBuilder historicTaskLogEntryBuilder) createHistoricTaskLogEntryQuery(CommandExecutor commandExecutor) createNativeHistoricTaskLogEntryQuery(CommandExecutor commandExecutor) voiddeleteHistoricTask(HistoricTaskInstanceEntity HistoricTaskInstance) voiddeleteHistoricTaskInstances(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery) voidvoidvoidvoidvoiddeleteHistoricTaskLogEntriesForProcessDefinition(String processDefinitionId) voiddeleteHistoricTaskLogEntriesForScopeDefinition(String scopeType, String scopeDefinitionId) voidvoiddeleteHistoricTaskLogEntry(long logNumber) findHistoricTaskIdsByParentTaskIds(Collection<String> parentTaskIds) findHistoricTaskInstancesByQueryCriteria(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery) findHistoricTasksByParentTaskId(String parentTaskId) findHistoricTasksByProcessInstanceId(String processInstanceId) protected HistoricTaskLogEntryEntityManagerprotected IdentityLinkServiceConfigurationgetIdentityLinkServiceConfiguration(AbstractEngineConfiguration engineConfiguration) voidinsertHistoricTask(HistoricTaskInstanceEntity historicTaskInstanceEntity, boolean fireCreateEvent) recordTaskCreated(TaskEntity task) recordTaskEnd(TaskEntity task, String deleteReason, Date endTime) recordTaskInfoChange(TaskEntity taskEntity, Date changeTime, AbstractEngineConfiguration engineConfiguration) voidupdateHistoricTask(HistoricTaskInstanceEntity historicTaskInstanceEntity, boolean fireUpdateEvent) Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Constructor Details
-
HistoricTaskServiceImpl
-
-
Method Details
-
getHistoricTask
- Specified by:
getHistoricTaskin interfaceHistoricTaskService
-
findHistoricTasksByParentTaskId
- Specified by:
findHistoricTasksByParentTaskIdin interfaceHistoricTaskService
-
findHistoricTaskIdsByParentTaskIds
- Specified by:
findHistoricTaskIdsByParentTaskIdsin interfaceHistoricTaskService
-
findHistoricTasksByProcessInstanceId
public List<HistoricTaskInstanceEntity> findHistoricTasksByProcessInstanceId(String processInstanceId) - Specified by:
findHistoricTasksByProcessInstanceIdin interfaceHistoricTaskService
-
findHistoricTaskInstancesByQueryCriteria
public List<HistoricTaskInstance> findHistoricTaskInstancesByQueryCriteria(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery) - Specified by:
findHistoricTaskInstancesByQueryCriteriain interfaceHistoricTaskService
-
createHistoricTask
- Specified by:
createHistoricTaskin interfaceHistoricTaskService
-
createHistoricTask
- Specified by:
createHistoricTaskin interfaceHistoricTaskService
-
updateHistoricTask
public void updateHistoricTask(HistoricTaskInstanceEntity historicTaskInstanceEntity, boolean fireUpdateEvent) - Specified by:
updateHistoricTaskin interfaceHistoricTaskService
-
insertHistoricTask
public void insertHistoricTask(HistoricTaskInstanceEntity historicTaskInstanceEntity, boolean fireCreateEvent) - Specified by:
insertHistoricTaskin interfaceHistoricTaskService
-
deleteHistoricTask
- Specified by:
deleteHistoricTaskin interfaceHistoricTaskService
-
recordTaskCreated
- Specified by:
recordTaskCreatedin interfaceHistoricTaskService
-
recordTaskEnd
- Specified by:
recordTaskEndin interfaceHistoricTaskService
-
recordTaskInfoChange
public HistoricTaskInstanceEntity recordTaskInfoChange(TaskEntity taskEntity, Date changeTime, AbstractEngineConfiguration engineConfiguration) - Specified by:
recordTaskInfoChangein interfaceHistoricTaskService
-
deleteHistoricTaskLogEntry
public void deleteHistoricTaskLogEntry(long logNumber) - Specified by:
deleteHistoricTaskLogEntryin interfaceHistoricTaskService
-
addHistoricTaskLogEntry
Description copied from interface:HistoricTaskServiceLog new entry to the task log.- Specified by:
addHistoricTaskLogEntryin interfaceHistoricTaskService- Parameters:
task- task to which add log entrylogEntryType- log entry typedata- log entry data
-
createHistoricTaskLogEntry
- Specified by:
createHistoricTaskLogEntryin interfaceHistoricTaskService
-
createHistoricTaskLogEntryQuery
- Specified by:
createHistoricTaskLogEntryQueryin interfaceHistoricTaskService
-
deleteHistoricTaskLogEntriesForProcessDefinition
- Specified by:
deleteHistoricTaskLogEntriesForProcessDefinitionin interfaceHistoricTaskService
-
deleteHistoricTaskLogEntriesForScopeDefinition
public void deleteHistoricTaskLogEntriesForScopeDefinition(String scopeType, String scopeDefinitionId) - Specified by:
deleteHistoricTaskLogEntriesForScopeDefinitionin interfaceHistoricTaskService
-
deleteHistoricTaskLogEntriesForTaskId
- Specified by:
deleteHistoricTaskLogEntriesForTaskIdin interfaceHistoricTaskService
-
bulkDeleteHistoricTaskLogEntriesForTaskIds
- Specified by:
bulkDeleteHistoricTaskLogEntriesForTaskIdsin interfaceHistoricTaskService
-
deleteHistoricTaskLogEntriesForNonExistingProcessInstances
public void deleteHistoricTaskLogEntriesForNonExistingProcessInstances()- Specified by:
deleteHistoricTaskLogEntriesForNonExistingProcessInstancesin interfaceHistoricTaskService
-
deleteHistoricTaskLogEntriesForNonExistingCaseInstances
public void deleteHistoricTaskLogEntriesForNonExistingCaseInstances()- Specified by:
deleteHistoricTaskLogEntriesForNonExistingCaseInstancesin interfaceHistoricTaskService
-
deleteHistoricTaskInstances
- Specified by:
deleteHistoricTaskInstancesin interfaceHistoricTaskService
-
bulkDeleteHistoricTaskInstances
- Specified by:
bulkDeleteHistoricTaskInstancesin interfaceHistoricTaskService
-
deleteHistoricTaskInstancesForNonExistingProcessInstances
public void deleteHistoricTaskInstancesForNonExistingProcessInstances()- Specified by:
deleteHistoricTaskInstancesForNonExistingProcessInstancesin interfaceHistoricTaskService
-
deleteHistoricTaskInstancesForNonExistingCaseInstances
public void deleteHistoricTaskInstancesForNonExistingCaseInstances()- Specified by:
deleteHistoricTaskInstancesForNonExistingCaseInstancesin interfaceHistoricTaskService
-
createNativeHistoricTaskLogEntryQuery
public NativeHistoricTaskLogEntryQuery createNativeHistoricTaskLogEntryQuery(CommandExecutor commandExecutor) - Specified by:
createNativeHistoricTaskLogEntryQueryin interfaceHistoricTaskService
-
getHistoricTaskLogEntryEntityManager
-
createHistoricIdentityLink
protected void createHistoricIdentityLink(String taskId, String type, String userId, AbstractEngineConfiguration engineConfiguration) -
getHistoricTaskInstanceEntityManager
-
getIdentityLinkServiceConfiguration
protected IdentityLinkServiceConfiguration getIdentityLinkServiceConfiguration(AbstractEngineConfiguration engineConfiguration)
-