Package org.camunda.bpm.engine.impl
Class DeploymentStatisticsQueryImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.db.ListQueryParameterObject
-
- org.camunda.bpm.engine.impl.AbstractQuery<DeploymentStatisticsQuery,DeploymentStatistics>
-
- org.camunda.bpm.engine.impl.DeploymentStatisticsQueryImpl
-
- All Implemented Interfaces:
Serializable,Command<Object>,DeploymentStatisticsQuery,Query<DeploymentStatisticsQuery,DeploymentStatistics>
public class DeploymentStatisticsQueryImpl extends AbstractQuery<DeploymentStatisticsQuery,DeploymentStatistics> implements DeploymentStatisticsQuery
- 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 List<PermissionCheck>incidentPermissionChecksprotected booleanincludeFailedJobsprotected booleanincludeIncidentsprotected StringincludeIncidentsForTypeprotected List<PermissionCheck>jobPermissionChecksprotected List<PermissionCheck>processInstancePermissionChecksprotected static longserialVersionUID-
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 DeploymentStatisticsQueryImpl(CommandExecutor executor)
-
Method Summary
-
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
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
- See Also:
- Constant Field Values
-
includeFailedJobs
protected boolean includeFailedJobs
-
includeIncidents
protected boolean includeIncidents
-
includeIncidentsForType
protected String includeIncidentsForType
-
processInstancePermissionChecks
protected List<PermissionCheck> processInstancePermissionChecks
-
jobPermissionChecks
protected List<PermissionCheck> jobPermissionChecks
-
incidentPermissionChecks
protected List<PermissionCheck> incidentPermissionChecks
-
-
Constructor Detail
-
DeploymentStatisticsQueryImpl
public DeploymentStatisticsQueryImpl(CommandExecutor executor)
-
-
Method Detail
-
includeFailedJobs
public DeploymentStatisticsQuery includeFailedJobs()
Description copied from interface:DeploymentStatisticsQueryInclude an aggregation of failed jobs in the result.- Specified by:
includeFailedJobsin interfaceDeploymentStatisticsQuery
-
includeIncidents
public DeploymentStatisticsQuery includeIncidents()
Description copied from interface:DeploymentStatisticsQueryInclude an aggregation of incidents in the result.- Specified by:
includeIncidentsin interfaceDeploymentStatisticsQuery
-
includeIncidentsForType
public DeploymentStatisticsQuery includeIncidentsForType(String incidentType)
Description copied from interface:DeploymentStatisticsQueryInclude an aggregation of incidents of the assigned incidentType in the result.- Specified by:
includeIncidentsForTypein interfaceDeploymentStatisticsQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<DeploymentStatisticsQuery,DeploymentStatistics>
-
executeList
public List<DeploymentStatistics> executeList(CommandContext commandContext, Page page)
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<DeploymentStatisticsQuery,DeploymentStatistics>page- used if the results must be paged. If null, no paging will be applied.
-
isFailedJobsToInclude
public boolean isFailedJobsToInclude()
-
isIncidentsToInclude
public boolean isIncidentsToInclude()
-
checkQueryOk
protected void checkQueryOk()
- Overrides:
checkQueryOkin classAbstractQuery<DeploymentStatisticsQuery,DeploymentStatistics>
-
getProcessInstancePermissionChecks
public List<PermissionCheck> getProcessInstancePermissionChecks()
-
setProcessInstancePermissionChecks
public void setProcessInstancePermissionChecks(List<PermissionCheck> processInstancePermissionChecks)
-
addProcessInstancePermissionCheck
public void addProcessInstancePermissionCheck(List<PermissionCheck> permissionChecks)
-
getJobPermissionChecks
public List<PermissionCheck> getJobPermissionChecks()
-
setJobPermissionChecks
public void setJobPermissionChecks(List<PermissionCheck> jobPermissionChecks)
-
addJobPermissionCheck
public void addJobPermissionCheck(List<PermissionCheck> permissionChecks)
-
getIncidentPermissionChecks
public List<PermissionCheck> getIncidentPermissionChecks()
-
setIncidentPermissionChecks
public void setIncidentPermissionChecks(List<PermissionCheck> incidentPermissionChecks)
-
addIncidentPermissionCheck
public void addIncidentPermissionCheck(List<PermissionCheck> permissionChecks)
-
-