Package org.camunda.bpm.engine.impl
Class HistoricIncidentQueryImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<T,U>
org.camunda.bpm.engine.impl.AbstractVariableQueryImpl<HistoricIncidentQuery,HistoricIncident>
org.camunda.bpm.engine.impl.HistoricIncidentQueryImpl
- All Implemented Interfaces:
Serializable,HistoricIncidentQuery,Command<Object>,Query<HistoricIncidentQuery,HistoricIncident>
public class HistoricIncidentQueryImpl
extends AbstractVariableQueryImpl<HistoricIncidentQuery,HistoricIncident>
implements HistoricIncidentQuery
- Author:
- Roman Smirnov
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Dateprotected Dateprotected Dateprotected Dateprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected IncidentStateprotected Stringprotected booleanprotected String[]protected Stringprotected Stringprotected String[]protected Stringprotected Stringprotected String[]Fields inherited from class org.camunda.bpm.engine.impl.AbstractVariableQueryImpl
queryVariableValues, variableNamesIgnoreCase, variableValuesIgnoreCaseFields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsFields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck -
Constructor Summary
Constructors -
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 datelongexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.executionId(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.getId()String[]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.booleanjobDefinitionIdIn(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 class org.camunda.bpm.engine.impl.AbstractVariableQueryImpl
addVariable, createQueryVariableValue, ensureVariablesInitialized, getQueryVariableValues, isVariableNamesIgnoreCase, isVariableValuesIgnoreCase, matchVariableNamesIgnoreCase, matchVariableValuesIgnoreCase, validateVariable, variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEquals, variableValueNotLikeMethods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeDeploymentIdMappingsList, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validateMethods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheckMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Field Details
-
id
-
incidentType
-
incidentMessage
-
incidentMessageLike
-
executionId
-
activityId
-
createTimeBefore
-
createTimeAfter
-
endTimeBefore
-
endTimeAfter
-
failedActivityId
-
processInstanceId
-
processDefinitionId
-
processDefinitionKey
-
processDefinitionKeys
-
causeIncidentId
-
rootCauseIncidentId
-
configuration
-
historyConfiguration
-
incidentState
-
tenantIds
-
isTenantIdSet
protected boolean isTenantIdSet -
jobDefinitionIds
-
-
Constructor Details
-
HistoricIncidentQueryImpl
public HistoricIncidentQueryImpl() -
HistoricIncidentQueryImpl
-
-
Method Details
-
incidentId
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which have the given id.- Specified by:
incidentIdin interfaceHistoricIncidentQuery
-
incidentType
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which have the given incident type.- Specified by:
incidentTypein interfaceHistoricIncidentQuery
-
incidentMessage
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which have the given incident message.- Specified by:
incidentMessagein interfaceHistoricIncidentQuery
-
incidentMessageLike
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which incident message is like the given value- Specified by:
incidentMessageLikein interfaceHistoricIncidentQuery- Parameters:
incidentMessageLike- The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
executionId
Description copied from interface:HistoricIncidentQueryOnly select historic incidents with the given id.- Specified by:
executionIdin interfaceHistoricIncidentQuery
-
createTimeBefore
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which have a createTime date before the given date- Specified by:
createTimeBeforein interfaceHistoricIncidentQuery
-
createTimeAfter
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which have a createTime date after the given date- Specified by:
createTimeAfterin interfaceHistoricIncidentQuery
-
endTimeBefore
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which have an endTimeBefore date before the given date- Specified by:
endTimeBeforein interfaceHistoricIncidentQuery
-
endTimeAfter
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which have an endTimeAfter date after the given date- Specified by:
endTimeAfterin interfaceHistoricIncidentQuery
-
activityId
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which contain an activity with the given id.- Specified by:
activityIdin interfaceHistoricIncidentQuery
-
failedActivityId
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which were created due to a failure at an activity with the given id.- Specified by:
failedActivityIdin interfaceHistoricIncidentQuery
-
processInstanceId
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which have the given process instance id.- Specified by:
processInstanceIdin interfaceHistoricIncidentQuery
-
processDefinitionId
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which have the given process definition id.- Specified by:
processDefinitionIdin interfaceHistoricIncidentQuery
-
processDefinitionKey
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which have the given processDefinitionKey.- Specified by:
processDefinitionKeyin interfaceHistoricIncidentQuery
-
processDefinitionKeyIn
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which have one of the given process definition keys.- Specified by:
processDefinitionKeyInin interfaceHistoricIncidentQuery
-
causeIncidentId
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which contain the id of the cause incident.- Specified by:
causeIncidentIdin interfaceHistoricIncidentQuery
-
rootCauseIncidentId
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which contain the id of the root cause incident.- Specified by:
rootCauseIncidentIdin interfaceHistoricIncidentQuery
-
tenantIdIn
Description copied from interface:HistoricIncidentQueryOnly select historic incidents that belong to one of the given tenant ids.- Specified by:
tenantIdInin interfaceHistoricIncidentQuery
-
withoutTenantId
Description copied from interface:HistoricIncidentQueryOnly selects historic incidents that have no tenant id.- Specified by:
withoutTenantIdin interfaceHistoricIncidentQuery
-
configuration
Description copied from interface:HistoricIncidentQueryOnly select incidents which contain the configuration.- Specified by:
configurationin interfaceHistoricIncidentQuery
-
historyConfiguration
Description copied from interface:HistoricIncidentQueryOnly select incidents which contain the historyConfiguration.- Specified by:
historyConfigurationin interfaceHistoricIncidentQuery
-
jobDefinitionIdIn
Description copied from interface:HistoricIncidentQueryOnly select incidents that belong to one of the given job definition ids.- Specified by:
jobDefinitionIdInin interfaceHistoricIncidentQuery
-
open
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which are open.- Specified by:
openin interfaceHistoricIncidentQuery
-
resolved
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which are resolved.- Specified by:
resolvedin interfaceHistoricIncidentQuery
-
deleted
Description copied from interface:HistoricIncidentQueryOnly select historic incidents which are deleted.- Specified by:
deletedin interfaceHistoricIncidentQuery
-
orderByIncidentId
Description copied from interface:HistoricIncidentQueryOrder by id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByIncidentIdin interfaceHistoricIncidentQuery
-
orderByIncidentMessage
Description copied from interface:HistoricIncidentQueryOrder by message (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByIncidentMessagein interfaceHistoricIncidentQuery
-
orderByCreateTime
Description copied from interface:HistoricIncidentQueryOrder by create time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByCreateTimein interfaceHistoricIncidentQuery
-
orderByEndTime
Description copied from interface:HistoricIncidentQueryOrder by end time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByEndTimein interfaceHistoricIncidentQuery
-
orderByIncidentType
Description copied from interface:HistoricIncidentQueryOrder by incidentType (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByIncidentTypein interfaceHistoricIncidentQuery
-
orderByExecutionId
Description copied from interface:HistoricIncidentQueryOrder by executionId (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByExecutionIdin interfaceHistoricIncidentQuery
-
orderByActivityId
Description copied from interface:HistoricIncidentQueryOrder by activityId (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByActivityIdin interfaceHistoricIncidentQuery
-
orderByProcessInstanceId
Description copied from interface:HistoricIncidentQueryOrder by processInstanceId (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceIdin interfaceHistoricIncidentQuery
-
orderByProcessDefinitionKey
Description copied from interface:HistoricIncidentQueryOrder by processDefinitionKey (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessDefinitionKeyin interfaceHistoricIncidentQuery
-
orderByProcessDefinitionId
Description copied from interface:HistoricIncidentQueryOrder by processDefinitionId (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessDefinitionIdin interfaceHistoricIncidentQuery
-
orderByCauseIncidentId
Description copied from interface:HistoricIncidentQueryOrder by causeIncidentId (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByCauseIncidentIdin interfaceHistoricIncidentQuery
-
orderByRootCauseIncidentId
Description copied from interface:HistoricIncidentQueryOrder by rootCauseIncidentId (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByRootCauseIncidentIdin interfaceHistoricIncidentQuery
-
orderByConfiguration
Description copied from interface:HistoricIncidentQueryOrder by configuration (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByConfigurationin interfaceHistoricIncidentQuery
-
orderByHistoryConfiguration
Description copied from interface:HistoricIncidentQueryOrder by historyConfiguration (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByHistoryConfigurationin interfaceHistoricIncidentQuery
-
orderByIncidentState
Description copied from interface:HistoricIncidentQueryOrder by incidentState (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByIncidentStatein interfaceHistoricIncidentQuery
-
orderByTenantId
Description copied from interface:HistoricIncidentQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()). Note that the ordering of incidents without tenant id is database-specific.- Specified by:
orderByTenantIdin interfaceHistoricIncidentQuery
-
executeCount
- Specified by:
executeCountin classAbstractVariableQueryImpl<HistoricIncidentQuery,HistoricIncident>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractVariableQueryImpl<HistoricIncidentQuery,HistoricIncident> page- used if the results must be paged. If null, no paging will be applied.
-
getId
-
getIncidentType
-
getIncidentMessage
-
getExecutionId
-
getActivityId
-
getFailedActivityId
-
getProcessInstanceId
-
getProcessDefinitionId
-
getProcessDefinitionKeys
-
getCauseIncidentId
-
getRootCauseIncidentId
-
getConfiguration
-
getHistoryConfiguration
-
getIncidentState
-
isTenantIdSet
public boolean isTenantIdSet()
-