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 forHistoricCaseActivityInstance
s.- Author:
- Sebastian Menski
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HistoricCaseActivityInstanceQuery
active()
Only select historic case activity instances which are activeHistoricCaseActivityInstanceQuery
available()
Only select historic case activity instances which are availableHistoricCaseActivityInstanceQuery
caseActivityId(String caseActivityId)
Only select historic case activity instances for the given case activity (id from CMMN 1.0 XML)HistoricCaseActivityInstanceQuery
caseActivityIdIn(String... caseActivityIds)
Only select historic case activity instances with one of the given case activity ids.HistoricCaseActivityInstanceQuery
caseActivityInstanceId(String caseActivityInstanceId)
Only select historic case activity instances with the given id (primary key within history tables).HistoricCaseActivityInstanceQuery
caseActivityInstanceIdIn(String... caseActivityInstanceIds)
Only select historic case activity instances with one of the given case activity instance ids.HistoricCaseActivityInstanceQuery
caseActivityName(String caseActivityName)
Only select historic case activity instances for activities with the given nameHistoricCaseActivityInstanceQuery
caseActivityType(String caseActivityType)
Only select historic case activity instances for activities with the given typeHistoricCaseActivityInstanceQuery
caseDefinitionId(String caseDefinitionId)
Only select historic case activity instances for the given case definitionHistoricCaseActivityInstanceQuery
caseExecutionId(String caseExecutionId)
Only select historic case activity instances for the given case executionHistoricCaseActivityInstanceQuery
caseInstanceId(String caseInstanceId)
Only select historic case activity instances with the given case instance.HistoricCaseActivityInstanceQuery
completed()
Only select historic case activity instances which are completedHistoricCaseActivityInstanceQuery
createdAfter(Date date)
Only select historic case activity instances that were created after the given date.HistoricCaseActivityInstanceQuery
createdBefore(Date date)
Only select historic case activity instances that were created before the given date.HistoricCaseActivityInstanceQuery
disabled()
Only select historic case activity instances which are disabledHistoricCaseActivityInstanceQuery
enabled()
Only select historic case activity instances which are enabledHistoricCaseActivityInstanceQuery
ended()
Only select historic case activity instances which are already ended (ie.HistoricCaseActivityInstanceQuery
endedAfter(Date date)
Only select historic case activity instances that were ended (ie.HistoricCaseActivityInstanceQuery
endedBefore(Date date)
Only select historic case activity instances that were ended (ie.HistoricCaseActivityInstanceQuery
notEnded()
Only select historic case activity instances which are not ended (ie.HistoricCaseActivityInstanceQuery
orderByCaseActivityId()
Order by caseActivityId (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseActivityInstanceQuery
orderByCaseActivityName()
Order by caseActivityName (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseActivityInstanceQuery
orderByCaseActivityType()
Order by caseActivityType (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseActivityInstanceQuery
orderByCaseDefinitionId()
Order by caseDefinitionId (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseActivityInstanceQuery
orderByCaseExecutionId()
Order by caseExecutionId (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseActivityInstanceQuery
orderByCaseInstanceId()
Order by caseInstanceId (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseActivityInstanceQuery
orderByHistoricCaseActivityInstanceCreateTime()
Order by create time (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseActivityInstanceQuery
orderByHistoricCaseActivityInstanceDuration()
Order by duration (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseActivityInstanceQuery
orderByHistoricCaseActivityInstanceEndTime()
Order by end time (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseActivityInstanceQuery
orderByHistoricCaseActivityInstanceId()
Order by id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseActivityInstanceQuery
orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseActivityInstanceQuery
required()
Only select historic case activity instances which are required.HistoricCaseActivityInstanceQuery
tenantIdIn(String... tenantIds)
Only select historic case activity instances with one of the given tenant ids.HistoricCaseActivityInstanceQuery
terminated()
Only select historic case activity instances which are terminatedHistoricCaseActivityInstanceQuery
withoutTenantId()
Only 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 Detail
-
caseActivityInstanceId
HistoricCaseActivityInstanceQuery caseActivityInstanceId(String caseActivityInstanceId)
Only select historic case activity instances with the given id (primary key within history tables).
-
caseActivityInstanceIdIn
HistoricCaseActivityInstanceQuery caseActivityInstanceIdIn(String... caseActivityInstanceIds)
Only select historic case activity instances with one of the given case activity instance ids.
-
caseExecutionId
HistoricCaseActivityInstanceQuery caseExecutionId(String caseExecutionId)
Only select historic case activity instances for the given case execution
-
caseInstanceId
HistoricCaseActivityInstanceQuery caseInstanceId(String caseInstanceId)
Only select historic case activity instances with the given case instance.
-
caseDefinitionId
HistoricCaseActivityInstanceQuery caseDefinitionId(String caseDefinitionId)
Only select historic case activity instances for the given case definition
-
caseActivityId
HistoricCaseActivityInstanceQuery caseActivityId(String caseActivityId)
Only select historic case activity instances for the given case activity (id from CMMN 1.0 XML)
-
caseActivityIdIn
HistoricCaseActivityInstanceQuery caseActivityIdIn(String... caseActivityIds)
Only select historic case activity instances with one of the given case activity ids.
-
caseActivityName
HistoricCaseActivityInstanceQuery caseActivityName(String caseActivityName)
Only select historic case activity instances for activities with the given name
-
caseActivityType
HistoricCaseActivityInstanceQuery caseActivityType(String caseActivityType)
Only select historic case activity instances for activities with the given type
-
createdBefore
HistoricCaseActivityInstanceQuery createdBefore(Date date)
Only select historic case activity instances that were created before the given date.
-
createdAfter
HistoricCaseActivityInstanceQuery createdAfter(Date date)
Only select historic case activity instances that were created after the given date.
-
endedBefore
HistoricCaseActivityInstanceQuery endedBefore(Date date)
Only select historic case activity instances that were ended (ie. completed or terminated) before the given date.
-
endedAfter
HistoricCaseActivityInstanceQuery endedAfter(Date date)
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
HistoricCaseActivityInstanceQuery 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
HistoricCaseActivityInstanceQuery tenantIdIn(String... tenantIds)
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.
-
-