Package org.camunda.bpm.engine.batch
Interface BatchQuery
- All Superinterfaces:
Query<BatchQuery,
Batch>
- All Known Implementing Classes:
BatchQueryImpl
Query for
Batch
instances.-
Method Summary
Modifier 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.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Method Details
-
batchId
Only select batch instances for the given batch id. -
type
Only select batches of the given type. -
tenantIdIn
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()
.
-