public class HistoryServiceImpl extends CommonEngineServiceImpl<ProcessEngineConfigurationImpl> implements HistoryService
commandExecutorconfiguration| Constructor and Description |
|---|
HistoryServiceImpl(ProcessEngineConfigurationImpl processEngineConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
HistoricActivityInstanceQuery |
createHistoricActivityInstanceQuery()
Creates a new programmatic query to search for
HistoricActivityInstances. |
HistoricDetailQuery |
createHistoricDetailQuery()
Creates a new programmatic query to search for
HistoricDetails. |
HistoricProcessInstanceQuery |
createHistoricProcessInstanceQuery()
Creates a new programmatic query to search for
HistoricProcessInstances. |
org.flowable.task.api.history.HistoricTaskInstanceQuery |
createHistoricTaskInstanceQuery()
Creates a new programmatic query to search for
HistoricTaskInstances. |
org.flowable.task.api.history.HistoricTaskLogEntryBuilder |
createHistoricTaskLogEntryBuilder()
Create new task log entry builder to the log task event without predefined values from the task
|
org.flowable.task.api.history.HistoricTaskLogEntryBuilder |
createHistoricTaskLogEntryBuilder(org.flowable.task.api.TaskInfo task)
Create new task log entry builder to the log task event
|
org.flowable.task.api.history.HistoricTaskLogEntryQuery |
createHistoricTaskLogEntryQuery()
Returns a new
HistoricTaskLogEntryQuery that can be used to dynamically query task log entries. |
org.flowable.variable.api.history.HistoricVariableInstanceQuery |
createHistoricVariableInstanceQuery()
Creates a new programmatic query to search for
HistoricVariableInstances. |
NativeHistoricActivityInstanceQuery |
createNativeHistoricActivityInstanceQuery()
creates a native query to search for
HistoricActivityInstances via SQL |
NativeHistoricDetailQuery |
createNativeHistoricDetailQuery()
Returns a new
NativeQuery for process definitions. |
NativeHistoricProcessInstanceQuery |
createNativeHistoricProcessInstanceQuery()
creates a native query to search for
HistoricProcessInstances via SQL |
NativeHistoricTaskInstanceQuery |
createNativeHistoricTaskInstanceQuery()
creates a native query to search for
HistoricTaskInstances via SQL |
org.flowable.task.api.history.NativeHistoricTaskLogEntryQuery |
createNativeHistoricTaskLogEntryQuery()
Returns a new
NativeHistoricTaskLogEntryQuery for HistoricTaskLogEntrys. |
org.flowable.variable.api.history.NativeHistoricVariableInstanceQuery |
createNativeHistoricVariableInstanceQuery()
Returns a new
NativeQuery for process definitions. |
ProcessInstanceHistoryLogQuery |
createProcessInstanceHistoryLogQuery(String processInstanceId)
Allows to retrieve the
ProcessInstanceHistoryLog for one process instance. |
void |
deleteHistoricProcessInstance(String processInstanceId)
Deletes historic process instance.
|
void |
deleteHistoricTaskInstance(String taskId)
Deletes historic task instance.
|
void |
deleteHistoricTaskLogEntry(long logNumber)
Deletes user task log entry by its log number
|
void |
deleteRelatedDataOfRemovedHistoricProcessInstances()
Deletes historic identity links, detail info, variable data and entity links for removed process instances
|
void |
deleteTaskAndActivityDataOfRemovedHistoricProcessInstances()
Deletes historic task and activity data for removed process instances
|
List<org.flowable.entitylink.api.history.HistoricEntityLink> |
getHistoricEntityLinkChildrenForProcessInstance(String processInstanceId)
Retrieves the
HistoricEntityLinks associated with the given process instance. |
List<org.flowable.entitylink.api.history.HistoricEntityLink> |
getHistoricEntityLinkChildrenForTask(String taskId)
Retrieves the
HistoricEntityLinks associated with the given task. |
List<org.flowable.entitylink.api.history.HistoricEntityLink> |
getHistoricEntityLinkChildrenWithSameRootAsProcessInstance(String processInstanceId)
Retrieves all the
HistoricEntityLinks associated with same root as the given process instance. |
List<org.flowable.entitylink.api.history.HistoricEntityLink> |
getHistoricEntityLinkParentsForProcessInstance(String processInstanceId)
Retrieves the
HistoricEntityLinks where the given process instance is referenced. |
List<org.flowable.entitylink.api.history.HistoricEntityLink> |
getHistoricEntityLinkParentsForTask(String taskId)
Retrieves the
HistoricEntityLinks where the given task is referenced. |
List<org.flowable.identitylink.api.history.HistoricIdentityLink> |
getHistoricIdentityLinksForProcessInstance(String processInstanceId)
Retrieves the
HistoricIdentityLinks associated with the given process instance. |
List<org.flowable.identitylink.api.history.HistoricIdentityLink> |
getHistoricIdentityLinksForTask(String taskId)
Retrieves the
HistoricIdentityLinks associated with the given task. |
getCommandExecutor, setCommandExecutorgetConfigurationpublic HistoryServiceImpl(ProcessEngineConfigurationImpl processEngineConfiguration)
public HistoricProcessInstanceQuery createHistoricProcessInstanceQuery()
HistoryServiceHistoricProcessInstances.createHistoricProcessInstanceQuery in interface HistoryServicepublic HistoricActivityInstanceQuery createHistoricActivityInstanceQuery()
HistoryServiceHistoricActivityInstances.createHistoricActivityInstanceQuery in interface HistoryServicepublic org.flowable.task.api.history.HistoricTaskInstanceQuery createHistoricTaskInstanceQuery()
HistoryServiceHistoricTaskInstances.createHistoricTaskInstanceQuery in interface HistoryServicepublic HistoricDetailQuery createHistoricDetailQuery()
HistoryServiceHistoricDetails.createHistoricDetailQuery in interface HistoryServicepublic NativeHistoricDetailQuery createNativeHistoricDetailQuery()
HistoryServiceNativeQuery for process definitions.createNativeHistoricDetailQuery in interface HistoryServicepublic org.flowable.variable.api.history.HistoricVariableInstanceQuery createHistoricVariableInstanceQuery()
HistoryServiceHistoricVariableInstances.createHistoricVariableInstanceQuery in interface HistoryServicepublic org.flowable.variable.api.history.NativeHistoricVariableInstanceQuery createNativeHistoricVariableInstanceQuery()
HistoryServiceNativeQuery for process definitions.createNativeHistoricVariableInstanceQuery in interface HistoryServicepublic void deleteHistoricTaskInstance(String taskId)
HistoryServicedynamically created and then completed. If the
historic task instance doesn't exist, no exception is thrown and the method returns normal.deleteHistoricTaskInstance in interface HistoryServicepublic void deleteHistoricProcessInstance(String processInstanceId)
HistoryServicedeleteHistoricProcessInstance in interface HistoryServicepublic void deleteTaskAndActivityDataOfRemovedHistoricProcessInstances()
HistoryServicedeleteTaskAndActivityDataOfRemovedHistoricProcessInstances in interface HistoryServicepublic void deleteRelatedDataOfRemovedHistoricProcessInstances()
HistoryServicedeleteRelatedDataOfRemovedHistoricProcessInstances in interface HistoryServicepublic NativeHistoricProcessInstanceQuery createNativeHistoricProcessInstanceQuery()
HistoryServiceHistoricProcessInstances via SQLcreateNativeHistoricProcessInstanceQuery in interface HistoryServicepublic NativeHistoricTaskInstanceQuery createNativeHistoricTaskInstanceQuery()
HistoryServiceHistoricTaskInstances via SQLcreateNativeHistoricTaskInstanceQuery in interface HistoryServicepublic NativeHistoricActivityInstanceQuery createNativeHistoricActivityInstanceQuery()
HistoryServiceHistoricActivityInstances via SQLcreateNativeHistoricActivityInstanceQuery in interface HistoryServicepublic List<org.flowable.identitylink.api.history.HistoricIdentityLink> getHistoricIdentityLinksForProcessInstance(String processInstanceId)
HistoryServiceHistoricIdentityLinks associated with the given process instance. Such an IdentityLink informs how a certain identity (eg. group or user) is associated with a
certain process instance, even if the instance is completed as opposed to IdentityLinks which only exist for active instances.getHistoricIdentityLinksForProcessInstance in interface HistoryServicepublic List<org.flowable.identitylink.api.history.HistoricIdentityLink> getHistoricIdentityLinksForTask(String taskId)
HistoryServiceHistoricIdentityLinks associated with the given task. Such an IdentityLink informs 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 to IdentityLinks which only exist for active tasks.getHistoricIdentityLinksForTask in interface HistoryServicepublic List<org.flowable.entitylink.api.history.HistoricEntityLink> getHistoricEntityLinkChildrenForProcessInstance(String processInstanceId)
HistoryServiceHistoricEntityLinks associated with the given process instance.getHistoricEntityLinkChildrenForProcessInstance in interface HistoryServicepublic List<org.flowable.entitylink.api.history.HistoricEntityLink> getHistoricEntityLinkChildrenWithSameRootAsProcessInstance(String processInstanceId)
HistoryServiceHistoricEntityLinks associated with same root as the given process instance.getHistoricEntityLinkChildrenWithSameRootAsProcessInstance in interface HistoryServicepublic List<org.flowable.entitylink.api.history.HistoricEntityLink> getHistoricEntityLinkChildrenForTask(String taskId)
HistoryServiceHistoricEntityLinks associated with the given task.getHistoricEntityLinkChildrenForTask in interface HistoryServicepublic List<org.flowable.entitylink.api.history.HistoricEntityLink> getHistoricEntityLinkParentsForProcessInstance(String processInstanceId)
HistoryServiceHistoricEntityLinks where the given process instance is referenced.getHistoricEntityLinkParentsForProcessInstance in interface HistoryServicepublic List<org.flowable.entitylink.api.history.HistoricEntityLink> getHistoricEntityLinkParentsForTask(String taskId)
HistoryServiceHistoricEntityLinks where the given task is referenced.getHistoricEntityLinkParentsForTask in interface HistoryServicepublic ProcessInstanceHistoryLogQuery createProcessInstanceHistoryLogQuery(String processInstanceId)
HistoryServiceProcessInstanceHistoryLog for one process instance.createProcessInstanceHistoryLogQuery in interface HistoryServicepublic void deleteHistoricTaskLogEntry(long logNumber)
HistoryServicedeleteHistoricTaskLogEntry in interface HistoryServicelogNumber - user task log entry identifierpublic org.flowable.task.api.history.HistoricTaskLogEntryBuilder createHistoricTaskLogEntryBuilder(org.flowable.task.api.TaskInfo task)
HistoryServicecreateHistoricTaskLogEntryBuilder in interface HistoryServicetask - to which is log related topublic org.flowable.task.api.history.HistoricTaskLogEntryBuilder createHistoricTaskLogEntryBuilder()
HistoryServicecreateHistoricTaskLogEntryBuilder in interface HistoryServicepublic org.flowable.task.api.history.HistoricTaskLogEntryQuery createHistoricTaskLogEntryQuery()
HistoryServiceHistoricTaskLogEntryQuery that can be used to dynamically query task log entries.createHistoricTaskLogEntryQuery in interface HistoryServicepublic org.flowable.task.api.history.NativeHistoricTaskLogEntryQuery createNativeHistoricTaskLogEntryQuery()
HistoryServiceNativeHistoricTaskLogEntryQuery for HistoricTaskLogEntrys.createNativeHistoricTaskLogEntryQuery in interface HistoryServiceCopyright © 2020 Flowable. All rights reserved.