org.camunda.bpm.engine.impl
Class HistoricActivityStatisticsQueryImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<HistoricActivityStatisticsQuery,HistoricActivityStatistics>
org.camunda.bpm.engine.impl.HistoricActivityStatisticsQueryImpl
- All Implemented Interfaces:
- Serializable, HistoricActivityStatisticsQuery, Command<Object>, Query<HistoricActivityStatisticsQuery,HistoricActivityStatistics>
public class HistoricActivityStatisticsQueryImpl
- extends AbstractQuery<HistoricActivityStatisticsQuery,HistoricActivityStatistics>
- implements HistoricActivityStatisticsQuery
- Author:
- Roman Smirnov
- See Also:
- Serialized Form
| Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
addExpression, addValidator, asc, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, validate, validate |
| Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
processDefinitionId
protected String processDefinitionId
includeFinished
protected boolean includeFinished
includeCanceled
protected boolean includeCanceled
includeCompleteScope
protected boolean includeCompleteScope
HistoricActivityStatisticsQueryImpl
public HistoricActivityStatisticsQueryImpl(String processDefinitionId,
CommandExecutor commandExecutor)
includeFinished
public HistoricActivityStatisticsQuery includeFinished()
- Description copied from interface:
HistoricActivityStatisticsQuery
- Include an aggregation of finished instances in the result.
- Specified by:
includeFinished in interface HistoricActivityStatisticsQuery
includeCanceled
public HistoricActivityStatisticsQuery includeCanceled()
- Description copied from interface:
HistoricActivityStatisticsQuery
- Include an aggregation of canceled instances in the result.
- Specified by:
includeCanceled in interface HistoricActivityStatisticsQuery
includeCompleteScope
public HistoricActivityStatisticsQuery includeCompleteScope()
- Description copied from interface:
HistoricActivityStatisticsQuery
- Include an aggregation of instances, which complete a scope (ie. in bpmn manner: an activity
which consumed a token and did not produced a new one), in the result.
- Specified by:
includeCompleteScope in interface HistoricActivityStatisticsQuery
orderByActivityId
public HistoricActivityStatisticsQuery orderByActivityId()
- Description copied from interface:
HistoricActivityStatisticsQuery
- Order by activity id (needs to be followed by
Query.asc() or Query.desc()).
- Specified by:
orderByActivityId in interface HistoricActivityStatisticsQuery
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount in class AbstractQuery<HistoricActivityStatisticsQuery,HistoricActivityStatistics>
executeList
public List<HistoricActivityStatistics> 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<HistoricActivityStatisticsQuery,HistoricActivityStatistics>
page - used if the results must be paged. If null, no paging will be applied.
checkQueryOk
protected void checkQueryOk()
- Overrides:
checkQueryOk in class AbstractQuery<HistoricActivityStatisticsQuery,HistoricActivityStatistics>
getProcessDefinitionId
public String getProcessDefinitionId()
isIncludeFinished
public boolean isIncludeFinished()
isIncludeCanceled
public boolean isIncludeCanceled()
isIncludeCompleteScope
public boolean isIncludeCompleteScope()
Copyright © 2017 camunda services GmbH. All rights reserved.