Package org.camunda.bpm.engine.history
Interface HistoricCaseActivityInstanceQuery
- All Superinterfaces:
Query<HistoricCaseActivityInstanceQuery,
HistoricCaseActivityInstance>
- All Known Implementing Classes:
HistoricCaseActivityInstanceQueryImpl
public interface HistoricCaseActivityInstanceQuery
extends Query<HistoricCaseActivityInstanceQuery,HistoricCaseActivityInstance>
Programmatic querying for
HistoricCaseActivityInstance
s.- Author:
- Sebastian Menski
-
Method Summary
Modifier and TypeMethodDescriptionactive()
Only select historic case activity instances which are activeOnly select historic case activity instances which are availablecaseActivityId
(String caseActivityId) Only select historic case activity instances for the given case activity (id from CMMN 1.0 XML)caseActivityIdIn
(String... caseActivityIds) Only select historic case activity instances with one of the given case activity ids.caseActivityInstanceId
(String caseActivityInstanceId) Only select historic case activity instances with the given id (primary key within history tables).caseActivityInstanceIdIn
(String... caseActivityInstanceIds) Only select historic case activity instances with one of the given case activity instance ids.caseActivityName
(String caseActivityName) Only select historic case activity instances for activities with the given namecaseActivityType
(String caseActivityType) Only select historic case activity instances for activities with the given typecaseDefinitionId
(String caseDefinitionId) Only select historic case activity instances for the given case definitioncaseExecutionId
(String caseExecutionId) Only select historic case activity instances for the given case executioncaseInstanceId
(String caseInstanceId) Only select historic case activity instances with the given case instance.Only select historic case activity instances which are completedcreatedAfter
(Date date) Only select historic case activity instances that were created after the given date.createdBefore
(Date date) Only select historic case activity instances that were created before the given date.disabled()
Only select historic case activity instances which are disabledenabled()
Only select historic case activity instances which are enabledended()
Only select historic case activity instances which are already ended (ie.endedAfter
(Date date) Only select historic case activity instances that were ended (ie.endedBefore
(Date date) Only select historic case activity instances that were ended (ie.notEnded()
Only select historic case activity instances which are not ended (ie.Order by caseActivityId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by caseActivityName (needs to be followed byQuery.asc()
orQuery.desc()
).Order by caseActivityType (needs to be followed byQuery.asc()
orQuery.desc()
).Order by caseDefinitionId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by caseExecutionId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by caseInstanceId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by create time (needs to be followed byQuery.asc()
orQuery.desc()
).Order by duration (needs to be followed byQuery.asc()
orQuery.desc()
).Order by end time (needs to be followed byQuery.asc()
orQuery.desc()
).Order by id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).required()
Only select historic case activity instances which are required.tenantIdIn
(String... tenantIds) Only select historic case activity instances with one of the given tenant ids.Only select historic case activity instances which are terminatedOnly selects historic case activity instances that have no tenant id.Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Method Details
-
caseActivityInstanceId
Only select historic case activity instances with the given id (primary key within history tables). -
caseActivityInstanceIdIn
Only select historic case activity instances with one of the given case activity instance ids. -
caseExecutionId
Only select historic case activity instances for the given case execution -
caseInstanceId
Only select historic case activity instances with the given case instance. -
caseDefinitionId
Only select historic case activity instances for the given case definition -
caseActivityId
Only select historic case activity instances for the given case activity (id from CMMN 1.0 XML) -
caseActivityIdIn
Only select historic case activity instances with one of the given case activity ids. -
caseActivityName
Only select historic case activity instances for activities with the given name -
caseActivityType
Only select historic case activity instances for activities with the given type -
createdBefore
Only select historic case activity instances that were created before the given date. -
createdAfter
Only select historic case activity instances that were created after the given date. -
endedBefore
Only select historic case activity instances that were ended (ie. completed or terminated) before the given date. -
endedAfter
Only select historic case activity instances that were ended (ie. completed or terminated) after the given date. -
required
HistoricCaseActivityInstanceQuery required()Only select historic case activity instances which are required. -
ended
Only select historic case activity instances which are already ended (ie. completed or terminated). -
notEnded
HistoricCaseActivityInstanceQuery notEnded()Only select historic case activity instances which are not ended (ie. completed or terminated). -
available
HistoricCaseActivityInstanceQuery available()Only select historic case activity instances which are available -
enabled
HistoricCaseActivityInstanceQuery enabled()Only select historic case activity instances which are enabled -
disabled
HistoricCaseActivityInstanceQuery disabled()Only select historic case activity instances which are disabled -
active
HistoricCaseActivityInstanceQuery active()Only select historic case activity instances which are active -
completed
HistoricCaseActivityInstanceQuery completed()Only select historic case activity instances which are completed -
terminated
HistoricCaseActivityInstanceQuery terminated()Only select historic case activity instances which are terminated -
tenantIdIn
Only select historic case activity instances with one of the given tenant ids. -
withoutTenantId
HistoricCaseActivityInstanceQuery withoutTenantId()Only selects historic case activity instances that have no tenant id. -
orderByHistoricCaseActivityInstanceId
HistoricCaseActivityInstanceQuery orderByHistoricCaseActivityInstanceId()Order by id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByCaseInstanceId
HistoricCaseActivityInstanceQuery orderByCaseInstanceId()Order by caseInstanceId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByCaseExecutionId
HistoricCaseActivityInstanceQuery orderByCaseExecutionId()Order by caseExecutionId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByCaseActivityId
HistoricCaseActivityInstanceQuery orderByCaseActivityId()Order by caseActivityId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByCaseActivityName
HistoricCaseActivityInstanceQuery orderByCaseActivityName()Order by caseActivityName (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByCaseActivityType
HistoricCaseActivityInstanceQuery orderByCaseActivityType()Order by caseActivityType (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByHistoricCaseActivityInstanceCreateTime
HistoricCaseActivityInstanceQuery orderByHistoricCaseActivityInstanceCreateTime()Order by create time (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByHistoricCaseActivityInstanceEndTime
HistoricCaseActivityInstanceQuery orderByHistoricCaseActivityInstanceEndTime()Order by end time (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByHistoricCaseActivityInstanceDuration
HistoricCaseActivityInstanceQuery orderByHistoricCaseActivityInstanceDuration()Order by duration (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByCaseDefinitionId
HistoricCaseActivityInstanceQuery orderByCaseDefinitionId()Order by caseDefinitionId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByTenantId
HistoricCaseActivityInstanceQuery orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
). Note that the ordering of historic case activity instances without tenant id is database-specific.
-