Package org.camunda.bpm.engine.batch
Interface BatchQuery
- 
- All Superinterfaces:
- Query<BatchQuery,Batch>
 - All Known Implementing Classes:
- BatchQueryImpl
 
 public interface BatchQuery extends Query<BatchQuery,Batch> Query forBatchinstances.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchQueryactive()Only selects batches which are activeBatchQuerybatchId(java.lang.String batchId)Only select batch instances for the given batch id.BatchQueryorderById()Returns batches sorted by id; must be followed by an invocation ofQuery.asc()orQuery.desc().BatchQueryorderByTenantId()Returns batches sorted by tenant id; must be followed by an invocation ofQuery.asc()orQuery.desc().BatchQuerysuspended()Only selects batches which are suspendedBatchQuerytenantIdIn(java.lang.String... tenantIds)Only selects batches with one of the given tenant ids.BatchQuerytype(java.lang.String type)Only select batches of the given type.BatchQuerywithoutTenantId()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 Detail- 
batchIdBatchQuery batchId(java.lang.String batchId) Only select batch instances for the given batch id.
 - 
typeBatchQuery type(java.lang.String type) Only select batches of the given type.
 - 
tenantIdInBatchQuery tenantIdIn(java.lang.String... tenantIds) Only 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().
 
- 
 
-