Package org.camunda.bpm.engine.impl
Class IncidentQueryImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<IncidentQuery,Incident>
org.camunda.bpm.engine.impl.IncidentQueryImpl
- All Implemented Interfaces:
Serializable,Command<Object>,Query<IncidentQuery,,Incident> IncidentQuery
public class IncidentQueryImpl
extends AbstractQuery<IncidentQuery,Incident>
implements IncidentQuery, Serializable
- Author:
- roman.smirnov
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected Dateprotected Stringprotected String[]protected Stringprotected String[]protected Stringprotected Stringprotected String[]Fields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivityId(String activityId) Only select incidents which contain an activity with the given id.causeIncidentId(String causeIncidentId) Only select incidents which contain the id of the cause incident.configuration(String configuration) Only select incidents which contain the configuration.longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.executionId(String executionId) Only select incidents with the given id.failedActivityId(String activityId) Only select incidents which were created due to a failure at an activity with the given id.String[]incidentId(String incidentId) Only select incidents which have the given id.incidentMessage(String incidentMessage) Only select incidents which have the given incident message.incidentMessageLike(String incidentMessageLike) Only select incidents which incident message is like the given value.incidentTimestampAfter(Date incidentTimestampAfter) Only select incidents which have an incidentTimestamp date after the given dateincidentTimestampBefore(Date incidentTimestampBefore) Only select incidents which have an incidentTimestamp date before the given dateincidentType(String incidentType) Only select incidents which have the given incident type.jobDefinitionIdIn(String... jobDefinitionIds) Only select incidents that belong to one of the given job definition ids.Order by activityId (needs to be followed byQuery.asc()orQuery.desc()).Order by causeIncidentId (needs to be followed byQuery.asc()orQuery.desc()).Order by configuration (needs to be followed byQuery.asc()orQuery.desc()).Order by executionId (needs to be followed byQuery.asc()orQuery.desc()).Order by id (needs to be followed byQuery.asc()orQuery.desc()).Order by incident message (needs to be followed byQuery.asc()orQuery.desc()).Order by incidentTimestamp (needs to be followed byQuery.asc()orQuery.desc()).Order by incidentType (needs to be followed byQuery.asc()orQuery.desc()).Order by processDefinitionId (needs to be followed byQuery.asc()orQuery.desc()).Order by processInstanceId (needs to be followed byQuery.asc()orQuery.desc()).Order by rootCauseIncidentId (needs to be followed byQuery.asc()orQuery.desc()).Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).processDefinitionId(String processDefinitionId) Only select incidents which have the given process definition id.processDefinitionKeyIn(String... processDefinitionKeys) Only select incidents which have one of the given process definition keys.processInstanceId(String processInstanceId) Only select incidents which have the given process instance id.rootCauseIncidentId(String rootCauseIncidentId) Only select incidents which contain the id of the root cause incident.tenantIdIn(String... tenantIds) Only select incidents that belong to one of the given tenant ids.Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
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, 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
-
id
-
incidentType
-
incidentMessage
-
incidentMessageLike
-
executionId
-
incidentTimestampBefore
-
incidentTimestampAfter
-
activityId
-
failedActivityId
-
processInstanceId
-
processDefinitionId
-
processDefinitionKeys
-
causeIncidentId
-
rootCauseIncidentId
-
configuration
-
tenantIds
-
jobDefinitionIds
-
-
Constructor Details
-
IncidentQueryImpl
public IncidentQueryImpl() -
IncidentQueryImpl
-
-
Method Details
-
incidentId
Description copied from interface:IncidentQueryOnly select incidents which have the given id.- Specified by:
incidentIdin interfaceIncidentQuery
-
incidentType
Description copied from interface:IncidentQueryOnly select incidents which have the given incident type.- Specified by:
incidentTypein interfaceIncidentQuery
-
incidentMessage
Description copied from interface:IncidentQueryOnly select incidents which have the given incident message.- Specified by:
incidentMessagein interfaceIncidentQuery
-
incidentMessageLike
Description copied from interface:IncidentQueryOnly select incidents which incident message is like the given value.- Specified by:
incidentMessageLikein interfaceIncidentQuery- Parameters:
incidentMessageLike- The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
executionId
Description copied from interface:IncidentQueryOnly select incidents with the given id.- Specified by:
executionIdin interfaceIncidentQuery
-
incidentTimestampBefore
Description copied from interface:IncidentQueryOnly select incidents which have an incidentTimestamp date before the given date- Specified by:
incidentTimestampBeforein interfaceIncidentQuery
-
incidentTimestampAfter
Description copied from interface:IncidentQueryOnly select incidents which have an incidentTimestamp date after the given date- Specified by:
incidentTimestampAfterin interfaceIncidentQuery
-
activityId
Description copied from interface:IncidentQueryOnly select incidents which contain an activity with the given id.- Specified by:
activityIdin interfaceIncidentQuery
-
failedActivityId
Description copied from interface:IncidentQueryOnly select incidents which were created due to a failure at an activity with the given id.- Specified by:
failedActivityIdin interfaceIncidentQuery
-
processInstanceId
Description copied from interface:IncidentQueryOnly select incidents which have the given process instance id.- Specified by:
processInstanceIdin interfaceIncidentQuery
-
processDefinitionId
Description copied from interface:IncidentQueryOnly select incidents which have the given process definition id.- Specified by:
processDefinitionIdin interfaceIncidentQuery
-
processDefinitionKeyIn
Description copied from interface:IncidentQueryOnly select incidents which have one of the given process definition keys.- Specified by:
processDefinitionKeyInin interfaceIncidentQuery
-
causeIncidentId
Description copied from interface:IncidentQueryOnly select incidents which contain the id of the cause incident.- Specified by:
causeIncidentIdin interfaceIncidentQuery
-
rootCauseIncidentId
Description copied from interface:IncidentQueryOnly select incidents which contain the id of the root cause incident.- Specified by:
rootCauseIncidentIdin interfaceIncidentQuery
-
configuration
Description copied from interface:IncidentQueryOnly select incidents which contain the configuration.- Specified by:
configurationin interfaceIncidentQuery
-
tenantIdIn
Description copied from interface:IncidentQueryOnly select incidents that belong to one of the given tenant ids.- Specified by:
tenantIdInin interfaceIncidentQuery
-
jobDefinitionIdIn
Description copied from interface:IncidentQueryOnly select incidents that belong to one of the given job definition ids.- Specified by:
jobDefinitionIdInin interfaceIncidentQuery
-
orderByIncidentId
Description copied from interface:IncidentQueryOrder by id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByIncidentIdin interfaceIncidentQuery
-
orderByIncidentTimestamp
Description copied from interface:IncidentQueryOrder by incidentTimestamp (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByIncidentTimestampin interfaceIncidentQuery
-
orderByIncidentType
Description copied from interface:IncidentQueryOrder by incidentType (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByIncidentTypein interfaceIncidentQuery
-
orderByExecutionId
Description copied from interface:IncidentQueryOrder by executionId (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByExecutionIdin interfaceIncidentQuery
-
orderByActivityId
Description copied from interface:IncidentQueryOrder by activityId (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByActivityIdin interfaceIncidentQuery
-
orderByProcessInstanceId
Description copied from interface:IncidentQueryOrder by processInstanceId (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceIdin interfaceIncidentQuery
-
orderByProcessDefinitionId
Description copied from interface:IncidentQueryOrder by processDefinitionId (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessDefinitionIdin interfaceIncidentQuery
-
orderByCauseIncidentId
Description copied from interface:IncidentQueryOrder by causeIncidentId (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByCauseIncidentIdin interfaceIncidentQuery
-
orderByRootCauseIncidentId
Description copied from interface:IncidentQueryOrder by rootCauseIncidentId (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByRootCauseIncidentIdin interfaceIncidentQuery
-
orderByConfiguration
Description copied from interface:IncidentQueryOrder by configuration (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByConfigurationin interfaceIncidentQuery
-
orderByTenantId
Description copied from interface:IncidentQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()). Note that the ordering of incidents without tenant id is database-specific.- Specified by:
orderByTenantIdin interfaceIncidentQuery
-
orderByIncidentMessage
Description copied from interface:IncidentQueryOrder by incident message (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByIncidentMessagein interfaceIncidentQuery
-
executeCount
- Specified by:
executeCountin classAbstractQuery<IncidentQuery,Incident>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<IncidentQuery,Incident> page- used if the results must be paged. If null, no paging will be applied.
-
getProcessDefinitionKeys
-