public class IncidentQueryImpl extends AbstractQuery<IncidentQuery,Incident> implements IncidentQuery, Serializable
AbstractQuery.ResultType| Modifier and Type | Field and Description |
|---|---|
protected String |
activityId |
protected String |
causeIncidentId |
protected String |
configuration |
protected String |
executionId |
protected String |
failedActivityId |
protected String |
id |
protected String |
incidentMessage |
protected String |
incidentType |
protected String[] |
jobDefinitionIds |
protected String |
processDefinitionId |
protected String[] |
processDefinitionKeys |
protected String |
processInstanceId |
protected String |
rootCauseIncidentId |
protected String[] |
tenantIds |
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck| Constructor and Description |
|---|
IncidentQueryImpl() |
IncidentQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
IncidentQuery |
activityId(String activityId)
Only select incidents which contain an activity with the given id.
|
IncidentQuery |
causeIncidentId(String causeIncidentId)
Only select incidents which contain the id of the cause incident.
|
IncidentQuery |
configuration(String configuration)
Only select incidents which contain the configuration.
|
long |
executeCount(CommandContext commandContext) |
List<Incident> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
IncidentQuery |
executionId(String executionId)
Only select incidents with the given id.
|
IncidentQuery |
failedActivityId(String activityId)
Only select incidents which were created due to a failure at an activity with the given id.
|
String[] |
getProcessDefinitionKeys() |
IncidentQuery |
incidentId(String incidentId)
Only select incidents which have the given id.
|
IncidentQuery |
incidentMessage(String incidentMessage)
Only select incidents which have the given incident message.
|
IncidentQuery |
incidentType(String incidentType)
Only select incidents which have the given incident type.
|
IncidentQuery |
jobDefinitionIdIn(String... jobDefinitionIds)
Only select incidents that belong to one of the given job definition ids.
|
IncidentQuery |
orderByActivityId()
Order by activityId (needs to be followed by
Query.asc() or Query.desc()). |
IncidentQuery |
orderByCauseIncidentId()
Order by causeIncidentId (needs to be followed by
Query.asc() or Query.desc()). |
IncidentQuery |
orderByConfiguration()
Order by configuration (needs to be followed by
Query.asc() or Query.desc()). |
IncidentQuery |
orderByExecutionId()
Order by executionId (needs to be followed by
Query.asc() or Query.desc()). |
IncidentQuery |
orderByIncidentId()
Order by id (needs to be followed by
Query.asc() or Query.desc()). |
IncidentQuery |
orderByIncidentMessage()
Order by incident message (needs to be followed by
Query.asc() or Query.desc()). |
IncidentQuery |
orderByIncidentTimestamp()
Order by incidentTimestamp (needs to be followed by
Query.asc() or Query.desc()). |
IncidentQuery |
orderByIncidentType()
Order by incidentType (needs to be followed by
Query.asc() or Query.desc()). |
IncidentQuery |
orderByProcessDefinitionId()
Order by processDefinitionId (needs to be followed by
Query.asc() or Query.desc()). |
IncidentQuery |
orderByProcessInstanceId()
Order by processInstanceId (needs to be followed by
Query.asc() or Query.desc()). |
IncidentQuery |
orderByRootCauseIncidentId()
Order by rootCauseIncidentId (needs to be followed by
Query.asc() or Query.desc()). |
IncidentQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc()). |
IncidentQuery |
processDefinitionId(String processDefinitionId)
Only select incidents which have the given process definition id.
|
IncidentQuery |
processDefinitionKeyIn(String... processDefinitionKeys)
Only select incidents which have one of the given process definition keys.
|
IncidentQuery |
processInstanceId(String processInstanceId)
Only select incidents which have the given process instance id.
|
IncidentQuery |
rootCauseIncidentId(String rootCauseIncidentId)
Only select incidents which contain the id of the root cause incident.
|
IncidentQuery |
tenantIdIn(String... tenantIds)
Only select incidents that belong to one of the given tenant ids.
|
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, 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, validategetAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheckclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasc, count, desc, list, listPage, singleResult, unlimitedListprotected String id
protected String incidentType
protected String incidentMessage
protected String executionId
protected String activityId
protected String failedActivityId
protected String processInstanceId
protected String processDefinitionId
protected String[] processDefinitionKeys
protected String causeIncidentId
protected String rootCauseIncidentId
protected String configuration
protected String[] tenantIds
protected String[] jobDefinitionIds
public IncidentQueryImpl()
public IncidentQueryImpl(CommandExecutor commandExecutor)
public IncidentQuery incidentId(String incidentId)
IncidentQueryincidentId in interface IncidentQuerypublic IncidentQuery incidentType(String incidentType)
IncidentQueryincidentType in interface IncidentQuerypublic IncidentQuery incidentMessage(String incidentMessage)
IncidentQueryincidentMessage in interface IncidentQuerypublic IncidentQuery executionId(String executionId)
IncidentQueryexecutionId in interface IncidentQuerypublic IncidentQuery activityId(String activityId)
IncidentQueryactivityId in interface IncidentQuerypublic IncidentQuery failedActivityId(String activityId)
IncidentQueryfailedActivityId in interface IncidentQuerypublic IncidentQuery processInstanceId(String processInstanceId)
IncidentQueryprocessInstanceId in interface IncidentQuerypublic IncidentQuery processDefinitionId(String processDefinitionId)
IncidentQueryprocessDefinitionId in interface IncidentQuerypublic IncidentQuery processDefinitionKeyIn(String... processDefinitionKeys)
IncidentQueryprocessDefinitionKeyIn in interface IncidentQuerypublic IncidentQuery causeIncidentId(String causeIncidentId)
IncidentQuerycauseIncidentId in interface IncidentQuerypublic IncidentQuery rootCauseIncidentId(String rootCauseIncidentId)
IncidentQueryrootCauseIncidentId in interface IncidentQuerypublic IncidentQuery configuration(String configuration)
IncidentQueryconfiguration in interface IncidentQuerypublic IncidentQuery tenantIdIn(String... tenantIds)
IncidentQuerytenantIdIn in interface IncidentQuerypublic IncidentQuery jobDefinitionIdIn(String... jobDefinitionIds)
IncidentQueryjobDefinitionIdIn in interface IncidentQuerypublic IncidentQuery orderByIncidentId()
IncidentQueryQuery.asc() or Query.desc()).orderByIncidentId in interface IncidentQuerypublic IncidentQuery orderByIncidentTimestamp()
IncidentQueryQuery.asc() or Query.desc()).orderByIncidentTimestamp in interface IncidentQuerypublic IncidentQuery orderByIncidentType()
IncidentQueryQuery.asc() or Query.desc()).orderByIncidentType in interface IncidentQuerypublic IncidentQuery orderByExecutionId()
IncidentQueryQuery.asc() or Query.desc()).orderByExecutionId in interface IncidentQuerypublic IncidentQuery orderByActivityId()
IncidentQueryQuery.asc() or Query.desc()).orderByActivityId in interface IncidentQuerypublic IncidentQuery orderByProcessInstanceId()
IncidentQueryQuery.asc() or Query.desc()).orderByProcessInstanceId in interface IncidentQuerypublic IncidentQuery orderByProcessDefinitionId()
IncidentQueryQuery.asc() or Query.desc()).orderByProcessDefinitionId in interface IncidentQuerypublic IncidentQuery orderByCauseIncidentId()
IncidentQueryQuery.asc() or Query.desc()).orderByCauseIncidentId in interface IncidentQuerypublic IncidentQuery orderByRootCauseIncidentId()
IncidentQueryQuery.asc() or Query.desc()).orderByRootCauseIncidentId in interface IncidentQuerypublic IncidentQuery orderByConfiguration()
IncidentQueryQuery.asc() or Query.desc()).orderByConfiguration in interface IncidentQuerypublic IncidentQuery orderByTenantId()
IncidentQueryQuery.asc() or Query.desc()).
Note that the ordering of incidents without tenant id is database-specific.orderByTenantId in interface IncidentQuerypublic IncidentQuery orderByIncidentMessage()
IncidentQueryQuery.asc() or Query.desc()).orderByIncidentMessage in interface IncidentQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<IncidentQuery,Incident>public List<Incident> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractQuery<IncidentQuery,Incident>page - used if the results must be paged. If null, no paging will be applied.public String[] getProcessDefinitionKeys()
Copyright © 2021. All rights reserved.