org.camunda.bpm.engine.impl.batch.history
Class HistoricBatchQueryImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.db.AuthorizationCheck
      extended by org.camunda.bpm.engine.impl.db.ListQueryParameterObject
          extended by org.camunda.bpm.engine.impl.AbstractQuery<HistoricBatchQuery,HistoricBatch>
              extended by org.camunda.bpm.engine.impl.batch.history.HistoricBatchQueryImpl
All Implemented Interfaces:
Serializable, HistoricBatchQuery, Command<Object>, Query<HistoricBatchQuery,HistoricBatch>

public class HistoricBatchQueryImpl
extends AbstractQuery<HistoricBatchQuery,HistoricBatch>
implements HistoricBatchQuery

See Also:
Serialized Form

Field Summary
protected  String batchId
           
 
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
databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter
 
Fields inherited from class org.camunda.bpm.engine.impl.db.AuthorizationCheck
authDefaultPerm, authGroupIds, authUserId, isAuthorizationCheckEnabled, permissionChecks
 
Constructor Summary
HistoricBatchQueryImpl(CommandExecutor commandExecutor)
           
 
Method Summary
 HistoricBatchQuery batchId(String batchId)
          Only select historic batch instances for the given batch id.
 long executeCount(CommandContext commandContext)
           
 List<HistoricBatch> executeList(CommandContext commandContext, Page page)
          Executes the actual query to retrieve the list of results.
 String getBatchId()
           
 
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
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter
 
Methods inherited from class org.camunda.bpm.engine.impl.db.AuthorizationCheck
addAtomicPermissionCheck, getAuthDefaultPerm, getAuthGroupIds, getAuthUserId, getPermissionChecks, isAuthorizationCheckEnabled, setAtomicPermissionChecks, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthUserId, setPermissionChecks
 
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
Constructor Detail

HistoricBatchQueryImpl

public HistoricBatchQueryImpl(CommandExecutor commandExecutor)
Method Detail

batchId

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

Specified by:
batchId in interface HistoricBatchQuery

getBatchId

public String getBatchId()

executeCount

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

executeList

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


Copyright © 2016 camunda services GmbH. All rights reserved.