Package org.flowable.engine.history
Interface ProcessInstanceHistoryLogQuery
- All Known Implementing Classes:
ProcessInstanceHistoryLogQueryImpl
public interface ProcessInstanceHistoryLogQuery
Allows to fetch the
ProcessInstanceHistoryLog for a process instance.
Note that every includeXXX() method below will lead to an additional query.
This class is actually a convenience on top of the other specific queries such as HistoricTaskInstanceQuery, HistoricActivityInstanceQuery, ... It will execute separate queries for
each included type, order the data according to the date (ascending) and wrap the results in the ProcessInstanceHistoryLog.- Author:
- Joram Barrez
-
Method Summary
Modifier and TypeMethodDescriptionTheProcessInstanceHistoryLogwill contain theHistoricActivityInstanceinstances.TheProcessInstanceHistoryLogwill contain theCommentinstances.TheProcessInstanceHistoryLogwill contain theHistoricFormPropertyinstances.TheProcessInstanceHistoryLogwill contain theHistoricTaskInstanceinstances.TheProcessInstanceHistoryLogwill contain theHistoricVariableInstanceinstances.TheProcessInstanceHistoryLogwill contain theHistoricVariableUpdateinstances.Executes the query.
-
Method Details
-
includeTasks
ProcessInstanceHistoryLogQuery includeTasks()TheProcessInstanceHistoryLogwill contain theHistoricTaskInstanceinstances. -
includeActivities
ProcessInstanceHistoryLogQuery includeActivities()TheProcessInstanceHistoryLogwill contain theHistoricActivityInstanceinstances. -
includeVariables
ProcessInstanceHistoryLogQuery includeVariables()TheProcessInstanceHistoryLogwill contain theHistoricVariableInstanceinstances. -
includeComments
ProcessInstanceHistoryLogQuery includeComments()TheProcessInstanceHistoryLogwill contain theCommentinstances. -
includeVariableUpdates
ProcessInstanceHistoryLogQuery includeVariableUpdates()TheProcessInstanceHistoryLogwill contain theHistoricVariableUpdateinstances. -
includeFormProperties
ProcessInstanceHistoryLogQuery includeFormProperties()TheProcessInstanceHistoryLogwill contain theHistoricFormPropertyinstances. -
singleResult
ProcessInstanceHistoryLog singleResult()Executes the query.
-