org.camunda.bpm.engine.impl
Class HistoricIncidentQueryImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.db.ListQueryParameterObject
      extended by org.camunda.bpm.engine.impl.AbstractQuery<T,U>
          extended by org.camunda.bpm.engine.impl.AbstractVariableQueryImpl<HistoricIncidentQuery,HistoricIncident>
              extended by 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:
Serialized Form

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

id

protected String id

incidentType

protected String incidentType

incidentMessage

protected String incidentMessage

executionId

protected String executionId

activityId

protected String activityId

processInstanceId

protected String processInstanceId

processDefinitionId

protected String processDefinitionId

causeIncidentId

protected String causeIncidentId

rootCauseIncidentId

protected String rootCauseIncidentId

configuration

protected String configuration

incidentState

protected IncidentState incidentState

tenantIds

protected String[] tenantIds
Constructor Detail

HistoricIncidentQueryImpl

public HistoricIncidentQueryImpl()

HistoricIncidentQueryImpl

public HistoricIncidentQueryImpl(CommandExecutor commandExecutor)
Method Detail

incidentId

public HistoricIncidentQuery incidentId(String incidentId)
Description copied from interface: HistoricIncidentQuery
Only select historic incidents which have the given id.

Specified by:
incidentId in interface HistoricIncidentQuery

incidentType

public HistoricIncidentQuery incidentType(String incidentType)
Description copied from interface: HistoricIncidentQuery
Only select historic incidents which have the given incident type.

Specified by:
incidentType in interface HistoricIncidentQuery

incidentMessage

public HistoricIncidentQuery incidentMessage(String incidentMessage)
Description copied from interface: HistoricIncidentQuery
Only select historic incidents which have the given incident message.

Specified by:
incidentMessage in interface HistoricIncidentQuery

executionId

public HistoricIncidentQuery executionId(String executionId)
Description copied from interface: HistoricIncidentQuery
Only select historic incidents with the given id.

Specified by:
executionId in interface HistoricIncidentQuery

activityId

public HistoricIncidentQuery activityId(String activityId)
Description copied from interface: HistoricIncidentQuery
Only select historic incidents which contain an activity with the given id.

Specified by:
activityId in interface HistoricIncidentQuery

processInstanceId

public HistoricIncidentQuery processInstanceId(String processInstanceId)
Description copied from interface: HistoricIncidentQuery
Only select historic incidents which have the given process instance id.

Specified by:
processInstanceId in interface HistoricIncidentQuery

processDefinitionId

public HistoricIncidentQuery processDefinitionId(String processDefinitionId)
Description copied from interface: HistoricIncidentQuery
Only select historic incidents which have the given process definition id.

Specified by:
processDefinitionId in interface HistoricIncidentQuery

causeIncidentId

public HistoricIncidentQuery causeIncidentId(String causeIncidentId)
Description copied from interface: HistoricIncidentQuery
Only select historic incidents which contain the id of the cause incident.

Specified by:
causeIncidentId in interface HistoricIncidentQuery

rootCauseIncidentId

public HistoricIncidentQuery rootCauseIncidentId(String rootCauseIncidentId)
Description copied from interface: HistoricIncidentQuery
Only select historic incidents which contain the id of the root cause incident.

Specified by:
rootCauseIncidentId in interface HistoricIncidentQuery

tenantIdIn

public HistoricIncidentQuery tenantIdIn(String... tenantIds)
Description copied from interface: HistoricIncidentQuery
Only select historic incidents that belong to one of the given tenant ids.

Specified by:
tenantIdIn in interface HistoricIncidentQuery

configuration

public HistoricIncidentQuery configuration(String configuration)
Description copied from interface: HistoricIncidentQuery
Only select incidents which contain the configuration.

Specified by:
configuration in interface HistoricIncidentQuery

open

public HistoricIncidentQuery open()
Description copied from interface: HistoricIncidentQuery
Only select historic incidents which are open.

Specified by:
open in interface HistoricIncidentQuery

resolved

public HistoricIncidentQuery resolved()
Description copied from interface: HistoricIncidentQuery
Only select historic incidents which are resolved.

