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 HistoricIncidentQueryactivityId(java.lang.String activityId)Only select historic incidents which contain an activity with the given id.HistoricIncidentQuerycauseIncidentId(java.lang.String causeIncidentId)Only select historic incidents which contain the id of the cause incident.HistoricIncidentQueryconfiguration(java.lang.String configuration)Only select incidents which contain the configuration.HistoricIncidentQuerycreateTimeAfter(java.util.Date createTimeAfter)Only select historic incidents which have a createTime date after the given dateHistoricIncidentQuerycreateTimeBefore(java.util.Date createTimeBefore)Only select historic incidents which have a createTime date before the given dateHistoricIncidentQuerydeleted()Only select historic incidents which are deleted.HistoricIncidentQueryendTimeAfter(java.util.Date endTimeAfter)Only select historic incidents which have an endTimeAfter date after the given dateHistoricIncidentQueryendTimeBefore(java.util.Date endTimeBefore)Only select historic incidents which have an endTimeBefore date before the given dateHistoricIncidentQueryexecutionId(java.lang.String executionId)Only select historic incidents with the given id.HistoricIncidentQueryfailedActivityId(java.lang.String activityId)Only select historic incidents which were created due to a failure at an activity with the given id.HistoricIncidentQueryhistoryConfiguration(java.lang.String historyConfiguration)Only select incidents which contain the historyConfiguration.HistoricIncidentQueryincidentId(java.lang.String incidentId)Only select historic incidents which have the given id.HistoricIncidentQueryincidentMessage(java.lang.String incidentMessage)Only select historic incidents which have the given incident message.HistoricIncidentQueryincidentMessageLike(java.lang.String incidentMessageLike)Only select historic incidents which incident message is like the given valueHistoricIncidentQueryincidentType(java.lang.String incidentType)Only select historic incidents which have the given incident type.HistoricIncidentQueryjobDefinitionIdIn(java.lang.String... jobDefinitionIds)Only select incidents that belong to one of the given job definition ids.HistoricIncidentQueryopen()Only select historic incidents which are open.HistoricIncidentQueryorderByActivityId()Order by activityId (needs to be followed byQuery.asc()orQuery.desc()).HistoricIncidentQueryorderByCauseIncidentId()Order by causeIncidentId (needs to be followed byQuery.asc()orQuery.desc()).HistoricIncidentQueryorderByConfiguration()Order by configuration (needs to be followed byQuery.asc()orQuery.desc()).HistoricIncidentQueryorderByCreateTime()Order by create time (needs to be followed byQuery.asc()orQuery.desc()).HistoricIncidentQueryorderByEndTime()Order by end time (needs to be followed byQuery.asc()orQuery.desc()).HistoricIncidentQueryorderByExecutionId()Order by executionId (needs to be followed byQuery.asc()orQuery.desc()).HistoricIncidentQueryorderByHistoryConfiguration()Order by historyConfiguration (needs to be followed byQuery.asc()orQuery.desc()).HistoricIncidentQueryorderByIncidentId()Order by id (needs to be followed byQuery.asc()orQuery.desc()).HistoricIncidentQueryorderByIncidentMessage()Order by message (needs to be followed byQuery.asc()orQuery.desc()).HistoricIncidentQueryorderByIncidentState()Order by incidentState (needs to be followed byQuery.asc()orQuery.desc()).HistoricIncidentQueryorderByIncidentType()Order by incidentType (needs to be followed byQuery.asc()orQuery.desc()).HistoricIncidentQueryorderByProcessDefinitionId()Order by processDefinitionId (needs to be followed byQuery.asc()orQuery.desc()).HistoricIncidentQueryorderByProcessDefinitionKey()Order by processDefinitionKey (needs to be followed byQuery.asc()orQuery.desc()).HistoricIncidentQueryorderByProcessInstanceId()Order by processInstanceId (needs to be followed byQuery.asc()orQuery.desc()).HistoricIncidentQueryorderByRootCauseIncidentId()Order by rootCauseIncidentId (needs to be followed byQuery.asc()orQuery.desc()).HistoricIncidentQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).HistoricIncidentQueryprocessDefinitionId(java.lang.String processDefinitionId)Only select historic incidents which have the given process definition id.HistoricIncidentQueryprocessDefinitionKey(java.lang.String processDefinitionKey)Only select historic incidents which have the given processDefinitionKey.HistoricIncidentQueryprocessDefinitionKeyIn(java.lang.String... processDefinitionKeys)Only select historic incidents which have one of the given process definition keys.HistoricIncidentQueryprocessInstanceId(java.lang.String processInstanceId)Only select historic incidents which have the given process instance id.HistoricIncidentQueryresolved()Only select historic incidents which are resolved.HistoricIncidentQueryrootCauseIncidentId(java.lang.String rootCauseIncidentId)Only select historic incidents which contain the id of the root cause incident.HistoricIncidentQuerytenantIdIn(java.lang.String... tenantIds)Only select historic incidents that belong to one of the given tenant ids.HistoricIncidentQuerywithoutTenantId()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.
-
-