Package org.camunda.bpm.engine.runtime
Interface IncidentQuery
-
- All Superinterfaces:
Query<IncidentQuery,Incident>
- All Known Implementing Classes:
IncidentQueryImpl
public interface IncidentQuery extends Query<IncidentQuery,Incident>
- Author:
- roman.smirnov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IncidentQueryactivityId(java.lang.String activityId)Only select incidents which contain an activity with the given id.IncidentQuerycauseIncidentId(java.lang.String causeIncidentId)Only select incidents which contain the id of the cause incident.IncidentQueryconfiguration(java.lang.String configuration)Only select incidents which contain the configuration.IncidentQueryexecutionId(java.lang.String executionId)Only select incidents with the given id.IncidentQueryfailedActivityId(java.lang.String activityId)Only select incidents which were created due to a failure at an activity with the given id.IncidentQueryincidentId(java.lang.String incidentId)Only select incidents which have the given id.IncidentQueryincidentMessage(java.lang.String incidentMessage)Only select incidents which have the given incident message.IncidentQueryincidentMessageLike(java.lang.String incidentMessageLike)Only select incidents which incident message is like the given value.IncidentQueryincidentTimestampAfter(java.util.Date incidentTimestampAfter)Only select incidents which have an incidentTimestamp date after the given dateIncidentQueryincidentTimestampBefore(java.util.Date incidentTimestampBefore)Only select incidents which have an incidentTimestamp date before the given dateIncidentQueryincidentType(java.lang.String incidentType)Only select incidents which have the given incident type.IncidentQueryjobDefinitionIdIn(java.lang.String... jobDefinitionIds)Only select incidents that belong to one of the given job definition ids.IncidentQueryorderByActivityId()Order by activityId (needs to be followed byQuery.asc()orQuery.desc()).IncidentQueryorderByCauseIncidentId()Order by causeIncidentId (needs to be followed byQuery.asc()orQuery.desc()).IncidentQueryorderByConfiguration()Order by configuration (needs to be followed byQuery.asc()orQuery.desc()).IncidentQueryorderByExecutionId()Order by executionId (needs to be followed byQuery.asc()orQuery.desc()).IncidentQueryorderByIncidentId()Order by id (needs to be followed byQuery.asc()orQuery.desc()).IncidentQueryorderByIncidentMessage()Order by incident message (needs to be followed byQuery.asc()orQuery.desc()).IncidentQueryorderByIncidentTimestamp()Order by incidentTimestamp (needs to be followed byQuery.asc()orQuery.desc()).IncidentQueryorderByIncidentType()Order by incidentType (needs to be followed byQuery.asc()orQuery.desc()).IncidentQueryorderByProcessDefinitionId()Order by processDefinitionId (needs to be followed byQuery.asc()orQuery.desc()).IncidentQueryorderByProcessInstanceId()Order by processInstanceId (needs to be followed byQuery.asc()orQuery.desc()).IncidentQueryorderByRootCauseIncidentId()Order by rootCauseIncidentId (needs to be followed byQuery.asc()orQuery.desc()).IncidentQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).IncidentQueryprocessDefinitionId(java.lang.String processDefinitionId)Only select incidents which have the given process definition id.IncidentQueryprocessDefinitionKeyIn(java.lang.String... processDefinitionKeys)Only select incidents which have one of the given process definition keys.IncidentQueryprocessInstanceId(java.lang.String processInstanceId)Only select incidents which have the given process instance id.IncidentQueryrootCauseIncidentId(java.lang.String rootCauseIncidentId)Only select incidents which contain the id of the root cause incident.IncidentQuerytenantIdIn(java.lang.String... tenantIds)Only select incidents that belong to one of the given tenant ids.-
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
Method Detail
-
incidentId
IncidentQuery incidentId(java.lang.String incidentId)
Only select incidents which have the given id.
-
incidentType
IncidentQuery incidentType(java.lang.String incidentType)
Only select incidents which have the given incident type.
-
incidentMessage
IncidentQuery incidentMessage(java.lang.String incidentMessage)
Only select incidents which have the given incident message.
-
incidentMessageLike
IncidentQuery incidentMessageLike(java.lang.String incidentMessageLike)
Only select incidents which incident message is like the given value.- Parameters:
incidentMessageLike- The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
processDefinitionId
IncidentQuery processDefinitionId(java.lang.String processDefinitionId)
Only select incidents which have the given process definition id.
-
processDefinitionKeyIn
IncidentQuery processDefinitionKeyIn(java.lang.String... processDefinitionKeys)
Only select incidents which have one of the given process definition keys.
-
processInstanceId
IncidentQuery processInstanceId(java.lang.String processInstanceId)
Only select incidents which have the given process instance id.
-
executionId
IncidentQuery executionId(java.lang.String executionId)
Only select incidents with the given id.
-
incidentTimestampBefore
IncidentQuery incidentTimestampBefore(java.util.Date incidentTimestampBefore)
Only select incidents which have an incidentTimestamp date before the given date
-
incidentTimestampAfter
IncidentQuery incidentTimestampAfter(java.util.Date incidentTimestampAfter)
Only select incidents which have an incidentTimestamp date after the given date
-
activityId
IncidentQuery activityId(java.lang.String activityId)
Only select incidents which contain an activity with the given id.
-
failedActivityId
IncidentQuery failedActivityId(java.lang.String activityId)
Only select incidents which were created due to a failure at an activity with the given id.
-
causeIncidentId
IncidentQuery causeIncidentId(java.lang.String causeIncidentId)
Only select incidents which contain the id of the cause incident.
-
rootCauseIncidentId
IncidentQuery rootCauseIncidentId(java.lang.String rootCauseIncidentId)
Only select incidents which contain the id of the root cause incident.
-
configuration
IncidentQuery configuration(java.lang.String configuration)
Only select incidents which contain the configuration.
-
tenantIdIn
IncidentQuery tenantIdIn(java.lang.String... tenantIds)
Only select incidents that belong to one of the given tenant ids.
-
jobDefinitionIdIn
IncidentQuery jobDefinitionIdIn(java.lang.String... jobDefinitionIds)
Only select incidents that belong to one of the given job definition ids.
-
orderByIncidentId
IncidentQuery orderByIncidentId()
Order by id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByIncidentTimestamp
IncidentQuery orderByIncidentTimestamp()
Order by incidentTimestamp (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByIncidentMessage
IncidentQuery orderByIncidentMessage()
Order by incident message (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByIncidentType
IncidentQuery orderByIncidentType()
Order by incidentType (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByExecutionId
IncidentQuery orderByExecutionId()
Order by executionId (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByActivityId
IncidentQuery orderByActivityId()
Order by activityId (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByProcessInstanceId
IncidentQuery orderByProcessInstanceId()
Order by processInstanceId (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByProcessDefinitionId
IncidentQuery orderByProcessDefinitionId()
Order by processDefinitionId (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByCauseIncidentId
IncidentQuery orderByCauseIncidentId()
Order by causeIncidentId (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByRootCauseIncidentId
IncidentQuery orderByRootCauseIncidentId()
Order by rootCauseIncidentId (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByConfiguration
IncidentQuery orderByConfiguration()
Order by configuration (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByTenantId
IncidentQuery orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()). Note that the ordering of incidents without tenant id is database-specific.
-
-