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

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

public class BatchStatisticsQueryImpl
extends AbstractQuery<BatchStatisticsQuery,BatchStatistics>
implements BatchStatisticsQuery

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 static long serialVersionUID
           
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
BatchStatisticsQueryImpl(CommandExecutor commandExecutor)
           
 
Method Summary
 BatchStatisticsQuery batchId(String batchId)
          Only select batch statistics for the given batch id.
 long executeCount(CommandContext commandContext)
           
 List<BatchStatistics> executeList(CommandContext commandContext, Page page)
          Executes the actual query to retrieve the list of results.
 String getBatchId()
           
 String getType()
           
 BatchStatisticsQuery orderById()
          Returns batch statistics sorted by batch id; must be followed by an invocation of Query.asc() or Query.desc().
 BatchStatisticsQuery type(String type)
          Only select batch statistics 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

serialVersionUID

protected static final long serialVersionUID
See Also:
Constant Field Values

batchId

protected String batchId

type

protected String type
Constructor Detail

BatchStatisticsQueryImpl

public BatchStatisticsQueryImpl(CommandExecutor commandExecutor)
Method Detail

batchId

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

Specified by:
batchId in interface BatchStatisticsQuery

getBatchId

public String getBatchId()

type

public BatchStatisticsQuery type(String type)
Description copied from interface: BatchStatisticsQuery
Only select batch statistics of the given type.

Specified by:
type in interface BatchStatisticsQuery

getType

public String getType()

orderById

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

Specified by:
orderById in interface BatchStatisticsQuery

executeCount

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

executeList

public List<BatchStatistics> 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<BatchStatisticsQuery,BatchStatistics>
page - used if the results must be paged. If null, no paging will be applied.


Copyright © 2016 camunda services GmbH. All rights reserved.