Package org.camunda.bpm.engine.batch
Interface BatchQuery
- All Superinterfaces:
- Query<BatchQuery,- Batch> 
- All Known Implementing Classes:
- BatchQueryImpl
Query for 
Batch instances.- 
Method SummaryModifier and TypeMethodDescriptionactive()Only selects batches which are activeOnly select batch instances for the given batch id.Returns batches sorted by id; must be followed by an invocation ofQuery.asc()orQuery.desc().Returns batches sorted by tenant id; must be followed by an invocation ofQuery.asc()orQuery.desc().Only selects batches which are suspendedtenantIdIn(String... tenantIds) Only selects batches with one of the given tenant ids.Only select batches of the given type.Only selects batches which have no tenant id.Methods inherited from interface org.camunda.bpm.engine.query.Queryasc, count, desc, list, listPage, singleResult, unlimitedList
- 
Method Details- 
batchIdOnly select batch instances for the given batch id.
- 
typeOnly select batches of the given type.
- 
tenantIdInOnly selects batches with one of the given tenant ids.
- 
withoutTenantIdBatchQuery withoutTenantId()Only selects batches which have no tenant id.
- 
activeBatchQuery active()Only selects batches which are active
- 
suspendedBatchQuery suspended()Only selects batches which are suspended
- 
orderByIdBatchQuery orderById()Returns batches sorted by id; must be followed by an invocation ofQuery.asc()orQuery.desc().
- 
orderByTenantIdBatchQuery orderByTenantId()Returns batches sorted by tenant id; must be followed by an invocation ofQuery.asc()orQuery.desc().
 
-