public interface BatchQuery extends Query<BatchQuery,Batch>
Batch
instances.Modifier and Type | Method and Description |
---|---|
BatchQuery |
active()
Only selects batches which are active
|
BatchQuery |
batchId(String batchId)
Only select batch instances for the given batch id.
|
BatchQuery |
orderById()
Returns batches sorted by id; must be followed by an invocation of
Query.asc() or Query.desc() . |
BatchQuery |
orderByTenantId()
Returns batches sorted by tenant id; must be followed by an invocation of
Query.asc() or Query.desc() . |
BatchQuery |
suspended()
Only selects batches which are suspended
|
BatchQuery |
tenantIdIn(String... tenantIds)
Only selects batches with one of the given tenant ids.
|
BatchQuery |
type(String type)
Only select batches of the given type.
|
BatchQuery |
withoutTenantId()
Only selects batches which have no tenant id.
|
asc, count, desc, list, listPage, singleResult, unlimitedList
BatchQuery batchId(String batchId)
BatchQuery type(String type)
BatchQuery tenantIdIn(String... tenantIds)
BatchQuery withoutTenantId()
BatchQuery active()
BatchQuery suspended()
BatchQuery orderById()
Query.asc()
or Query.desc()
.BatchQuery orderByTenantId()
Query.asc()
or Query.desc()
.Copyright © 2021. All rights reserved.