Package org.activiti.engine.impl
Class HistoryServiceImpl
- java.lang.Object
-
- org.activiti.engine.impl.ServiceImpl
-
- org.activiti.engine.impl.HistoryServiceImpl
-
- All Implemented Interfaces:
HistoryService
public class HistoryServiceImpl extends ServiceImpl implements HistoryService
-
-
Field Summary
-
Fields inherited from class org.activiti.engine.impl.ServiceImpl
commandExecutor, processEngineConfiguration
-
-
Constructor Summary
Constructors Constructor Description HistoryServiceImpl(ProcessEngineConfigurationImpl processEngineConfiguration)
-
Method Summary
-
Methods inherited from class org.activiti.engine.impl.ServiceImpl
getCommandExecutor, setCommandExecutor
-
-
-
-
Constructor Detail
-
HistoryServiceImpl
public HistoryServiceImpl(ProcessEngineConfigurationImpl processEngineConfiguration)
-
-
Method Detail
-
createHistoricProcessInstanceQuery
public HistoricProcessInstanceQuery createHistoricProcessInstanceQuery()
Description copied from interface:HistoryServiceCreates a new programmatic query to search forHistoricProcessInstances.- Specified by:
createHistoricProcessInstanceQueryin interfaceHistoryService
-
createHistoricActivityInstanceQuery
public HistoricActivityInstanceQuery createHistoricActivityInstanceQuery()
Description copied from interface:HistoryServiceCreates a new programmatic query to search forHistoricActivityInstances.- Specified by:
createHistoricActivityInstanceQueryin interfaceHistoryService
-
createHistoricTaskInstanceQuery
public HistoricTaskInstanceQuery createHistoricTaskInstanceQuery()
Description copied from interface:HistoryServiceCreates a new programmatic query to search forHistoricTaskInstances.- Specified by:
createHistoricTaskInstanceQueryin interfaceHistoryService
-
createHistoricDetailQuery
public HistoricDetailQuery createHistoricDetailQuery()
Description copied from interface:HistoryServiceCreates a new programmatic query to search forHistoricDetails.- Specified by:
createHistoricDetailQueryin interfaceHistoryService
-
createNativeHistoricDetailQuery
public NativeHistoricDetailQuery createNativeHistoricDetailQuery()
Description copied from interface:HistoryServiceReturns a newNativeQueryfor process definitions.- Specified by:
createNativeHistoricDetailQueryin interfaceHistoryService
-
createHistoricVariableInstanceQuery
public HistoricVariableInstanceQuery createHistoricVariableInstanceQuery()
Description copied from interface:HistoryServiceCreates a new programmatic query to search forHistoricVariableInstances.- Specified by:
createHistoricVariableInstanceQueryin interfaceHistoryService
-
createNativeHistoricVariableInstanceQuery
public NativeHistoricVariableInstanceQuery createNativeHistoricVariableInstanceQuery()
Description copied from interface:HistoryServiceReturns a newNativeQueryfor process definitions.- Specified by:
createNativeHistoricVariableInstanceQueryin interfaceHistoryService
-
deleteHistoricTaskInstance
public void deleteHistoricTaskInstance(java.lang.String taskId)
Description copied from interface:HistoryServiceDeletes historic task instance. This might be useful for tasks that aredynamically createdand thencompleted. If the historic task instance doesn't exist, no exception is thrown and the method returns normal.- Specified by:
deleteHistoricTaskInstancein interfaceHistoryService
-
deleteHistoricProcessInstance
public void deleteHistoricProcessInstance(java.lang.String processInstanceId)
Description copied from interface:HistoryServiceDeletes historic process instance. All historic activities, historic task and historic details (variable updates, form properties) are deleted as well.- Specified by:
deleteHistoricProcessInstancein interfaceHistoryService
-
createNativeHistoricProcessInstanceQuery
public NativeHistoricProcessInstanceQuery createNativeHistoricProcessInstanceQuery()
Description copied from interface:HistoryServicecreates a native query to search forHistoricProcessInstances via SQL- Specified by:
createNativeHistoricProcessInstanceQueryin interfaceHistoryService
-
createNativeHistoricTaskInstanceQuery
public NativeHistoricTaskInstanceQuery createNativeHistoricTaskInstanceQuery()
Description copied from interface:HistoryServicecreates a native query to search forHistoricTaskInstances via SQL- Specified by:
createNativeHistoricTaskInstanceQueryin interfaceHistoryService
-
createNativeHistoricActivityInstanceQuery
public NativeHistoricActivityInstanceQuery createNativeHistoricActivityInstanceQuery()
Description copied from interface:HistoryServicecreates a native query to search forHistoricActivityInstances via SQL- Specified by:
createNativeHistoricActivityInstanceQueryin interfaceHistoryService
-
getHistoricIdentityLinksForProcessInstance
public java.util.List<HistoricIdentityLink> getHistoricIdentityLinksForProcessInstance(java.lang.String processInstanceId)
Description copied from interface:HistoryServiceRetrieves theHistoricIdentityLinks associated with the given process instance. Such anIdentityLinkinforms how a certain identity (eg. group or user) is associated with a certain process instance, even if the instance is completed as opposed toIdentityLinks which only exist for active instances.- Specified by:
getHistoricIdentityLinksForProcessInstancein interfaceHistoryService
-
getHistoricIdentityLinksForTask
public java.util.List<HistoricIdentityLink> getHistoricIdentityLinksForTask(java.lang.String taskId)
Description copied from interface:HistoryServiceRetrieves theHistoricIdentityLinks associated with the given task. Such anIdentityLinkinforms how a certain identity (eg. group or user) is associated with a certain task (eg. as candidate, assignee, etc.), even if the task is completed as opposed toIdentityLinks which only exist for active tasks.- Specified by:
getHistoricIdentityLinksForTaskin interfaceHistoryService
-
createProcessInstanceHistoryLogQuery
public ProcessInstanceHistoryLogQuery createProcessInstanceHistoryLogQuery(java.lang.String processInstanceId)
Description copied from interface:HistoryServiceAllows to retrieve theProcessInstanceHistoryLogfor one process instance.- Specified by:
createProcessInstanceHistoryLogQueryin interfaceHistoryService
-
-