public interface HistoryService
| 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
|
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> |
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. |
HistoricProcessInstanceQuery createHistoricProcessInstanceQuery()
HistoricProcessInstances.HistoricActivityInstanceQuery createHistoricActivityInstanceQuery()
HistoricActivityInstances.org.flowable.task.api.history.HistoricTaskInstanceQuery createHistoricTaskInstanceQuery()
HistoricTaskInstances.HistoricDetailQuery createHistoricDetailQuery()
HistoricDetails.NativeHistoricDetailQuery createNativeHistoricDetailQuery()
NativeQuery for process definitions.org.flowable.variable.api.history.HistoricVariableInstanceQuery createHistoricVariableInstanceQuery()
HistoricVariableInstances.org.flowable.variable.api.history.NativeHistoricVariableInstanceQuery createNativeHistoricVariableInstanceQuery()
NativeQuery for process definitions.void deleteHistoricTaskInstance(String taskId)
dynamically created and then completed. If the
historic task instance doesn't exist, no exception is thrown and the method returns normal.void deleteHistoricProcessInstance(String processInstanceId)
NativeHistoricProcessInstanceQuery createNativeHistoricProcessInstanceQuery()
HistoricProcessInstances via SQLNativeHistoricTaskInstanceQuery createNativeHistoricTaskInstanceQuery()
HistoricTaskInstances via SQLNativeHistoricActivityInstanceQuery createNativeHistoricActivityInstanceQuery()
HistoricActivityInstances via SQLList<org.flowable.identitylink.api.history.HistoricIdentityLink> getHistoricIdentityLinksForTask(String taskId)
HistoricIdentityLinks 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.List<org.flowable.identitylink.api.history.HistoricIdentityLink> getHistoricIdentityLinksForProcessInstance(String processInstanceId)
HistoricIdentityLinks 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.List<org.flowable.entitylink.api.history.HistoricEntityLink> getHistoricEntityLinkChildrenForProcessInstance(String processInstanceId)
HistoricEntityLinks associated with the given process instance.List<org.flowable.entitylink.api.history.HistoricEntityLink> getHistoricEntityLinkChildrenForTask(String taskId)
HistoricEntityLinks associated with the given task.List<org.flowable.entitylink.api.history.HistoricEntityLink> getHistoricEntityLinkParentsForProcessInstance(String processInstanceId)
HistoricEntityLinks where the given process instance is referenced.List<org.flowable.entitylink.api.history.HistoricEntityLink> getHistoricEntityLinkParentsForTask(String taskId)
HistoricEntityLinks where the given task is referenced.ProcessInstanceHistoryLogQuery createProcessInstanceHistoryLogQuery(String processInstanceId)
ProcessInstanceHistoryLog for one process instance.void deleteHistoricTaskLogEntry(long logNumber)
logNumber - user task log entry identifierorg.flowable.task.api.history.HistoricTaskLogEntryBuilder createHistoricTaskLogEntryBuilder(org.flowable.task.api.TaskInfo task)
task - to which is log related toorg.flowable.task.api.history.HistoricTaskLogEntryBuilder createHistoricTaskLogEntryBuilder()
org.flowable.task.api.history.HistoricTaskLogEntryQuery createHistoricTaskLogEntryQuery()
HistoricTaskLogEntryQuery that can be used to dynamically query task log entries.org.flowable.task.api.history.NativeHistoricTaskLogEntryQuery createNativeHistoricTaskLogEntryQuery()
NativeHistoricTaskLogEntryQuery for HistoricTaskLogEntrys.Copyright © 2019 Flowable. All rights reserved.