|
||||||||||
| 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<EventSubscriptionQuery,EventSubscription>
org.camunda.bpm.engine.impl.EventSubscriptionQueryImpl
public class EventSubscriptionQueryImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
AbstractQuery.ResultType |
| Field Summary | |
|---|---|
protected String |
activityId
|
protected String |
eventName
|
protected String |
eventSubscriptionId
|
protected String |
eventType
|
protected String |
executionId
|
protected boolean |
includeEventSubscriptionsWithoutTenantId
|
protected boolean |
isTenantIdSet
|
protected String |
processInstanceId
|
protected String[] |
tenantIds
|
| Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
commandExecutor, expressions, resultType, SORTORDER_ASC, SORTORDER_DESC, validators |
| Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
|---|
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck |
| Constructor Summary | |
|---|---|
EventSubscriptionQueryImpl()
|
|
EventSubscriptionQueryImpl(CommandExecutor commandExecutor)
|
|
| Method Summary | |
|---|---|
EventSubscriptionQueryImpl |
activityId(String activityId)
Only select subscriptions that belong to an activity with the given id. |
EventSubscriptionQuery |
eventName(String eventName)
Only select subscriptions for events with the given name. |
EventSubscriptionQuery |
eventSubscriptionId(String id)
Only select subscriptions with the given id. |
EventSubscriptionQueryImpl |
eventType(String eventType)
Only select subscriptions for events with the given type. |
long |
executeCount(CommandContext commandContext)
|
List<EventSubscription> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results. |
EventSubscriptionQueryImpl |
executionId(String executionId)
Only select subscriptions that belong to an execution with the given id. |
String |
getActivityId()
|
String |
getEventName()
|
String |
getEventSubscriptionId()
|
String |
getEventType()
|
String |
getExecutionId()
|
String |
getProcessInstanceId()
|
EventSubscriptionQuery |
includeEventSubscriptionsWithoutTenantId()
Select subscriptions which have no tenant id. |
EventSubscriptionQuery |
orderByCreated()
Order by event subscription creation date (needs to be followed by Query.asc() or Query.desc()). |
EventSubscriptionQuery |
orderByTenantId()
Order by tenant id (needs to be followed by Query.asc() or Query.desc()). |
EventSubscriptionQuery |
processInstanceId(String processInstanceId)
Only select subscriptions that belong to a process instance with the given id. |
EventSubscriptionQuery |
tenantIdIn(String... tenantIds)
Only select subscriptions that belong to one of the given tenant ids. |
EventSubscriptionQuery |
withoutTenantId()
Only select subscriptions which have no tenant id. |
| Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
addExpression, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, validate, validate |
| Methods 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, 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 eventSubscriptionId
protected String eventName
protected String eventType
protected String executionId
protected String processInstanceId
protected String activityId
protected boolean isTenantIdSet
protected String[] tenantIds
protected boolean includeEventSubscriptionsWithoutTenantId
| Constructor Detail |
|---|
public EventSubscriptionQueryImpl()
public EventSubscriptionQueryImpl(CommandExecutor commandExecutor)
| Method Detail |
|---|
public EventSubscriptionQuery eventSubscriptionId(String id)
EventSubscriptionQuery
eventSubscriptionId in interface EventSubscriptionQuerypublic EventSubscriptionQuery eventName(String eventName)
EventSubscriptionQuery
eventName in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl executionId(String executionId)
EventSubscriptionQuery
executionId in interface EventSubscriptionQuerypublic EventSubscriptionQuery processInstanceId(String processInstanceId)
EventSubscriptionQuery
processInstanceId in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl activityId(String activityId)
EventSubscriptionQuery
activityId in interface EventSubscriptionQuerypublic EventSubscriptionQuery tenantIdIn(String... tenantIds)
EventSubscriptionQuery
tenantIdIn in interface EventSubscriptionQuerypublic EventSubscriptionQuery withoutTenantId()
EventSubscriptionQuery
withoutTenantId in interface EventSubscriptionQuerypublic EventSubscriptionQuery includeEventSubscriptionsWithoutTenantId()
EventSubscriptionQueryEventSubscriptionQuery.tenantIdIn(String...).
includeEventSubscriptionsWithoutTenantId in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl eventType(String eventType)
EventSubscriptionQuery
eventType in interface EventSubscriptionQuerypublic EventSubscriptionQuery orderByCreated()
EventSubscriptionQueryQuery.asc() or Query.desc()).
orderByCreated in interface EventSubscriptionQuerypublic EventSubscriptionQuery orderByTenantId()
EventSubscriptionQueryQuery.asc() or Query.desc()).
Note that the ordering of subscriptions without tenant id is database-specific.
orderByTenantId in interface EventSubscriptionQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<EventSubscriptionQuery,EventSubscription>
public List<EventSubscription> executeList(CommandContext commandContext,
Page page)
AbstractQuery
executeList in class AbstractQuery<EventSubscriptionQuery,EventSubscription>page - used if the results must be paged. If null, no paging will be applied.public String getEventSubscriptionId()
public String getEventName()
public String getEventType()
public String getExecutionId()
public String getProcessInstanceId()
public String getActivityId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||