public interface EventSubscriptionQuery extends Query<EventSubscriptionQuery,EventSubscription>
Modifier and Type | Method and Description |
---|---|
EventSubscriptionQuery |
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.
|
EventSubscriptionQuery |
eventType(String eventType)
Only select subscriptions for events with the given type.
|
EventSubscriptionQuery |
executionId(String executionId)
Only select subscriptions that belong to an execution with the given id.
|
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.
|
asc, count, desc, list, listPage, singleResult, unlimitedList
EventSubscriptionQuery eventSubscriptionId(String id)
EventSubscriptionQuery eventName(String eventName)
EventSubscriptionQuery eventType(String eventType)
EventSubscriptionQuery executionId(String executionId)
EventSubscriptionQuery processInstanceId(String processInstanceId)
EventSubscriptionQuery activityId(String activityId)
EventSubscriptionQuery tenantIdIn(String... tenantIds)
EventSubscriptionQuery withoutTenantId()
EventSubscriptionQuery includeEventSubscriptionsWithoutTenantId()
tenantIdIn(String...)
.EventSubscriptionQuery orderByCreated()
Query.asc()
or Query.desc()
).EventSubscriptionQuery orderByTenantId()
Query.asc()
or Query.desc()
).
Note that the ordering of subscriptions without tenant id is database-specific.Copyright © 2021. All rights reserved.