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 forBatch
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchQuery
active()
Only selects batches which are activeBatchQuery
batchId(java.lang.String batchId)
Only select batch instances for the given batch id.BatchQuery
orderById()
Returns batches sorted by id; must be followed by an invocation ofQuery.asc()
orQuery.desc()
.BatchQuery
orderByTenantId()
Returns batches sorted by tenant id; must be followed by an invocation ofQuery.asc()
orQuery.desc()
.BatchQuery
suspended()
Only selects batches which are suspendedBatchQuery
tenantIdIn(java.lang.String... tenantIds)
Only selects batches with one of the given tenant ids.BatchQuery
type(java.lang.String type)
Only select batches of the given type.BatchQuery
withoutTenantId()
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(java.lang.String batchId)
Only select batch instances for the given batch id.
-
type
BatchQuery type(java.lang.String type)
Only select batches of the given type.
-
tenantIdIn
BatchQuery tenantIdIn(java.lang.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()
.
-
-