Package org.camunda.bpm.engine.history
Interface HistoricIncidentQuery
-
- All Superinterfaces:
Query<HistoricIncidentQuery,HistoricIncident>
- All Known Implementing Classes:
HistoricIncidentQueryImpl
public interface HistoricIncidentQuery extends Query<HistoricIncidentQuery,HistoricIncident>
- Author:
- Roman Smirnov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HistoricIncidentQuery
activityId(String activityId)
Only select historic incidents which contain an activity with the given id.HistoricIncidentQuery
causeIncidentId(String causeIncidentId)
Only select historic incidents which contain the id of the cause incident.HistoricIncidentQuery
configuration(String configuration)
Only select incidents which contain the configuration.HistoricIncidentQuery
createTimeAfter(Date createTimeAfter)
Only select historic incidents which have a createTime date after the given dateHistoricIncidentQuery
createTimeBefore(Date createTimeBefore)
Only select historic incidents which have a createTime date before the given dateHistoricIncidentQuery
deleted()
Only select historic incidents which are deleted.HistoricIncidentQuery
endTimeAfter(Date endTimeAfter)
Only select historic incidents which have an endTimeAfter date after the given dateHistoricIncidentQuery
endTimeBefore(Date endTimeBefore)
Only select historic incidents which have an endTimeBefore date before the given dateHistoricIncidentQuery
executionId(String executionId)
Only select historic incidents with the given id.HistoricIncidentQuery
failedActivityId(String activityId)
Only select historic incidents which were created due to a failure at an activity with the given id.HistoricIncidentQuery
historyConfiguration(String historyConfiguration)
Only select incidents which contain the historyConfiguration.HistoricIncidentQuery
incidentId(String incidentId)
Only select historic incidents which have the given id.HistoricIncidentQuery
incidentMessage(String incidentMessage)
Only select historic incidents which have the given incident message.HistoricIncidentQuery
incidentMessageLike(String incidentMessageLike)
Only select historic incidents which incident message is like the given valueHistoricIncidentQuery
incidentType(String incidentType)
Only select historic incidents which have the given incident type.HistoricIncidentQuery
jobDefinitionIdIn(String... jobDefinitionIds)
Only select incidents that belong to one of the given job definition ids.HistoricIncidentQuery
open()
Only select historic incidents which are open.HistoricIncidentQuery
orderByActivityId()
Order by activityId (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricIncidentQuery
orderByCauseIncidentId()
Order by causeIncidentId (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricIncidentQuery
orderByConfiguration()
Order by configuration (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricIncidentQuery
orderByCreateTime()
Order by create time (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricIncidentQuery
orderByEndTime()
Order by end time (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricIncidentQuery
orderByExecutionId()
Order by executionId (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricIncidentQuery
orderByHistoryConfiguration()
Order by historyConfiguration (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricIncidentQuery
orderByIncidentId()
Order by id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricIncidentQuery
orderByIncidentMessage()
Order by message (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricIncidentQuery
orderByIncidentState()
Order by incidentState (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricIncidentQuery
orderByIncidentType()
Order by incidentType (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricIncidentQuery
orderByProcessDefinitionId()
Order by processDefinitionId (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricIncidentQuery
orderByProcessDefinitionKey()
Order by processDefinitionKey (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricIncidentQuery
orderByProcessInstanceId()
Order by processInstanceId (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricIncidentQuery
orderByRootCauseIncidentId()
Order by rootCauseIncidentId (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricIncidentQuery
orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricIncidentQuery
processDefinitionId(String processDefinitionId)
Only select historic incidents which have the given process definition id.HistoricIncidentQuery
processDefinitionKey(String processDefinitionKey)
Only select historic incidents which have the given processDefinitionKey.HistoricIncidentQuery
processDefinitionKeyIn(String... processDefinitionKeys)
Only select historic incidents which have one of the given process definition keys.HistoricIncidentQuery
processInstanceId(String processInstanceId)
Only select historic incidents which have the given process instance id.HistoricIncidentQuery
resolved()
Only select historic incidents which are resolved.HistoricIncidentQuery
rootCauseIncidentId(String rootCauseIncidentId)
Only select historic incidents which contain the id of the root cause incident.HistoricIncidentQuery
tenantIdIn(String... tenantIds)
Only select historic incidents that belong to one of the given tenant ids.HistoricIncidentQuery
withoutTenantId()
Only selects historic incidents that have no tenant id.-
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
Method Detail
-
incidentId
HistoricIncidentQuery incidentId(String incidentId)
Only select historic incidents which have the given id.
-
incidentType
HistoricIncidentQuery incidentType(String incidentType)
Only select historic incidents which have the given incident type.
-
incidentMessage
HistoricIncidentQuery incidentMessage(String incidentMessage)
Only select historic incidents which have the given incident message.
-
incidentMessageLike
HistoricIncidentQuery incidentMessageLike(String incidentMessageLike)
Only select historic 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
HistoricIncidentQuery processDefinitionId(String processDefinitionId)
Only select historic incidents which have the given process definition id.
-
processDefinitionKey
HistoricIncidentQuery processDefinitionKey(String processDefinitionKey)
Only select historic incidents which have the given processDefinitionKey.
-
processDefinitionKeyIn
HistoricIncidentQuery processDefinitionKeyIn(String... processDefinitionKeys)
Only select historic incidents which have one of the given process definition keys.
-
processInstanceId
HistoricIncidentQuery processInstanceId(String processInstanceId)
Only select historic incidents which have the given process instance id.
-
executionId
HistoricIncidentQuery executionId(String executionId)
Only select historic incidents with the given id.
-
createTimeBefore
HistoricIncidentQuery createTimeBefore(Date createTimeBefore)
Only select historic incidents which have a createTime date before the given date
-
createTimeAfter
HistoricIncidentQuery createTimeAfter(Date createTimeAfter)
Only select historic incidents which have a createTime date after the given date
-
endTimeBefore
HistoricIncidentQuery endTimeBefore(Date endTimeBefore)
Only select historic incidents which have an endTimeBefore date before the given date
-
endTimeAfter
HistoricIncidentQuery endTimeAfter(Date endTimeAfter)
Only select historic incidents which have an endTimeAfter date after the given date
-
activityId
HistoricIncidentQuery activityId(String activityId)
Only select historic incidents which contain an activity with the given id.
-
failedActivityId
HistoricIncidentQuery failedActivityId(String activityId)
Only select historic incidents which were created due to a failure at an activity with the given id.
-
causeIncidentId
HistoricIncidentQuery causeIncidentId(String causeIncidentId)
Only select historic incidents which contain the id of the cause incident.
-
rootCauseIncidentId
HistoricIncidentQuery rootCauseIncidentId(String rootCauseIncidentId)
Only select historic incidents which contain the id of the root cause incident.
-
tenantIdIn
HistoricIncidentQuery tenantIdIn(String... tenantIds)
Only select historic incidents that belong to one of the given tenant ids.
-
withoutTenantId
HistoricIncidentQuery withoutTenantId()
Only selects historic incidents that have no tenant id.
-
configuration
HistoricIncidentQuery configuration(String configuration)
Only select incidents which contain the configuration.
-
historyConfiguration
HistoricIncidentQuery historyConfiguration(String historyConfiguration)
Only select incidents which contain the historyConfiguration.
-
jobDefinitionIdIn
HistoricIncidentQuery jobDefinitionIdIn(String... jobDefinitionIds)
Only select incidents that belong to one of the given job definition ids.
-
open
HistoricIncidentQuery open()
Only select historic incidents which are open.
-
resolved
HistoricIncidentQuery resolved()
Only select historic incidents which are resolved.
-
deleted
HistoricIncidentQuery deleted()
Only select historic incidents which are deleted.
-
orderByIncidentId
HistoricIncidentQuery orderByIncidentId()
Order by id (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByIncidentMessage
HistoricIncidentQuery orderByIncidentMessage()
Order by message (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByCreateTime
HistoricIncidentQuery orderByCreateTime()
Order by create time (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByEndTime
HistoricIncidentQuery orderByEndTime()
Order by end time (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByIncidentType
HistoricIncidentQuery orderByIncidentType()
Order by incidentType (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByExecutionId
HistoricIncidentQuery orderByExecutionId()
Order by executionId (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByActivityId
HistoricIncidentQuery orderByActivityId()
Order by activityId (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByProcessInstanceId
HistoricIncidentQuery orderByProcessInstanceId()
Order by processInstanceId (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByProcessDefinitionId
HistoricIncidentQuery orderByProcessDefinitionId()
Order by processDefinitionId (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByProcessDefinitionKey
HistoricIncidentQuery orderByProcessDefinitionKey()
Order by processDefinitionKey (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByCauseIncidentId
HistoricIncidentQuery orderByCauseIncidentId()
Order by causeIncidentId (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByRootCauseIncidentId
HistoricIncidentQuery orderByRootCauseIncidentId()
Order by rootCauseIncidentId (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByConfiguration
HistoricIncidentQuery orderByConfiguration()
Order by configuration (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByHistoryConfiguration
HistoricIncidentQuery orderByHistoryConfiguration()
Order by historyConfiguration (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByIncidentState
HistoricIncidentQuery orderByIncidentState()
Order by incidentState (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByTenantId
HistoricIncidentQuery 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.
-
-