Interface HistoricBatchQuery
-
- All Superinterfaces:
Query<HistoricBatchQuery,HistoricBatch>
- All Known Implementing Classes:
HistoricBatchQueryImpl
public interface HistoricBatchQuery extends Query<HistoricBatchQuery,HistoricBatch>
Query forHistoricBatchinstances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HistoricBatchQuerybatchId(String batchId)Only select historic batch instances for the given batch id.HistoricBatchQuerycompleted(boolean completed)Only select historic batches which are completed or not.HistoricBatchQueryorderByEndTime()Returns historic batches sorted by end time; must be followed by an invocation ofQuery.asc()orQuery.desc().HistoricBatchQueryorderById()Returns historic batches sorted by id; must be followed by an invocation ofQuery.asc()orQuery.desc().HistoricBatchQueryorderByStartTime()Returns historic batches sorted by start time; must be followed by an invocation ofQuery.asc()orQuery.desc().HistoricBatchQueryorderByTenantId()Returns historic batches sorted by tenant id; must be followed by an invocation ofQuery.asc()orQuery.desc().HistoricBatchQuerytenantIdIn(String... tenantIds)Only selects historic batches with one of the given tenant ids.HistoricBatchQuerytype(String type)Only select historic batches of the given type.HistoricBatchQuerywithoutTenantId()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().
-
-