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:
java.io.Serializable
,HistoricDecisionInstanceStatisticsQuery
,Command<java.lang.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 java.lang.String
decisionInstanceId
protected java.lang.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(java.lang.String decisionRequirementsDefinitionId, CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkQueryOk()
HistoricDecisionInstanceStatisticsQuery
decisionInstanceId(java.lang.String decisionInstanceId)
Restrict query results to be based only on specified decision instance idlong
executeCount(CommandContext commandContext)
java.util.List<HistoricDecisionInstanceStatistics>
executeList(CommandContext commandContext, Page page)
Executes the actual query to retrieve the list of results.java.lang.String
getDecisionInstanceId()
java.lang.String
getDecisionRequirementsDefinitionId()
void
setDecisionInstanceId(java.lang.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(java.lang.String decisionRequirementsDefinitionId, CommandExecutor commandExecutor)
-
-
Method Detail
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<HistoricDecisionInstanceStatisticsQuery,HistoricDecisionInstanceStatistics>
-
executeList
public java.util.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 java.lang.String getDecisionRequirementsDefinitionId()
-
decisionInstanceId
public HistoricDecisionInstanceStatisticsQuery decisionInstanceId(java.lang.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 java.lang.String getDecisionInstanceId()
-
setDecisionInstanceId
public void setDecisionInstanceId(java.lang.String decisionInstanceId)
-
-