Package org.camunda.bpm.engine.impl
Class HistoricDecisionInstanceStatisticsQueryImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<HistoricDecisionInstanceStatisticsQuery,HistoricDecisionInstanceStatistics>
org.camunda.bpm.engine.impl.HistoricDecisionInstanceStatisticsQueryImpl
- All Implemented Interfaces:
Serializable
,HistoricDecisionInstanceStatisticsQuery
,Command<Object>
,Query<HistoricDecisionInstanceStatisticsQuery,
HistoricDecisionInstanceStatistics>
public class HistoricDecisionInstanceStatisticsQueryImpl
extends AbstractQuery<HistoricDecisionInstanceStatisticsQuery,HistoricDecisionInstanceStatistics>
implements HistoricDecisionInstanceStatisticsQuery
- Author:
- Askar Akhmerov
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
-
Constructor Summary
ConstructorDescriptionHistoricDecisionInstanceStatisticsQueryImpl
(String decisionRequirementsDefinitionId, CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
decisionInstanceId
(String decisionInstanceId) Restrict query results to be based only on specified decision instance idlong
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.void
setDecisionInstanceId
(String decisionInstanceId) Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
addExpression, addValidator, asc, checkMaxResultsLimit, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeDeploymentIdMappingsList, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, 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
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Field Details
-
decisionRequirementsDefinitionId
-
decisionInstanceId
-
-
Constructor Details
-
HistoricDecisionInstanceStatisticsQueryImpl
public HistoricDecisionInstanceStatisticsQueryImpl(String decisionRequirementsDefinitionId, CommandExecutor commandExecutor)
-
-
Method Details
-
executeCount
- Specified by:
executeCount
in classAbstractQuery<HistoricDecisionInstanceStatisticsQuery,
HistoricDecisionInstanceStatistics>
-
executeList
public List<HistoricDecisionInstanceStatistics> executeList(CommandContext commandContext, Page page) Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractQuery<HistoricDecisionInstanceStatisticsQuery,
HistoricDecisionInstanceStatistics> page
- used if the results must be paged. If null, no paging will be applied.
-
checkQueryOk
protected void checkQueryOk() -
getDecisionRequirementsDefinitionId
-
decisionInstanceId
Description copied from interface:HistoricDecisionInstanceStatisticsQuery
Restrict query results to be based only on specified decision instance id- Specified by:
decisionInstanceId
in interfaceHistoricDecisionInstanceStatisticsQuery
- Parameters:
decisionInstanceId
- - decision instance based on which constraint will be applied- Returns:
- - query object to execute
-
getDecisionInstanceId
-
setDecisionInstanceId
-