Package org.camunda.bpm.engine.history
Interface HistoricIncidentQuery
- All Superinterfaces:
Query<HistoricIncidentQuery,
HistoricIncident>
- All Known Implementing Classes:
HistoricIncidentQueryImpl
- Author:
- Roman Smirnov
-
Method Summary
Modifier and TypeMethodDescriptionactivityId
(String activityId) Only select historic incidents which contain an activity with the given id.causeIncidentId
(String causeIncidentId) Only select historic incidents which contain the id of the cause incident.configuration
(String configuration) Only select incidents which contain the configuration.createTimeAfter
(Date createTimeAfter) Only select historic incidents which have a createTime date after the given datecreateTimeBefore
(Date createTimeBefore) Only select historic incidents which have a createTime date before the given datedeleted()
Only select historic incidents which are deleted.endTimeAfter
(Date endTimeAfter) Only select historic incidents which have an endTimeAfter date after the given dateendTimeBefore
(Date endTimeBefore) Only select historic incidents which have an endTimeBefore date before the given dateexecutionId
(String executionId) Only select historic incidents with the given id.failedActivityId
(String activityId) Only select historic incidents which were created due to a failure at an activity with the given id.historyConfiguration
(String historyConfiguration) Only select incidents which contain the historyConfiguration.incidentId
(String incidentId) Only select historic incidents which have the given id.incidentMessage
(String incidentMessage) Only select historic incidents which have the given incident message.incidentMessageLike
(String incidentMessageLike) Only select historic incidents which incident message is like the given valueincidentType
(String incidentType) Only select historic incidents which have the given incident type.jobDefinitionIdIn
(String... jobDefinitionIds) Only select incidents that belong to one of the given job definition ids.open()
Only select historic incidents which are open.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 create time (needs to be followed byQuery.asc()
orQuery.desc()
).Order by end time (needs to be followed byQuery.asc()
orQuery.desc()
).Order by executionId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by historyConfiguration (needs to be followed byQuery.asc()
orQuery.desc()
).Order by id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by message (needs to be followed byQuery.asc()
orQuery.desc()
).Order by incidentState (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 processDefinitionKey (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 historic incidents which have the given process definition id.processDefinitionKey
(String processDefinitionKey) Only select historic incidents which have the given processDefinitionKey.processDefinitionKeyIn
(String... processDefinitionKeys) Only select historic incidents which have one of the given process definition keys.processInstanceId
(String processInstanceId) Only select historic incidents which have the given process instance id.resolved()
Only select historic incidents which are resolved.rootCauseIncidentId
(String rootCauseIncidentId) Only select historic incidents which contain the id of the root cause incident.tenantIdIn
(String... tenantIds) Only select historic incidents that belong to one of the given tenant ids.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 Details
-
incidentId
Only select historic incidents which have the given id. -
incidentType
Only select historic incidents which have the given incident type. -
incidentMessage
Only select historic incidents which have the given incident message. -
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
Only select historic incidents which have the given process definition id. -
processDefinitionKey
Only select historic incidents which have the given processDefinitionKey. -
processDefinitionKeyIn
Only select historic incidents which have one of the given process definition keys. -
processInstanceId
Only select historic incidents which have the given process instance id. -
executionId
Only select historic incidents with the given id. -
createTimeBefore
Only select historic incidents which have a createTime date before the given date -
createTimeAfter
Only select historic incidents which have a createTime date after the given date -
endTimeBefore
Only select historic incidents which have an endTimeBefore date before the given date -
endTimeAfter
Only select historic incidents which have an endTimeAfter date after the given date -
activityId
Only select historic incidents which contain an activity with the given id. -
failedActivityId
Only select historic incidents which were created due to a failure at an activity with the given id. -
causeIncidentId
Only select historic incidents which contain the id of the cause incident. -
rootCauseIncidentId
Only select historic incidents which contain the id of the root cause incident. -
tenantIdIn
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
Only select incidents which contain the configuration. -
historyConfiguration
Only select incidents which contain the historyConfiguration. -
jobDefinitionIdIn
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.
-