Interface HistoricBatchQuery
-
- All Superinterfaces:
Query<HistoricBatchQuery,HistoricBatch>
- All Known Implementing Classes:
HistoricBatchQueryImpl
public interface HistoricBatchQuery extends Query<HistoricBatchQuery,HistoricBatch>
Query forHistoricBatch
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HistoricBatchQuery
batchId(String batchId)
Only select historic batch instances for the given batch id.HistoricBatchQuery
completed(boolean completed)
Only select historic batches which are completed or not.HistoricBatchQuery
orderByEndTime()
Returns historic batches sorted by end time; must be followed by an invocation ofQuery.asc()
orQuery.desc()
.HistoricBatchQuery
orderById()
Returns historic batches sorted by id; must be followed by an invocation ofQuery.asc()
orQuery.desc()
.HistoricBatchQuery
orderByStartTime()
Returns historic batches sorted by start time; must be followed by an invocation ofQuery.asc()
orQuery.desc()
.HistoricBatchQuery
orderByTenantId()
Returns historic batches sorted by tenant id; must be followed by an invocation ofQuery.asc()
orQuery.desc()
.HistoricBatchQuery
tenantIdIn(String... tenantIds)
Only selects historic batches with one of the given tenant ids.HistoricBatchQuery
type(String type)
Only select historic batches of the given type.HistoricBatchQuery
withoutTenantId()
Only selects historic batches which have no tenant id.-
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
Method Detail
-
batchId
HistoricBatchQuery batchId(String batchId)
Only select historic batch instances for the given batch id.
-
type
HistoricBatchQuery type(String type)
Only select historic batches of the given type.
-
completed
HistoricBatchQuery completed(boolean completed)
Only select historic batches which are completed or not.
-
tenantIdIn
HistoricBatchQuery tenantIdIn(String... tenantIds)
Only selects historic batches with one of the given tenant ids.
-
withoutTenantId
HistoricBatchQuery withoutTenantId()
Only selects historic batches which have no tenant id.
-
orderById
HistoricBatchQuery orderById()
Returns historic batches sorted by id; must be followed by an invocation ofQuery.asc()
orQuery.desc()
.
-
orderByStartTime
HistoricBatchQuery orderByStartTime()
Returns historic batches sorted by start time; must be followed by an invocation ofQuery.asc()
orQuery.desc()
.
-
orderByEndTime
HistoricBatchQuery orderByEndTime()
Returns historic batches sorted by end time; must be followed by an invocation ofQuery.asc()
orQuery.desc()
.
-
orderByTenantId
HistoricBatchQuery orderByTenantId()
Returns historic batches sorted by tenant id; must be followed by an invocation ofQuery.asc()
orQuery.desc()
.
-
-