|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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
public class HistoricIncidentQueryImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
---|
AbstractQuery.ResultType |
Field Summary | |
---|---|
protected String |
activityId
|
protected String |
causeIncidentId
|
protected String |
configuration
|
protected String |
executionId
|
protected String |
id
|
protected String |
incidentMessage
|
protected IncidentState |
incidentState
|
protected String |
incidentType
|
protected String |
processDefinitionId
|
protected String |
processInstanceId
|
protected String |
rootCauseIncidentId
|
protected String[] |
tenantIds
|
Fields inherited from class org.camunda.bpm.engine.impl.AbstractVariableQueryImpl |
---|
queryVariableValues |
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
---|
commandExecutor, expressions, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validators |
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
---|
authCheck, databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter, tenantCheck |
Constructor Summary | |
---|---|
HistoricIncidentQueryImpl()
|
|
HistoricIncidentQueryImpl(CommandExecutor commandExecutor)
|
Method Summary | |
---|---|
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 |
deleted()
Only select historic incidents which are deleted. |
long |
executeCount(CommandContext commandContext)
|
List<HistoricIncident> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results. |
HistoricIncidentQuery |
executionId(String executionId)
Only select historic incidents with the given id. |
String |
getActivityId()
|
String |
getCauseIncidentId()
|
String |
getConfiguration()
|
String |
getExecutionId()
|
String |
getId()
|
String |
getIncidentMessage()
|
IncidentState |
getIncidentState()
|
String |
getIncidentType()
|
String |
getProcessDefinitionId()
|
String |
getProcessInstanceId()
|
String |
getRootCauseIncidentId()
|
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 |
incidentType(String incidentType)
Only select historic incidents which have the given incident type. |
HistoricIncidentQuery |
open()
Only select historic incidents which are open. |
HistoricIncidentQuery |
orderByActivityId()
Order by activityId (needs to be followed by Query.asc() or Query.desc() ). |
HistoricIncidentQuery |
orderByCauseIncidentId()
Order by causeIncidentId (needs to be followed by Query.asc() or Query.desc() ). |
HistoricIncidentQuery |
orderByConfiguration()
Order by configuration (needs to be followed by Query.asc() or Query.desc() ). |
HistoricIncidentQuery |
orderByCreateTime()
Order by create time (needs to be followed by Query.asc() or Query.desc() ). |
HistoricIncidentQuery |
orderByEndTime()
Order by end time (needs to be followed by Query.asc() or Query.desc() ). |
HistoricIncidentQuery |
orderByExecutionId()
Order by executionId (needs to be followed by Query.asc() or Query.desc() ). |
HistoricIncidentQuery |
orderByIncidentId()
Order by id (needs to be followed by Query.asc() or Query.desc() ). |
HistoricIncidentQuery |
orderByIncidentType()
Order by incidentType (needs to be followed by Query.asc() or Query.desc() ). |
HistoricIncidentQuery |
orderByProcessDefinitionId()
Order by processDefinitionId (needs to be followed by Query.asc() or Query.desc() ). |
HistoricIncidentQuery |
orderByProcessInstanceId()
Order by processInstanceId (needs to be followed by Query.asc() or Query.desc() ). |
HistoricIncidentQuery |
orderByRootCauseIncidentId()
Order by rootCauseIncidentId (needs to be followed by Query.asc() or Query.desc() ). |
HistoricIncidentQuery |
orderByTenantId()
Order by tenant id (needs to be followed by Query.asc() or Query.desc() ). |
HistoricIncidentQuery |
processDefinitionId(String processDefinitionId)
Only select historic incidents which have the given process definition id. |
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. |
Methods inherited from class org.camunda.bpm.engine.impl.AbstractVariableQueryImpl |
---|
addVariable, ensureVariablesInitialized, getQueryVariableValues, variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEquals |
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
---|
addExpression, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, hasExcludingConditions, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, setOrderingProperties, singleResult, validate, validate |
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
---|
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter, setTenantCheck |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.camunda.bpm.engine.query.Query |
---|
asc, count, desc, list, listPage, singleResult |
Field Detail |
---|
protected String id
protected String incidentType
protected String incidentMessage
protected String executionId
protected String activityId
protected String processInstanceId
protected String processDefinitionId
protected String causeIncidentId
protected String rootCauseIncidentId
protected String configuration
protected IncidentState incidentState
protected String[] tenantIds
Constructor Detail |
---|
public HistoricIncidentQueryImpl()
public HistoricIncidentQueryImpl(CommandExecutor commandExecutor)
Method Detail |
---|
public HistoricIncidentQuery incidentId(String incidentId)
HistoricIncidentQuery
incidentId
in interface HistoricIncidentQuery
public HistoricIncidentQuery incidentType(String incidentType)
HistoricIncidentQuery
incidentType
in interface HistoricIncidentQuery
public HistoricIncidentQuery incidentMessage(String incidentMessage)
HistoricIncidentQuery
incidentMessage
in interface HistoricIncidentQuery
public HistoricIncidentQuery executionId(String executionId)
HistoricIncidentQuery
executionId
in interface HistoricIncidentQuery
public HistoricIncidentQuery activityId(String activityId)
HistoricIncidentQuery
activityId
in interface HistoricIncidentQuery
public HistoricIncidentQuery processInstanceId(String processInstanceId)
HistoricIncidentQuery
processInstanceId
in interface HistoricIncidentQuery
public HistoricIncidentQuery processDefinitionId(String processDefinitionId)
HistoricIncidentQuery
processDefinitionId
in interface HistoricIncidentQuery
public HistoricIncidentQuery causeIncidentId(String causeIncidentId)
HistoricIncidentQuery
causeIncidentId
in interface HistoricIncidentQuery
public HistoricIncidentQuery rootCauseIncidentId(String rootCauseIncidentId)
HistoricIncidentQuery
rootCauseIncidentId
in interface HistoricIncidentQuery
public HistoricIncidentQuery tenantIdIn(String... tenantIds)
HistoricIncidentQuery
tenantIdIn
in interface HistoricIncidentQuery
public HistoricIncidentQuery configuration(String configuration)
HistoricIncidentQuery
configuration
in interface HistoricIncidentQuery
public HistoricIncidentQuery open()
HistoricIncidentQuery
open
in interface HistoricIncidentQuery
public HistoricIncidentQuery resolved()
HistoricIncidentQuery
resolved
in interface HistoricIncidentQuery
public HistoricIncidentQuery deleted()
HistoricIncidentQuery
deleted
in interface HistoricIncidentQuery
public HistoricIncidentQuery orderByIncidentId()
HistoricIncidentQuery
Query.asc()
or Query.desc()
).
orderByIncidentId
in interface HistoricIncidentQuery
public HistoricIncidentQuery orderByCreateTime()
HistoricIncidentQuery
Query.asc()
or Query.desc()
).
orderByCreateTime
in interface HistoricIncidentQuery
public HistoricIncidentQuery orderByEndTime()
HistoricIncidentQuery
Query.asc()
or Query.desc()
).
orderByEndTime
in interface HistoricIncidentQuery
public HistoricIncidentQuery orderByIncidentType()
HistoricIncidentQuery
Query.asc()
or Query.desc()
).
orderByIncidentType
in interface HistoricIncidentQuery
public HistoricIncidentQuery orderByExecutionId()
HistoricIncidentQuery
Query.asc()
or Query.desc()
).
orderByExecutionId
in interface HistoricIncidentQuery
public HistoricIncidentQuery orderByActivityId()
HistoricIncidentQuery
Query.asc()
or Query.desc()
).
orderByActivityId
in interface HistoricIncidentQuery
public HistoricIncidentQuery orderByProcessInstanceId()
HistoricIncidentQuery
Query.asc()
or Query.desc()
).
orderByProcessInstanceId
in interface HistoricIncidentQuery
public HistoricIncidentQuery orderByProcessDefinitionId()
HistoricIncidentQuery
Query.asc()
or Query.desc()
).
orderByProcessDefinitionId
in interface HistoricIncidentQuery
public HistoricIncidentQuery orderByCauseIncidentId()
HistoricIncidentQuery
Query.asc()
or Query.desc()
).
orderByCauseIncidentId
in interface HistoricIncidentQuery
public HistoricIncidentQuery orderByRootCauseIncidentId()
HistoricIncidentQuery
Query.asc()
or Query.desc()
).
orderByRootCauseIncidentId
in interface HistoricIncidentQuery
public HistoricIncidentQuery orderByConfiguration()
HistoricIncidentQuery
Query.asc()
or Query.desc()
).
orderByConfiguration
in interface HistoricIncidentQuery
public HistoricIncidentQuery orderByTenantId()
HistoricIncidentQuery
Query.asc()
or Query.desc()
).
Note that the ordering of incidents without tenant id is database-specific.
orderByTenantId
in interface HistoricIncidentQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractVariableQueryImpl<HistoricIncidentQuery,HistoricIncident>
public List<HistoricIncident> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractVariableQueryImpl<HistoricIncidentQuery,HistoricIncident>
page
- used if the results must be paged. If null, no paging will be applied.public String getId()
public String getIncidentType()
public String getIncidentMessage()
public String getExecutionId()
public String getActivityId()
public String getProcessInstanceId()
public String getProcessDefinitionId()
public String getCauseIncidentId()
public String getRootCauseIncidentId()
public String getConfiguration()
public IncidentState getIncidentState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |