public interface HistoryService
Modifier and Type | Method and Description |
---|---|
HistoricActivityInstanceQuery |
createHistoricActivityInstanceQuery()
Creates a new programmatic query to search for
HistoricActivityInstance s. |
HistoricDetailQuery |
createHistoricDetailQuery()
Creates a new programmatic query to search for
HistoricDetail s. |
HistoricProcessInstanceQuery |
createHistoricProcessInstanceQuery()
Creates a new programmatic query to search for
HistoricProcessInstance s. |
org.flowable.task.api.history.HistoricTaskInstanceQuery |
createHistoricTaskInstanceQuery()
Creates a new programmatic query to search for
HistoricTaskInstance s. |
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
HistoricVariableInstance s. |
NativeHistoricActivityInstanceQuery |
createNativeHistoricActivityInstanceQuery()
creates a native query to search for
HistoricActivityInstance s via SQL |
NativeHistoricDetailQuery |
createNativeHistoricDetailQuery()
Returns a new
NativeQuery for process definitions. |
NativeHistoricProcessInstanceQuery |
createNativeHistoricProcessInstanceQuery()
creates a native query to search for
HistoricProcessInstance s via SQL |
NativeHistoricTaskInstanceQuery |
createNativeHistoricTaskInstanceQuery()
creates a native query to search for
HistoricTaskInstance s via SQL |
org.flowable.task.api.history.NativeHistoricTaskLogEntryQuery |
createNativeHistoricTaskLogEntryQuery()
Returns a new
NativeHistoricTaskLogEntryQuery for HistoricTaskLogEntry s. |
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
HistoricEntityLink s associated with the given process instance. |
List<org.flowable.entitylink.api.history.HistoricEntityLink> |
getHistoricEntityLinkChildrenForTask(String taskId)
Retrieves the
HistoricEntityLink s associated with the given task. |
List<org.flowable.entitylink.api.history.HistoricEntityLink> |
getHistoricEntityLinkChildrenWithSameRootAsProcessInstance(String processInstanceId)
Retrieves all the
HistoricEntityLink s associated with same root as the given process instance. |
List<org.flowable.entitylink.api.history.HistoricEntityLink> |
getHistoricEntityLinkParentsForProcessInstance(String processInstanceId)
Retrieves the
HistoricEntityLink s where the given process instance is referenced. |
List<org.flowable.entitylink.api.history.HistoricEntityLink> |
getHistoricEntityLinkParentsForTask(String taskId)
Retrieves the
HistoricEntityLink s where the given task is referenced. |
List<org.flowable.identitylink.api.history.HistoricIdentityLink> |
getHistoricIdentityLinksForProcessInstance(String processInstanceId)
Retrieves the
HistoricIdentityLink s associated with the given process instance. |
List<org.flowable.identitylink.api.history.HistoricIdentityLink> |
getHistoricIdentityLinksForTask(String taskId)
Retrieves the
HistoricIdentityLink s associated with the given task. |
HistoricProcessInstanceQuery createHistoricProcessInstanceQuery()
HistoricProcessInstance
s.HistoricActivityInstanceQuery createHistoricActivityInstanceQuery()
HistoricActivityInstance
s.org.flowable.task.api.history.HistoricTaskInstanceQuery createHistoricTaskInstanceQuery()
HistoricTaskInstance
s.HistoricDetailQuery createHistoricDetailQuery()
HistoricDetail
s.NativeHistoricDetailQuery createNativeHistoricDetailQuery()
NativeQuery
for process definitions.org.flowable.variable.api.history.HistoricVariableInstanceQuery createHistoricVariableInstanceQuery()
HistoricVariableInstance
s.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)
void deleteTaskAndActivityDataOfRemovedHistoricProcessInstances()
void deleteRelatedDataOfRemovedHistoricProcessInstances()
NativeHistoricProcessInstanceQuery createNativeHistoricProcessInstanceQuery()
HistoricProcessInstance
s via SQLNativeHistoricTaskInstanceQuery createNativeHistoricTaskInstanceQuery()
HistoricTaskInstance
s via SQLNativeHistoricActivityInstanceQuery createNativeHistoricActivityInstanceQuery()
HistoricActivityInstance
s via SQLList<org.flowable.identitylink.api.history.HistoricIdentityLink> getHistoricIdentityLinksForTask(String taskId)
HistoricIdentityLink
s 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 IdentityLink
s which only exist for active tasks.List<org.flowable.identitylink.api.history.HistoricIdentityLink> getHistoricIdentityLinksForProcessInstance(String processInstanceId)
HistoricIdentityLink
s 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 IdentityLink
s which only exist for active instances.List<org.flowable.entitylink.api.history.HistoricEntityLink> getHistoricEntityLinkChildrenForProcessInstance(String processInstanceId)
HistoricEntityLink
s associated with the given process instance.List<org.flowable.entitylink.api.history.HistoricEntityLink> getHistoricEntityLinkChildrenWithSameRootAsProcessInstance(String processInstanceId)
HistoricEntityLink
s associated with same root as the given process instance.List<org.flowable.entitylink.api.history.HistoricEntityLink> getHistoricEntityLinkChildrenForTask(String taskId)
HistoricEntityLink
s associated with the given task.List<org.flowable.entitylink.api.history.HistoricEntityLink> getHistoricEntityLinkParentsForProcessInstance(String processInstanceId)
HistoricEntityLink
s where the given process instance is referenced.List<org.flowable.entitylink.api.history.HistoricEntityLink> getHistoricEntityLinkParentsForTask(String taskId)
HistoricEntityLink
s 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 HistoricTaskLogEntry
s.Copyright © 2020 Flowable. All rights reserved.