org.camunda.bpm.engine.runtime
Interface IncidentQuery

All Superinterfaces:
Query<IncidentQuery,Incident>
All Known Implementing Classes:
IncidentQueryImpl

public interface IncidentQuery
extends Query<IncidentQuery,Incident>

Author:
roman.smirnov

Method Summary
 IncidentQuery activityId(String activityId)
          Only select incidents which contain an activity with the given id.
 IncidentQuery causeIncidentId(String causeIncidentId)
          Only select incidents which contain the id of the cause incident.
 IncidentQuery configuration(String configuration)
          Only select incidents which contain the configuration.
 IncidentQuery executionId(String executionId)
          Only select incidents with the given id.
 IncidentQuery incidentId(String incidentId)
          Only select incidents which have the given id.
 IncidentQuery incidentMessage(String incidentMessage)
          Only select incidents which have the given incident message.
 IncidentQuery incidentType(String incidentType)
          Only select incidents which have the given incident type.
 IncidentQuery orderByActivityId()
          Order by activityId (needs to be followed by Query.asc() or Query.desc()).
 IncidentQuery orderByCauseIncidentId()
          Order by causeIncidentId (needs to be followed by Query.asc() or Query.desc()).
 IncidentQuery orderByConfiguration()
          Order by configuration (needs to be followed by Query.asc() or Query.desc()).
 IncidentQuery orderByExecutionId()
          Order by executionId (needs to be followed by Query.asc() or Query.desc()).
 IncidentQuery orderByIncidentId()
          Order by id (needs to be followed by Query.asc() or Query.desc()).
 IncidentQuery orderByIncidentTimestamp()
          Order by incidentTimestamp (needs to be followed by Query.asc() or Query.desc()).
 IncidentQuery orderByIncidentType()
          Order by incidentType (needs to be followed by Query.asc() or Query.desc()).
 IncidentQuery orderByProcessDefinitionId()
          Order by processDefinitionId (needs to be followed by Query.asc() or Query.desc()).
 IncidentQuery orderByProcessInstanceId()
          Order by processInstanceId (needs to be followed by Query.asc() or Query.desc()).
 IncidentQuery orderByRootCauseIncidentId()
          Order by rootCauseIncidentId (needs to be followed by Query.asc() or Query.desc()).
 IncidentQuery orderByTenantId()
          Order by tenant id (needs to be followed by Query.asc() or Query.desc()).
 IncidentQuery processDefinitionId(String processDefinitionId)
          Only select incidents which have the given process definition id.
 IncidentQuery processInstanceId(String processInstanceId)
          Only select incidents which have the given process instance id.
 IncidentQuery rootCauseIncidentId(String rootCauseIncidentId)
          Only select incidents which contain the id of the root cause incident.
 IncidentQuery tenantIdIn(String... tenantIds)
          Only select incidents that belong to one of the given tenant ids.
 
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult
 

Method Detail

incidentId

IncidentQuery incidentId(String incidentId)
Only select incidents which have the given id.


incidentType

IncidentQuery incidentType(String incidentType)
Only select incidents which have the given incident type.


incidentMessage

IncidentQuery incidentMessage(String incidentMessage)
Only select incidents which have the given incident message.


processDefinitionId

IncidentQuery processDefinitionId(String processDefinitionId)
Only select incidents which have the given process definition id.


processInstanceId

IncidentQuery processInstanceId(String processInstanceId)
Only select incidents which have the given process instance id.


executionId

IncidentQuery executionId(String executionId)
Only select incidents with the given id.


activityId

IncidentQuery activityId(String activityId)
Only select incidents which contain an activity with the given id.


causeIncidentId

IncidentQuery causeIncidentId(String causeIncidentId)
Only select incidents which contain the id of the cause incident.


rootCauseIncidentId

IncidentQuery rootCauseIncidentId(String rootCauseIncidentId)
Only select incidents which contain the id of the root cause incident.


configuration

IncidentQuery configuration(String configuration)
Only select incidents which contain the configuration.


tenantIdIn

IncidentQuery tenantIdIn(String... tenantIds)
Only select incidents that belong to one of the given tenant ids.


orderByIncidentId

IncidentQuery orderByIncidentId()
Order by id (needs to be followed by Query.asc() or Query.desc()).


orderByIncidentTimestamp

IncidentQuery orderByIncidentTimestamp()
Order by incidentTimestamp (needs to be followed by Query.asc() or Query.desc()).


orderByIncidentType

IncidentQuery orderByIncidentType()
Order by incidentType (needs to be followed by Query.asc() or Query.desc()).


orderByExecutionId

IncidentQuery orderByExecutionId()
Order by executionId (needs to be followed by Query.asc() or Query.desc()).


orderByActivityId

IncidentQuery orderByActivityId()
Order by activityId (needs to be followed by Query.asc() or Query.desc()).


orderByProcessInstanceId

IncidentQuery orderByProcessInstanceId()
Order by processInstanceId (needs to be followed by Query.asc() or Query.desc()).


orderByProcessDefinitionId

IncidentQuery orderByProcessDefinitionId()
Order by processDefinitionId (needs to be followed by Query.asc() or Query.desc()).


orderByCauseIncidentId

IncidentQuery orderByCauseIncidentId()
Order by causeIncidentId (needs to be followed by Query.asc() or Query.desc()).


orderByRootCauseIncidentId

IncidentQuery orderByRootCauseIncidentId()
Order by rootCauseIncidentId (needs to be followed by Query.asc() or Query.desc()).


orderByConfiguration

IncidentQuery orderByConfiguration()
Order by configuration (needs to be followed by Query.asc() or Query.desc()).


orderByTenantId

IncidentQuery orderByTenantId()
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.



Copyright © 2016 camunda services GmbH. All rights reserved.