Specified by:
resolved in interface HistoricIncidentQuery

deleted

public HistoricIncidentQuery deleted()
Description copied from interface: HistoricIncidentQuery
Only select historic incidents which are deleted.

Specified by:
deleted in interface HistoricIncidentQuery

orderByIncidentId

public HistoricIncidentQuery orderByIncidentId()
Description copied from interface: HistoricIncidentQuery
Order by id (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByIncidentId in interface HistoricIncidentQuery

orderByCreateTime

public HistoricIncidentQuery orderByCreateTime()
Description copied from interface: HistoricIncidentQuery
Order by create time (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByCreateTime in interface HistoricIncidentQuery

orderByEndTime

public HistoricIncidentQuery orderByEndTime()
Description copied from interface: HistoricIncidentQuery
Order by end time (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByEndTime in interface HistoricIncidentQuery

orderByIncidentType

public HistoricIncidentQuery orderByIncidentType()
Description copied from interface: HistoricIncidentQuery
Order by incidentType (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByIncidentType in interface HistoricIncidentQuery

orderByExecutionId

public HistoricIncidentQuery orderByExecutionId()
Description copied from interface: HistoricIncidentQuery
Order by executionId (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByExecutionId in interface HistoricIncidentQuery

orderByActivityId

public HistoricIncidentQuery orderByActivityId()
Description copied from interface: HistoricIncidentQuery
Order by activityId (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByActivityId in interface HistoricIncidentQuery

orderByProcessInstanceId

public HistoricIncidentQuery orderByProcessInstanceId()
Description copied from interface: HistoricIncidentQuery
Order by processInstanceId (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByProcessInstanceId in interface HistoricIncidentQuery

orderByProcessDefinitionId

public HistoricIncidentQuery orderByProcessDefinitionId()
Description copied from interface: HistoricIncidentQuery
Order by processDefinitionId (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByProcessDefinitionId in interface HistoricIncidentQuery

orderByCauseIncidentId

public HistoricIncidentQuery orderByCauseIncidentId()
Description copied from interface: HistoricIncidentQuery
Order by causeIncidentId (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByCauseIncidentId in interface HistoricIncidentQuery

orderByRootCauseIncidentId

public HistoricIncidentQuery orderByRootCauseIncidentId()
Description copied from interface: HistoricIncidentQuery
Order by rootCauseIncidentId (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByRootCauseIncidentId in interface HistoricIncidentQuery

orderByConfiguration

public HistoricIncidentQuery orderByConfiguration()
Description copied from interface: HistoricIncidentQuery
Order by configuration (needs to be followed by Query.asc() or Query.desc()).

Specified by:
orderByConfiguration in interface HistoricIncidentQuery

orderByTenantId

public HistoricIncidentQuery orderByTenantId()
Description copied from interface: HistoricIncidentQuery
Order by tenant id (needs to be followed by Query.asc() or Query.desc()). Note that the ordering of incidents without tenant id is database-specific.

Specified by:
orderByTenantId in interface HistoricIncidentQuery

executeCount

public long executeCount(CommandContext commandContext)
Specified by:
executeCount in class AbstractVariableQueryImpl<HistoricIncidentQuery,HistoricIncident>

executeList

public List<HistoricIncident> executeList(CommandContext commandContext,
                                          Page page)
Description copied from class: AbstractQuery
Executes the actual query to retrieve the list of results.

Specified by:
executeList in class AbstractVariableQueryImpl<HistoricIncidentQuery,HistoricIncident>
page - used if the results must be paged. If null, no paging will be applied.

getId

public String getId()

getIncidentType

public String getIncidentType()

getIncidentMessage

public String getIncidentMessage()

getExecutionId

public String getExecutionId()

getActivityId

public String getActivityId()

getProcessInstanceId

public String getProcessInstanceId()

getProcessDefinitionId

public String getProcessDefinitionId()

getCauseIncidentId

public String getCauseIncidentId()

getRootCauseIncidentId

public String getRootCauseIncidentId()

getConfiguration

public String getConfiguration()

getIncidentState

public IncidentState getIncidentState()


Copyright © 2016 camunda services GmbH. All rights reserved.