public interface HistoricActivityInstanceQuery extends Query<HistoricActivityInstanceQuery,HistoricActivityInstance>
HistoricActivityInstance
s.Modifier and Type | Method and Description |
---|---|
HistoricActivityInstanceQuery |
activityId(String activityId)
Only select historic activity instances for the given activity (id from BPMN 2.0 XML)
|
HistoricActivityInstanceQuery |
activityInstanceId(String activityInstanceId)
Only select historic activity instances with the given id (primary key within history tables).
|
HistoricActivityInstanceQuery |
activityName(String activityName)
Only select historic activity instances for activities with the given name
|
HistoricActivityInstanceQuery |
activityType(String activityType)
Only select historic activity instances for activities with the given activity type
|
HistoricActivityInstanceQuery |
canceled()
Only select historic activity instances that got canceled
|
HistoricActivityInstanceQuery |
completeScope()
Only select historic activity instances that complete a BPMN scope
|
HistoricActivityInstanceQuery |
executionId(String executionId)
Only select historic activity instances for the given execution
|
HistoricActivityInstanceQuery |
finished()
Only select historic activity instances that are finished.
|
HistoricActivityInstanceQuery |
finishedAfter(Date date)
Only select historic activity instances that were started after the given date.
|
HistoricActivityInstanceQuery |
finishedBefore(Date date)
Only select historic activity instances that were started before the given date.
|
HistoricActivityInstanceQuery |
orderByActivityId()
Order by activityId (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQuery |
orderByActivityName()
Order by activityName (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQuery |
orderByActivityType()
Order by activityType (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQuery |
orderByExecutionId()
Order by executionId (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQuery |
orderByHistoricActivityInstanceDuration()
Order by duration (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQuery |
orderByHistoricActivityInstanceEndTime()
Order by end (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQuery |
orderByHistoricActivityInstanceId()
Order by id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQuery |
orderByHistoricActivityInstanceStartTime()
Order by start (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQuery |
orderByProcessDefinitionId()
Order by processDefinitionId (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQuery |
orderByProcessInstanceId()
Order by processInstanceId (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricActivityInstanceQuery |
orderPartiallyByOccurrence()
Sort the
activity instances in the order in which
they occurred (ie. |
HistoricActivityInstanceQuery |
processDefinitionId(String processDefinitionId)
Only select historic activity instances for the given process definition
|
HistoricActivityInstanceQuery |
processInstanceId(String processInstanceId)
Only select historic activity instances with the given process instance.
|
HistoricActivityInstanceQuery |
startedAfter(Date date)
Only select historic activity instances that were started after the given date.
|
HistoricActivityInstanceQuery |
startedBefore(Date date)
Only select historic activity instances that were started before the given date.
|
HistoricActivityInstanceQuery |
taskAssignee(String userId)
Only select historic activity instances for userTask activities assigned to the given user
|
HistoricActivityInstanceQuery |
tenantIdIn(String... tenantIds)
Only select historic activity instances with one of the given tenant ids.
|
HistoricActivityInstanceQuery |
unfinished()
Only select historic activity instances that are not finished yet.
|
HistoricActivityInstanceQuery activityInstanceId(String activityInstanceId)
HistoricActivityInstanceQuery processInstanceId(String processInstanceId)
HistoricActivityInstanceQuery processDefinitionId(String processDefinitionId)
HistoricActivityInstanceQuery executionId(String executionId)
HistoricActivityInstanceQuery activityId(String activityId)
HistoricActivityInstanceQuery activityName(String activityName)
HistoricActivityInstanceQuery activityType(String activityType)
HistoricActivityInstanceQuery taskAssignee(String userId)
HistoricActivityInstanceQuery finished()
HistoricActivityInstanceQuery unfinished()
HistoricActivityInstanceQuery completeScope()
HistoricActivityInstanceQuery canceled()
HistoricActivityInstanceQuery startedBefore(Date date)
HistoricActivityInstanceQuery startedAfter(Date date)
HistoricActivityInstanceQuery finishedBefore(Date date)
HistoricActivityInstanceQuery finishedAfter(Date date)
HistoricActivityInstanceQuery orderByHistoricActivityInstanceId()
Query.asc()
or Query.desc()
).HistoricActivityInstanceQuery orderByProcessInstanceId()
Query.asc()
or Query.desc()
).HistoricActivityInstanceQuery orderByExecutionId()
Query.asc()
or Query.desc()
).HistoricActivityInstanceQuery orderByActivityId()
Query.asc()
or Query.desc()
).HistoricActivityInstanceQuery orderByActivityName()
Query.asc()
or Query.desc()
).HistoricActivityInstanceQuery orderByActivityType()
Query.asc()
or Query.desc()
).HistoricActivityInstanceQuery orderByHistoricActivityInstanceStartTime()
Query.asc()
or Query.desc()
).HistoricActivityInstanceQuery orderByHistoricActivityInstanceEndTime()
Query.asc()
or Query.desc()
).HistoricActivityInstanceQuery orderByHistoricActivityInstanceDuration()
Query.asc()
or Query.desc()
).HistoricActivityInstanceQuery orderByProcessDefinitionId()
Query.asc()
or Query.desc()
).HistoricActivityInstanceQuery orderPartiallyByOccurrence()
Sort the activity instances
in the order in which
they occurred (ie. started) and needs to be followed by Query.asc()
or Query.desc()
.
The set of all activity instances
is a partially
ordered set. At a BPMN level this means that instances of concurrent activities (example:
activities on different parallel branched after a parallel gateway) cannot be compared to each other.
Instances of activities which are part of happens-before relation at the BPMN level will be ordered
in respect to that relation.
Technically this means that activity instances
with different execution ids
are
incomparable. Only activity instances
with
the same execution id
can be totally
ordered by using executionId(String)
and orderPartiallyByOccurrence()
which will return a result set ordered by its occurrence.
HistoricActivityInstanceQuery tenantIdIn(String... tenantIds)
HistoricActivityInstanceQuery orderByTenantId()
Query.asc()
or Query.desc()
).
Note that the ordering of historic activity instances without tenant id is database-specific.Copyright © 2018. All rights reserved.