Package org.flowable.engine.history
Interface HistoricActivityInstanceQuery
- All Superinterfaces:
org.flowable.common.engine.api.query.DeleteQuery<HistoricActivityInstanceQuery,
,HistoricActivityInstance> org.flowable.common.engine.api.query.Query<HistoricActivityInstanceQuery,
HistoricActivityInstance>
- All Known Implementing Classes:
HistoricActivityInstanceQueryImpl
public interface HistoricActivityInstanceQuery
extends org.flowable.common.engine.api.query.Query<HistoricActivityInstanceQuery,HistoricActivityInstance>, org.flowable.common.engine.api.query.DeleteQuery<HistoricActivityInstanceQuery,HistoricActivityInstance>
Programmatic querying for
HistoricActivityInstance
s.- Author:
- Tom Baeyens, Joram Barrez, Zheng Ji
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
org.flowable.common.engine.api.query.Query.NullHandlingOnOrder
-
Method Summary
Modifier and TypeMethodDescriptionactivityId
(String activityId) Only select historic activity instances for the given activity (id from BPMN 2.0 XML)activityInstanceId
(String activityInstanceId) Only select historic activity instances with the given id (primary key within history tables).activityName
(String activityName) Only select historic activity instances for activities with the given nameactivityTenantId
(String tenantId) Only select historic activity instances that have the given tenant id.activityTenantIdLike
(String tenantIdLike) Only select historic activity instances with a tenant id like the given one.activityType
(String activityType) Only select historic activity instances for activities with the given activity typeactivityTypes
(Set<String> activityTypes) Only select historic activity instances whose activity type is in the given set of activity types.Only select historic activity instances that do not have a tenant id.deleteReason
(String deleteReason) Only select historic activity instances with a specific delete reason.deleteReasonLike
(String deleteReasonLike) Only select historic activity instances with a delete reason that matches the provided parameter.executionId
(String executionId) Only select historic activity instances for the given executionfinished()
Only select historic activity instances that are finished.finishedAfter
(Date date) Only select historic activity instances that were started after the given date.finishedBefore
(Date date) Only select historic activity instances that were started before the given date.Order by activityId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by activityName (needs to be followed byQuery.asc()
orQuery.desc()
).Order by activityType (needs to be followed byQuery.asc()
orQuery.desc()
).Order by executionId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by duration (needs to be followed byQuery.asc()
orQuery.desc()
).Order by end (needs to be followed byQuery.asc()
orQuery.desc()
).Order by id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by start (needs to be followed byQuery.asc()
orQuery.desc()
).Order by processDefinitionId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by processInstanceId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).processDefinitionId
(String processDefinitionId) Only select historic activity instances for the given process definitionprocessInstanceId
(String processInstanceId) Only select historic activity instances with the given process instance.startedAfter
(Date date) Only select historic activity instances that were started after the given date.startedBefore
(Date date) Only select historic activity instances that were started before the given date.taskAssignee
(String userId) Only select historic activity instances for userTask activities assigned to the given usertenantIdIn
(List<String> tenantIds) Only select historic activity instances with one of the given tenant ids.Only select historic activity instances that are not finished yet.Methods inherited from interface org.flowable.common.engine.api.query.DeleteQuery
delete, deleteWithRelatedData
Methods inherited from interface org.flowable.common.engine.api.query.Query
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
-
Method Details
-
activityInstanceId
Only select historic activity instances with the given id (primary key within history tables). -
processInstanceId
Only select historic activity instances with the given process instance.ProcessInstance
ids andHistoricProcessInstance
ids match. -
processDefinitionId
Only select historic activity instances for the given process definition -
executionId
Only select historic activity instances for the given execution -
activityId
Only select historic activity instances for the given activity (id from BPMN 2.0 XML) -
activityName
Only select historic activity instances for activities with the given name -
activityType
Only select historic activity instances for activities with the given activity type -
activityTypes
Only select historic activity instances whose activity type is in the given set of activity types. -
taskAssignee
Only select historic activity instances for userTask activities assigned to the given user -
finished
HistoricActivityInstanceQuery finished()Only select historic activity instances that are finished. -
unfinished
HistoricActivityInstanceQuery unfinished()Only select historic activity instances that are not finished yet. -
startedBefore
Only select historic activity instances that were started before the given date. -
startedAfter
Only select historic activity instances that were started after the given date. -
finishedBefore
Only select historic activity instances that were started before the given date. -
finishedAfter
Only select historic activity instances that were started after the given date. -
deleteReason
Only select historic activity instances with a specific delete reason. -
deleteReasonLike
Only select historic activity instances with a delete reason that matches the provided parameter. -
activityTenantId
Only select historic activity instances that have the given tenant id. -
tenantIdIn
Only select historic activity instances with one of the given tenant ids. -
activityTenantIdLike
Only select historic activity instances with a tenant id like the given one. -
activityWithoutTenantId
HistoricActivityInstanceQuery activityWithoutTenantId()Only select historic activity instances that do not have a tenant id. -
orderByHistoricActivityInstanceId
HistoricActivityInstanceQuery orderByHistoricActivityInstanceId()Order by id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByProcessInstanceId
HistoricActivityInstanceQuery orderByProcessInstanceId()Order by processInstanceId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByExecutionId
HistoricActivityInstanceQuery orderByExecutionId()Order by executionId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByActivityId
HistoricActivityInstanceQuery orderByActivityId()Order by activityId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByActivityName
HistoricActivityInstanceQuery orderByActivityName()Order by activityName (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByActivityType
HistoricActivityInstanceQuery orderByActivityType()Order by activityType (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByHistoricActivityInstanceStartTime
HistoricActivityInstanceQuery orderByHistoricActivityInstanceStartTime()Order by start (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByHistoricActivityInstanceEndTime
HistoricActivityInstanceQuery orderByHistoricActivityInstanceEndTime()Order by end (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByHistoricActivityInstanceDuration
HistoricActivityInstanceQuery orderByHistoricActivityInstanceDuration()Order by duration (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByProcessDefinitionId
HistoricActivityInstanceQuery orderByProcessDefinitionId()Order by processDefinitionId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByTenantId
HistoricActivityInstanceQuery orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).
-