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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
-
-
Field Summary
Fields Modifier and Type Field Description protected String
decisionInstanceId
protected String
decisionRequirementsDefinitionId
-
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
Constructors Constructor Description HistoricDecisionInstanceStatisticsQueryImpl(String decisionRequirementsDefinitionId, CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkQueryOk()
HistoricDecisionInstanceStatisticsQuery
decisionInstanceId(String decisionInstanceId)
Restrict query results to be based only on specified decision instance idlong
executeCount(CommandContext commandContext)
List<HistoricDecisionInstanceStatistics>
executeList(CommandContext commandContext, Page page)
Executes the actual query to retrieve the list of results.String
getDecisionInstanceId()
String
getDecisionRequirementsDefinitionId()
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.impl.interceptor.Command
isRetryable
-
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
Constructor Detail
-
HistoricDecisionInstanceStatisticsQueryImpl
public HistoricDecisionInstanceStatisticsQueryImpl(String decisionRequirementsDefinitionId, CommandExecutor commandExecutor)
-
-
Method Detail
-
executeCount
public long executeCount(CommandContext commandContext)
- 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()
- Overrides:
checkQueryOk
in classAbstractQuery<HistoricDecisionInstanceStatisticsQuery,HistoricDecisionInstanceStatistics>
-
getDecisionRequirementsDefinitionId
public String getDecisionRequirementsDefinitionId()
-
decisionInstanceId
public HistoricDecisionInstanceStatisticsQuery decisionInstanceId(String 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
public String getDecisionInstanceId()
-
setDecisionInstanceId
public void setDecisionInstanceId(String decisionInstanceId)
-
-