Package org.camunda.bpm.engine.impl
Class ActivityStatisticsQueryImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<ActivityStatisticsQuery,ActivityStatistics>
org.camunda.bpm.engine.impl.ActivityStatisticsQueryImpl
- All Implemented Interfaces:
Serializable,Command<Object>,ActivityStatisticsQuery,Query<ActivityStatisticsQuery,ActivityStatistics>
public class ActivityStatisticsQueryImpl
extends AbstractQuery<ActivityStatisticsQuery,ActivityStatistics>
implements ActivityStatisticsQuery
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<PermissionCheck>protected booleanprotected booleanprotected Stringprotected List<PermissionCheck>protected Stringprotected List<PermissionCheck>protected static final longFields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsFields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck -
Constructor Summary
ConstructorsConstructorDescriptionActivityStatisticsQueryImpl(String processDefinitionId, CommandExecutor executor) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIncidentPermissionCheck(List<PermissionCheck> permissionChecks) voidaddJobPermissionCheck(List<PermissionCheck> permissionChecks) voidaddProcessInstancePermissionCheck(List<PermissionCheck> permissionChecks) protected voidlongexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.Include an aggregation of failed jobs in the result.Include an aggregation of incidents in the result.includeIncidentsForType(String incidentType) Include an aggregation of incidents of the assigned incidentType in the result.booleanbooleanvoidsetIncidentPermissionChecks(List<PermissionCheck> incidentPermissionChecks) voidsetJobPermissionChecks(List<PermissionCheck> jobPermissionChecks) voidsetProcessInstancePermissionChecks(List<PermissionCheck> processInstancePermissionChecks) 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, validateMethods 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, setTenantCheckMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Field Details
-
serialVersionUID
protected static final long serialVersionUID- See Also:
-
includeFailedJobs
protected boolean includeFailedJobs -
processDefinitionId
-
includeIncidents
protected boolean includeIncidents -
includeIncidentsForType
-
processInstancePermissionChecks
-
jobPermissionChecks
-
incidentPermissionChecks
-
-
Constructor Details
-
ActivityStatisticsQueryImpl
-
-
Method Details
-
executeCount
- Specified by:
executeCountin classAbstractQuery<ActivityStatisticsQuery,ActivityStatistics>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<ActivityStatisticsQuery,ActivityStatistics> page- used if the results must be paged. If null, no paging will be applied.
-
includeFailedJobs
Description copied from interface:ActivityStatisticsQueryInclude an aggregation of failed jobs in the result.- Specified by:
includeFailedJobsin interfaceActivityStatisticsQuery
-
includeIncidents
Description copied from interface:ActivityStatisticsQueryInclude an aggregation of incidents in the result.- Specified by:
includeIncidentsin interfaceActivityStatisticsQuery
-
includeIncidentsForType
Description copied from interface:ActivityStatisticsQueryInclude an aggregation of incidents of the assigned incidentType in the result.- Specified by:
includeIncidentsForTypein interfaceActivityStatisticsQuery
-
isFailedJobsToInclude
public boolean isFailedJobsToInclude() -
isIncidentsToInclude
public boolean isIncidentsToInclude() -
getProcessDefinitionId
-
checkQueryOk
protected void checkQueryOk()- Overrides:
checkQueryOkin classAbstractQuery<ActivityStatisticsQuery,ActivityStatistics>
-
getProcessInstancePermissionChecks
-
setProcessInstancePermissionChecks
public void setProcessInstancePermissionChecks(List<PermissionCheck> processInstancePermissionChecks) -
addProcessInstancePermissionCheck
-
getJobPermissionChecks
-
setJobPermissionChecks
-
addJobPermissionCheck
-
getIncidentPermissionChecks
-
setIncidentPermissionChecks
-
addIncidentPermissionCheck
-