Package org.camunda.bpm.engine.history
Interface CleanableHistoricCaseInstanceReport
- All Superinterfaces:
Query<CleanableHistoricCaseInstanceReport,
CleanableHistoricCaseInstanceReportResult>
- All Known Implementing Classes:
CleanableHistoricCaseInstanceReportImpl
public interface CleanableHistoricCaseInstanceReport
extends Query<CleanableHistoricCaseInstanceReport,CleanableHistoricCaseInstanceReportResult>
Defines a report query for cleanable case instances.
-
Method Summary
Modifier and TypeMethodDescriptioncaseDefinitionIdIn
(String... caseDefinitionIds) Only takes historic case instances into account for the given case definition ids.caseDefinitionKeyIn
(String... caseDefinitionKeys) Only takes historic case instances into account for the given case definition keys.compact()
Only selects historic case instances which have more than zero finished instances.Order by finished case instances amount (needs to be followed byQuery.asc()
orQuery.desc()
).tenantIdIn
(String... tenantIds) Only select historic case instances with one of the given tenant ids.Only selects historic case instances which have no tenant id.Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Method Details
-
caseDefinitionIdIn
Only takes historic case instances into account for the given case definition ids.- Throws:
NotValidException
- if one of the given ids is null
-
caseDefinitionKeyIn
Only takes historic case instances into account for the given case definition keys.- Throws:
NotValidException
- if one of the given keys is null
-
tenantIdIn
Only select historic case instances with one of the given tenant ids.- Throws:
NotValidException
- if one of the given ids is null
-
withoutTenantId
CleanableHistoricCaseInstanceReport withoutTenantId()Only selects historic case instances which have no tenant id. -
compact
CleanableHistoricCaseInstanceReport compact()Only selects historic case instances which have more than zero finished instances. -
orderByFinished
CleanableHistoricCaseInstanceReport orderByFinished()Order by finished case instances amount (needs to be followed byQuery.asc()
orQuery.desc()
).
-