public class ActivityStatisticsQueryImpl extends AbstractQuery<ActivityStatisticsQuery,ActivityStatistics> implements ActivityStatisticsQuery
AbstractQuery.ResultType
Modifier and Type | Field and Description |
---|---|
protected List<PermissionCheck> |
incidentPermissionChecks |
protected boolean |
includeFailedJobs |
protected boolean |
includeIncidents |
protected String |
includeIncidentsForType |
protected List<PermissionCheck> |
jobPermissionChecks |
protected String |
processDefinitionId |
protected List<PermissionCheck> |
processInstancePermissionChecks |
protected static long |
serialVersionUID |
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
Constructor and Description |
---|
ActivityStatisticsQueryImpl(String processDefinitionId,
CommandExecutor executor) |
addExpression, addValidator, asc, checkMaxResultsLimit, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unboundedResultList, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
protected static final long serialVersionUID
protected boolean includeFailedJobs
protected String processDefinitionId
protected boolean includeIncidents
protected String includeIncidentsForType
protected List<PermissionCheck> processInstancePermissionChecks
protected List<PermissionCheck> jobPermissionChecks
protected List<PermissionCheck> incidentPermissionChecks
public ActivityStatisticsQueryImpl(String processDefinitionId, CommandExecutor executor)
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<ActivityStatisticsQuery,ActivityStatistics>
public List<ActivityStatistics> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<ActivityStatisticsQuery,ActivityStatistics>
page
- used if the results must be paged. If null, no paging will be applied.public ActivityStatisticsQuery includeFailedJobs()
ActivityStatisticsQuery
includeFailedJobs
in interface ActivityStatisticsQuery
public ActivityStatisticsQuery includeIncidents()
ActivityStatisticsQuery
includeIncidents
in interface ActivityStatisticsQuery
public ActivityStatisticsQuery includeIncidentsForType(String incidentType)
ActivityStatisticsQuery
includeIncidentsForType
in interface ActivityStatisticsQuery
public boolean isFailedJobsToInclude()
public boolean isIncidentsToInclude()
public String getProcessDefinitionId()
protected void checkQueryOk()
checkQueryOk
in class AbstractQuery<ActivityStatisticsQuery,ActivityStatistics>
public List<PermissionCheck> getProcessInstancePermissionChecks()
public void setProcessInstancePermissionChecks(List<PermissionCheck> processInstancePermissionChecks)
public void addProcessInstancePermissionCheck(List<PermissionCheck> permissionChecks)
public List<PermissionCheck> getJobPermissionChecks()
public void setJobPermissionChecks(List<PermissionCheck> jobPermissionChecks)
public void addJobPermissionCheck(List<PermissionCheck> permissionChecks)
public List<PermissionCheck> getIncidentPermissionChecks()
public void setIncidentPermissionChecks(List<PermissionCheck> incidentPermissionChecks)
public void addIncidentPermissionCheck(List<PermissionCheck> permissionChecks)
Copyright © 2022. All rights reserved.