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 type(String type)
          Only select historic batches of the given type.
 
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.


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().



Copyright © 2016 camunda services GmbH. All rights reserved.