Package org.camunda.bpm.engine.impl
Class EventSubscriptionQueryImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<EventSubscriptionQuery,EventSubscription>
 
org.camunda.bpm.engine.impl.EventSubscriptionQueryImpl
- All Implemented Interfaces:
- Serializable,- Command<Object>,- Query<EventSubscriptionQuery,,- EventSubscription> - EventSubscriptionQuery
public class EventSubscriptionQueryImpl
extends AbstractQuery<EventSubscriptionQuery,EventSubscription>
implements Serializable, EventSubscriptionQuery 
- Author:
- Daniel Meyer
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQueryAbstractQuery.ResultType
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected booleanprotected Stringprotected String[]Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuerycommandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsFields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObjectauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionactivityId(String activityId) Only select subscriptions that belong to an activity with the given id.Only select subscriptions for events with the given name.Only select subscriptions with the given id.Only select subscriptions for events with the given type.longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.executionId(String executionId) Only select subscriptions that belong to an execution with the given id.Select subscriptions which have no tenant id.Order by event subscription creation date (needs to be followed byQuery.asc()orQuery.desc()).Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).processInstanceId(String processInstanceId) Only select subscriptions that belong to a process instance with the given id.tenantIdIn(String... tenantIds) Only select subscriptions that belong to one of the given tenant ids.Only select subscriptions which have no tenant id.Methods inherited from class org.camunda.bpm.engine.impl.AbstractQueryaddExpression, 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.ListQueryParameterObjectgetAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheckMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.impl.interceptor.CommandisRetryableMethods inherited from interface org.camunda.bpm.engine.query.Queryasc, count, desc, list, listPage, singleResult, unlimitedList
- 
Field Details- 
eventSubscriptionId
- 
eventName
- 
eventType
- 
executionId
- 
processInstanceId
- 
activityId
- 
isTenantIdSetprotected boolean isTenantIdSet
- 
tenantIds
- 
includeEventSubscriptionsWithoutTenantIdprotected boolean includeEventSubscriptionsWithoutTenantId
 
- 
- 
Constructor Details- 
EventSubscriptionQueryImplpublic EventSubscriptionQueryImpl()
- 
EventSubscriptionQueryImpl
 
- 
- 
Method Details- 
eventSubscriptionIdDescription copied from interface:EventSubscriptionQueryOnly select subscriptions with the given id.- Specified by:
- eventSubscriptionIdin interface- EventSubscriptionQuery
 
- 
eventNameDescription copied from interface:EventSubscriptionQueryOnly select subscriptions for events with the given name.- Specified by:
- eventNamein interface- EventSubscriptionQuery
 
- 
executionIdDescription copied from interface:EventSubscriptionQueryOnly select subscriptions that belong to an execution with the given id.- Specified by:
- executionIdin interface- EventSubscriptionQuery
 
- 
processInstanceIdDescription copied from interface:EventSubscriptionQueryOnly select subscriptions that belong to a process instance with the given id.- Specified by:
- processInstanceIdin interface- EventSubscriptionQuery
 
- 
activityIdDescription copied from interface:EventSubscriptionQueryOnly select subscriptions that belong to an activity with the given id.- Specified by:
- activityIdin interface- EventSubscriptionQuery
 
- 
tenantIdInDescription copied from interface:EventSubscriptionQueryOnly select subscriptions that belong to one of the given tenant ids.- Specified by:
- tenantIdInin interface- EventSubscriptionQuery
 
- 
withoutTenantIdDescription copied from interface:EventSubscriptionQueryOnly select subscriptions which have no tenant id.- Specified by:
- withoutTenantIdin interface- EventSubscriptionQuery
 
- 
includeEventSubscriptionsWithoutTenantIdDescription copied from interface:EventSubscriptionQuerySelect subscriptions which have no tenant id. Can be used in combination withEventSubscriptionQuery.tenantIdIn(String...).- Specified by:
- includeEventSubscriptionsWithoutTenantIdin interface- EventSubscriptionQuery
 
- 
eventTypeDescription copied from interface:EventSubscriptionQueryOnly select subscriptions for events with the given type. "message" selects message event subscriptions, "signal" selects signal event subscriptions, "compensate" selects compensation event subscriptions, "conditional" selects conditional event subscriptions.- Specified by:
- eventTypein interface- EventSubscriptionQuery
 
- 
orderByCreatedDescription copied from interface:EventSubscriptionQueryOrder by event subscription creation date (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByCreatedin interface- EventSubscriptionQuery
 
- 
orderByTenantIdDescription copied from interface:EventSubscriptionQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()). Note that the ordering of subscriptions without tenant id is database-specific.- Specified by:
- orderByTenantIdin interface- EventSubscriptionQuery
 
- 
executeCount- Specified by:
- executeCountin class- AbstractQuery<EventSubscriptionQuery,- EventSubscription> 
 
- 
executeListDescription copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
- executeListin class- AbstractQuery<EventSubscriptionQuery,- EventSubscription> 
- page- used if the results must be paged. If null, no paging will be applied.
 
- 
getEventSubscriptionId
- 
getEventName
- 
getEventType
- 
getExecutionId
- 
getProcessInstanceId
- 
getActivityId
 
-