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 |
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, validators
authCheck, 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.
|
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, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, count, desc, list, listPage, singleResult, unlimitedList
protected String id
protected String incidentType
protected String incidentMessage
protected String executionId
protected String activityId
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)
IncidentQuery
incidentId
in interface IncidentQuery
public IncidentQuery incidentType(String incidentType)
IncidentQuery
incidentType
in interface IncidentQuery
public IncidentQuery incidentMessage(String incidentMessage)
IncidentQuery
incidentMessage
in interface IncidentQuery
public IncidentQuery executionId(String executionId)
IncidentQuery
executionId
in interface IncidentQuery
public IncidentQuery activityId(String activityId)
IncidentQuery
activityId
in interface IncidentQuery
public IncidentQuery processInstanceId(String processInstanceId)
IncidentQuery
processInstanceId
in interface IncidentQuery
public IncidentQuery processDefinitionId(String processDefinitionId)
IncidentQuery
processDefinitionId
in interface IncidentQuery
public IncidentQuery processDefinitionKeyIn(String... processDefinitionKeys)
IncidentQuery
processDefinitionKeyIn
in interface IncidentQuery
public IncidentQuery causeIncidentId(String causeIncidentId)
IncidentQuery
causeIncidentId
in interface IncidentQuery
public IncidentQuery rootCauseIncidentId(String rootCauseIncidentId)
IncidentQuery
rootCauseIncidentId
in interface IncidentQuery
public IncidentQuery configuration(String configuration)
IncidentQuery
configuration
in interface IncidentQuery
public IncidentQuery tenantIdIn(String... tenantIds)
IncidentQuery
tenantIdIn
in interface IncidentQuery
public IncidentQuery jobDefinitionIdIn(String... jobDefinitionIds)
IncidentQuery
jobDefinitionIdIn
in interface IncidentQuery
public IncidentQuery orderByIncidentId()
IncidentQuery
Query.asc()
or Query.desc()
).orderByIncidentId
in interface IncidentQuery
public IncidentQuery orderByIncidentTimestamp()
IncidentQuery
Query.asc()
or Query.desc()
).orderByIncidentTimestamp
in interface IncidentQuery
public IncidentQuery orderByIncidentType()
IncidentQuery
Query.asc()
or Query.desc()
).orderByIncidentType
in interface IncidentQuery
public IncidentQuery orderByExecutionId()
IncidentQuery
Query.asc()
or Query.desc()
).orderByExecutionId
in interface IncidentQuery
public IncidentQuery orderByActivityId()
IncidentQuery
Query.asc()
or Query.desc()
).orderByActivityId
in interface IncidentQuery
public IncidentQuery orderByProcessInstanceId()
IncidentQuery
Query.asc()
or Query.desc()
).orderByProcessInstanceId
in interface IncidentQuery
public IncidentQuery orderByProcessDefinitionId()
IncidentQuery
Query.asc()
or Query.desc()
).orderByProcessDefinitionId
in interface IncidentQuery
public IncidentQuery orderByCauseIncidentId()
IncidentQuery
Query.asc()
or Query.desc()
).orderByCauseIncidentId
in interface IncidentQuery
public IncidentQuery orderByRootCauseIncidentId()
IncidentQuery
Query.asc()
or Query.desc()
).orderByRootCauseIncidentId
in interface IncidentQuery
public IncidentQuery orderByConfiguration()
IncidentQuery
Query.asc()
or Query.desc()
).orderByConfiguration
in interface IncidentQuery
public IncidentQuery orderByTenantId()
IncidentQuery
Query.asc()
or Query.desc()
).
Note that the ordering of incidents without tenant id is database-specific.orderByTenantId
in interface IncidentQuery
public IncidentQuery orderByIncidentMessage()
IncidentQuery
Query.asc()
or Query.desc()
).orderByIncidentMessage
in interface IncidentQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<IncidentQuery,Incident>
public List<Incident> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<IncidentQuery,Incident>
page
- used if the results must be paged. If null, no paging will be applied.public String[] getProcessDefinitionKeys()
Copyright © 2019. All rights reserved.