org.camunda.bpm.engine.impl.batch
Class BatchQueryImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.db.ListQueryParameterObject
      extended by org.camunda.bpm.engine.impl.AbstractQuery<BatchQuery,Batch>
          extended by org.camunda.bpm.engine.impl.batch.BatchQueryImpl
All Implemented Interfaces:
Serializable, BatchQuery, Command<Object>, Query<BatchQuery,Batch>

public class BatchQueryImpl
extends AbstractQuery<BatchQuery,Batch>
implements BatchQuery

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
 
Field Summary
protected  String batchId
           
protected  String type
           
 
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
 
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter, tenantCheck
 
Constructor Summary
BatchQueryImpl(CommandExecutor commandExecutor)
           
 
Method Summary
 BatchQuery batchId(String batchId)
          Only select batch instances for the given batch id.
 long executeCount(CommandContext commandContext)
           
 List<Batch> executeList(CommandContext commandContext, Page page)
          Executes the actual query to retrieve the list of results.
 String getBatchId()
           
 String getType()
           
 BatchQuery orderById()
          Returns batches sorted by id; must be followed by an invocation of Query.asc() or Query.desc().
 BatchQuery type(String type)
          Only select batches of the given type.
 
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
addExpression, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, hasExcludingConditions, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, setOrderingProperties, singleResult, validate, validate
 
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter, setTenantCheck
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult
 

Field Detail

batchId

protected String batchId

type

protected String type
Constructor Detail

BatchQueryImpl

public BatchQueryImpl(CommandExecutor commandExecutor)
Method Detail

batchId

public BatchQuery batchId(String batchId)
Description copied from interface: BatchQuery
Only select batch instances for the given batch id.

Specified by:
batchId in interface BatchQuery

getBatchId

public String getBatchId()

type

public BatchQuery type(String type)
Description copied from interface: BatchQuery
Only select batches of the given type.

Specified by:
type in interface BatchQuery

getType

public String getType()

orderById

public BatchQuery orderById()
Description copied from interface: BatchQuery
Returns batches sorted by id; must be followed by an invocation of Query.asc() or Query.desc().

Specified by:
orderById in interface BatchQuery

executeCount

public long executeCount(CommandContext commandContext)
Specified by:
executeCount in class AbstractQuery<BatchQuery,Batch>

executeList

public List<Batch> executeList(CommandContext commandContext,
                               Page page)
Description copied from class: AbstractQuery
Executes the actual query to retrieve the list of results.

Specified by:
executeList in class AbstractQuery<BatchQuery,Batch>
page - used if the results must be paged. If null, no paging will be applied.


Copyright © 2016 camunda services GmbH. All rights reserved.