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(java.lang.String activityId)
Only select historic incidents which contain an activity with the given id.HistoricIncidentQuery
causeIncidentId(java.lang.String causeIncidentId)
Only select historic incidents which contain the id of the cause incident.HistoricIncidentQuery
configuration(java.lang.String configuration)
Only select incidents which contain the configuration.HistoricIncidentQuery
createTimeAfter(java.util.Date createTimeAfter)
Only select historic incidents which have a createTime date after the given dateHistoricIncidentQuery
createTimeBefore(java.util.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(java.util.Date endTimeAfter)
Only select historic incidents which have an endTimeAfter date after the given dateHistoricIncidentQuery
endTimeBefore(java.util.Date endTimeBefore)
Only select historic incidents which have an endTimeBefore date before the given dateHistoricIncidentQuery
executionId(java.lang.String executionId)
Only select historic incidents with the given id.HistoricIncidentQuery
failedActivityId(java.lang.String activityId)
Only select historic incidents which were created due to a failure at an activity with the given id.HistoricIncidentQuery
historyConfiguration(java.lang.String historyConfiguration)
Only select incidents which contain the historyConfiguration.HistoricIncidentQuery
incidentId(java.lang.String incidentId)
Only select historic incidents which have the given id.HistoricIncidentQuery
incidentMessage(java.lang.String incidentMessage)
Only select historic incidents which have the given incident message.HistoricIncidentQuery
incidentMessageLike(java.lang.String incidentMessageLike)
Only select historic incidents which incident message is like the given valueHistoricIncidentQuery
incidentType(java.lang.String incidentType)
Only select historic incidents which have the given incident type.HistoricIncidentQuery
jobDefinitionIdIn(java.lang.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(java.lang.String processDefinitionId)
Only select historic incidents which have the given process definition id.HistoricIncidentQuery
processDefinitionKey(java.lang.String processDefinitionKey)
Only select historic incidents which have the given processDefinitionKey.HistoricIncidentQuery
processDefinitionKeyIn(java.lang.String... processDefinitionKeys)
Only select historic incidents which have one of the given process definition keys.HistoricIncidentQuery
processInstanceId(java.lang.String processInstanceId)
Only select historic incidents which have the given process instance id.HistoricIncidentQuery
resolved()
Only select historic incidents which are resolved.HistoricIncidentQuery
rootCauseIncidentId(java.lang.String rootCauseIncidentId)
Only select historic incidents which contain the id of the root cause incident.HistoricIncidentQuery
tenantIdIn(java.lang.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(java.lang.String incidentId)
Only select historic incidents which have the given id.
-
incidentType
HistoricIncidentQuery incidentType(java.lang.String incidentType)
Only select historic incidents which have the given incident type.
-
incidentMessage
HistoricIncidentQuery incidentMessage(java.lang.String incidentMessage)
Only select historic incidents which have the given incident message.
-
incidentMessageLike
HistoricIncidentQuery incidentMessageLike(java.lang.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(java.lang.String processDefinitionId)
Only select historic incidents which have the given process definition id.
-
processDefinitionKey
HistoricIncidentQuery processDefinitionKey(java.lang.String processDefinitionKey)
Only select historic incidents which have the given processDefinitionKey.
-
processDefinitionKeyIn
HistoricIncidentQuery processDefinitionKeyIn(java.lang.String... processDefinitionKeys)
Only select historic incidents which have one of the given process definition keys.
-
processInstanceId
HistoricIncidentQuery processInstanceId(java.lang.String processInstanceId)
Only select historic incidents which have the given process instance id.
-
executionId
HistoricIncidentQuery executionId(java.lang.String executionId)
Only select historic incidents with the given id.
-
createTimeBefore
HistoricIncidentQuery createTimeBefore(java.util.Date createTimeBefore)
Only select historic incidents which have a createTime date before the given date
-
createTimeAfter
HistoricIncidentQuery createTimeAfter(java.util.Date createTimeAfter)
Only select historic incidents which have a createTime date after the given date
-
endTimeBefore
HistoricIncidentQuery endTimeBefore(java.util.Date endTimeBefore)
Only select historic incidents which have an endTimeBefore date before the given date
-
endTimeAfter
HistoricIncidentQuery endTimeAfter(java.util.Date endTimeAfter)
Only select historic incidents which have an endTimeAfter date after the given date
-
activityId
HistoricIncidentQuery activityId(java.lang.String activityId)
Only select historic incidents which contain an activity with the given id.
-
failedActivityId
HistoricIncidentQuery failedActivityId(java.lang.String activityId)
Only select historic incidents which were created due to a failure at an activity with the given id.
-
causeIncidentId
HistoricIncidentQuery causeIncidentId(java.lang.String causeIncidentId)
Only select historic incidents which contain the id of the cause incident.
-
rootCauseIncidentId
HistoricIncidentQuery rootCauseIncidentId(java.lang.String rootCauseIncidentId)
Only select historic incidents which contain the id of the root cause incident.
-
tenantIdIn
HistoricIncidentQuery tenantIdIn(java.lang.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(java.lang.String configuration)
Only select incidents which contain the configuration.
-
historyConfiguration
HistoricIncidentQuery historyConfiguration(java.lang.String historyConfiguration)
Only select incidents which contain the historyConfiguration.
-
jobDefinitionIdIn
HistoricIncidentQuery jobDefinitionIdIn(java.lang.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.
-
-