Package org.flowable.engine.history
Interface HistoricActivityInstanceQuery
-
- All Superinterfaces:
DeleteQuery<HistoricActivityInstanceQuery,HistoricActivityInstance>,Query<HistoricActivityInstanceQuery,HistoricActivityInstance>
- All Known Implementing Classes:
HistoricActivityInstanceQueryImpl
public interface HistoricActivityInstanceQuery extends Query<HistoricActivityInstanceQuery,HistoricActivityInstance>, DeleteQuery<HistoricActivityInstanceQuery,HistoricActivityInstance>
Programmatic querying forHistoricActivityInstances.- Author:
- Tom Baeyens, Joram Barrez, Zheng Ji
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HistoricActivityInstanceQueryactivityId(String activityId)Only select historic activity instances for the given activity (id from BPMN 2.0 XML)HistoricActivityInstanceQueryactivityInstanceId(String activityInstanceId)Only select historic activity instances with the given id (primary key within history tables).HistoricActivityInstanceQueryactivityName(String activityName)Only select historic activity instances for activities with the given nameHistoricActivityInstanceQueryactivityTenantId(String tenantId)Only select historic activity instances that have the given tenant id.HistoricActivityInstanceQueryactivityTenantIdLike(String tenantIdLike)Only select historic activity instances with a tenant id like the given one.HistoricActivityInstanceQueryactivityType(String activityType)Only select historic activity instances for activities with the given activity typeHistoricActivityInstanceQueryactivityTypes(Set<String> activityTypes)Only select historic activity instances whose activity type is in the given set of activity types.HistoricActivityInstanceQueryactivityWithoutTenantId()Only select historic activity instances that do not have a tenant id.HistoricActivityInstanceQuerydeleteReason(String deleteReason)Only select historic activity instances with a specific delete reason.HistoricActivityInstanceQuerydeleteReasonLike(String deleteReasonLike)Only select historic activity instances with a delete reason that matches the provided parameter.HistoricActivityInstanceQueryexecutionId(String executionId)Only select historic activity instances for the given executionHistoricActivityInstanceQueryfinished()Only select historic activity instances that are finished.HistoricActivityInstanceQueryfinishedAfter(Date date)Only select historic activity instances that were started after the given date.HistoricActivityInstanceQueryfinishedBefore(Date date)Only select historic activity instances that were started before the given date.HistoricActivityInstanceQueryorderByActivityId()Order by activityId (needs to be followed byQuery.asc()orQuery.desc()).HistoricActivityInstanceQueryorderByActivityName()Order by activityName (needs to be followed byQuery.asc()orQuery.desc()).HistoricActivityInstanceQueryorderByActivityType()Order by activityType (needs to be followed byQuery.asc()orQuery.desc()).HistoricActivityInstanceQueryorderByExecutionId()Order by executionId (needs to be followed byQuery.asc()orQuery.desc()).HistoricActivityInstanceQueryorderByHistoricActivityInstanceDuration()Order by duration (needs to be followed byQuery.asc()orQuery.desc()).HistoricActivityInstanceQueryorderByHistoricActivityInstanceEndTime()Order by end (needs to be followed byQuery.asc()orQuery.desc()).HistoricActivityInstanceQueryorderByHistoricActivityInstanceId()Order by id (needs to be followed byQuery.asc()orQuery.desc()).HistoricActivityInstanceQueryorderByHistoricActivityInstanceStartTime()Order by start (needs to be followed byQuery.asc()orQuery.desc()).HistoricActivityInstanceQueryorderByProcessDefinitionId()Order by processDefinitionId (needs to be followed byQuery.asc()orQuery.desc()).HistoricActivityInstanceQueryorderByProcessInstanceId()Order by processInstanceId (needs to be followed byQuery.asc()orQuery.desc()).HistoricActivityInstanceQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).HistoricActivityInstanceQueryprocessDefinitionId(String processDefinitionId)Only select historic activity instances for the given process definitionHistoricActivityInstanceQueryprocessInstanceId(String processInstanceId)Only select historic activity instances with the given process instance.HistoricActivityInstanceQuerystartedAfter(Date date)Only select historic activity instances that were started after the given date.HistoricActivityInstanceQuerystartedBefore(Date date)Only select historic activity instances that were started before the given date.HistoricActivityInstanceQuerytaskAssignee(String userId)Only select historic activity instances for userTask activities assigned to the given userHistoricActivityInstanceQuerytenantIdIn(List<String> tenantIds)Only select historic activity instances with one of the given tenant ids.HistoricActivityInstanceQueryunfinished()Only select historic activity instances that are not finished yet.-
Methods inherited from interface org.flowable.common.engine.api.query.DeleteQuery
delete, deleteWithRelatedData
-
-
-
-
Method Detail
-
activityInstanceId
HistoricActivityInstanceQuery activityInstanceId(String activityInstanceId)
Only select historic activity instances with the given id (primary key within history tables).
-
processInstanceId
HistoricActivityInstanceQuery processInstanceId(String processInstanceId)
Only select historic activity instances with the given process instance.ProcessInstanceids andHistoricProcessInstanceids match.
-
processDefinitionId
HistoricActivityInstanceQuery processDefinitionId(String processDefinitionId)
Only select historic activity instances for the given process definition
-
executionId
HistoricActivityInstanceQuery executionId(String executionId)
Only select historic activity instances for the given execution
-
activityId
HistoricActivityInstanceQuery activityId(String activityId)
Only select historic activity instances for the given activity (id from BPMN 2.0 XML)
-
activityName
HistoricActivityInstanceQuery activityName(String activityName)
Only select historic activity instances for activities with the given name
-
activityType
HistoricActivityInstanceQuery activityType(String activityType)
Only select historic activity instances for activities with the given activity type
-
activityTypes
HistoricActivityInstanceQuery activityTypes(Set<String> activityTypes)
Only select historic activity instances whose activity type is in the given set of activity types.
-
taskAssignee
HistoricActivityInstanceQuery taskAssignee(String userId)
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
HistoricActivityInstanceQuery startedBefore(Date date)
Only select historic activity instances that were started before the given date.
-
startedAfter
HistoricActivityInstanceQuery startedAfter(Date date)
Only select historic activity instances that were started after the given date.
-
finishedBefore
HistoricActivityInstanceQuery finishedBefore(Date date)
Only select historic activity instances that were started before the given date.
-
finishedAfter
HistoricActivityInstanceQuery finishedAfter(Date date)
Only select historic activity instances that were started after the given date.
-
deleteReason
HistoricActivityInstanceQuery deleteReason(String deleteReason)
Only select historic activity instances with a specific delete reason.
-
deleteReasonLike
HistoricActivityInstanceQuery deleteReasonLike(String deleteReasonLike)
Only select historic activity instances with a delete reason that matches the provided parameter.
-
activityTenantId
HistoricActivityInstanceQuery activityTenantId(String tenantId)
Only select historic activity instances that have the given tenant id.
-
tenantIdIn
HistoricActivityInstanceQuery tenantIdIn(List<String> tenantIds)
Only select historic activity instances with one of the given tenant ids.
-
activityTenantIdLike
HistoricActivityInstanceQuery activityTenantIdLike(String tenantIdLike)
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()).
-
-