org.camunda.bpm.engine.batch.history
Interface HistoricBatchQuery

All Superinterfaces:
Query<HistoricBatchQuery,HistoricBatch>
All Known Implementing Classes:
HistoricBatchQueryImpl

public interface HistoricBatchQuery
extends Query<HistoricBatchQuery,HistoricBatch>

Query for HistoricBatch instances.


Method Summary
 HistoricBatchQuery batchId(String batchId)
          Only select historic batch instances for the given batch id.
 HistoricBatchQuery completed(boolean completed)
          Only select historic batches which are completed or not.
 HistoricBatchQuery orderByEndTime()
          Returns historic batches sorted by end time; must be followed by an invocation of Query.asc() or Query.desc().
 HistoricBatchQuery orderById()
          Returns historic batches sorted by id; must be followed by an invocation of Query.asc() or Query.desc().
 HistoricBatchQuery orderByStartTime()
          Returns historic batches sorted by start time; must be followed by an invocation of Query.asc() or Query.desc().
 HistoricBatchQuery orderByTenantId()
          Returns historic batches sorted by tenant id; must be followed by an invocation of Query.asc() or Query.desc().
 HistoricBatchQuery tenantIdIn(String... tenantIds)
          Only selects historic batches with one of the given tenant ids.
 HistoricBatchQuery type(String type)
          Only select historic batches of the given type.
 HistoricBatchQuery withoutTenantId()
          Only selects historic batches which have no tenant id.
 
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult
 

Method Detail

batchId

HistoricBatchQuery batchId(String batchId)
Only select historic batch instances for the given batch id.


type

HistoricBatchQuery type(String type)
Only select historic batches of the given type.


completed

HistoricBatchQuery completed(boolean completed)
Only select historic batches which are completed or not.


tenantIdIn

HistoricBatchQuery tenantIdIn(String... tenantIds)
Only selects historic batches with one of the given tenant ids.


withoutTenantId

HistoricBatchQuery withoutTenantId()
Only selects historic batches which have no tenant id.


orderById

HistoricBatchQuery orderById()
Returns historic batches sorted by id; must be followed by an invocation of Query.asc() or Query.desc().


orderByStartTime

HistoricBatchQuery orderByStartTime()
Returns historic batches sorted by start time; must be followed by an invocation of Query.asc() or Query.desc().


orderByEndTime

HistoricBatchQuery orderByEndTime()
Returns historic batches sorted by end time; must be followed by an invocation of Query.asc() or Query.desc().


orderByTenantId

HistoricBatchQuery orderByTenantId()
Returns historic batches sorted by tenant id; must be followed by an invocation of Query.asc() or Query.desc().



Copyright © 2017 camunda services GmbH. All rights reserved.