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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchQueryactive()Only selects batches which are activeBatchQuerybatchId(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(String... tenantIds)Only selects batches with one of the given tenant ids.BatchQuerytype(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.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
Method Detail
-
batchId
BatchQuery batchId(String batchId)
Only select batch instances for the given batch id.
-
type
BatchQuery type(String type)
Only select batches of the given type.
-
tenantIdIn
BatchQuery tenantIdIn(String... tenantIds)
Only selects batches with one of the given tenant ids.
-
withoutTenantId
BatchQuery withoutTenantId()
Only selects batches which have no tenant id.
-
active
BatchQuery active()
Only selects batches which are active
-
suspended
BatchQuery suspended()
Only selects batches which are suspended
-
orderById
BatchQuery orderById()
Returns batches sorted by id; must be followed by an invocation ofQuery.asc()orQuery.desc().
-
orderByTenantId
BatchQuery orderByTenantId()
Returns batches sorted by tenant id; must be followed by an invocation ofQuery.asc()orQuery.desc().
-
-