public class EventSubscriptionQueryImpl extends AbstractQuery<EventSubscriptionQuery,EventSubscription> implements EventSubscriptionQuery, CacheAwareQuery<EventSubscriptionEntity>
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeQuery.NullHandlingOnOrder| Modifier and Type | Field and Description |
|---|---|
protected String |
activityId |
protected String |
configuration |
protected Collection<String> |
configurations |
protected Date |
createdAfter |
protected Date |
createdBefore |
protected EventSubscriptionQueryImpl |
currentOrQueryObject |
protected String |
eventName |
protected EventSubscriptionServiceConfiguration |
eventSubscriptionServiceConfiguration |
protected String |
eventType |
protected String |
executionId |
protected String |
id |
protected boolean |
inOrStatement |
protected List<EventSubscriptionQueryImpl> |
orQueryObjects |
protected String |
processDefinitionId |
protected String |
processInstanceId |
protected String |
scopeDefinitionId |
protected String |
scopeId |
protected String |
scopeType |
protected String |
subScopeId |
protected String |
tenantId |
protected Collection<String> |
tenantIds |
protected boolean |
withoutConfiguration |
protected boolean |
withoutTenantId |
commandContext, commandExecutordatabaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC| Constructor and Description |
|---|
EventSubscriptionQueryImpl() |
EventSubscriptionQueryImpl(CommandContext commandContext,
EventSubscriptionServiceConfiguration eventSubscriptionServiceConfiguration) |
EventSubscriptionQueryImpl(CommandExecutor commandExecutor,
EventSubscriptionServiceConfiguration eventSubscriptionServiceConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
EventSubscriptionQueryImpl |
activityId(String activityId)
Only select event subscriptions which have an activity with the given id.
|
EventSubscriptionQueryImpl |
configuration(String configuration)
Only select event subscriptions with the given configuration.
|
EventSubscriptionQueryImpl |
configurations(Collection<String> configurations)
Only select event subscriptions with the given configurations.
|
EventSubscriptionQueryImpl |
createdAfter(Date afterTime)
Only select event subscriptions that were created after the given start time.
|
EventSubscriptionQueryImpl |
createdBefore(Date beforeTime)
Only select event subscriptions that were created before the given start time.
|
EventSubscriptionQuery |
endOr()
End an OR statement.
|
EventSubscriptionQueryImpl |
eventName(String eventName)
Only select event subscriptions with the given name.
|
EventSubscriptionQueryImpl |
eventType(String eventType)
Only select event subscriptions with the given type.
|
long |
executeCount(CommandContext commandContext) |
List<EventSubscription> |
executeList(CommandContext commandContext)
Executes the actual query to retrieve the list of results.
|
EventSubscriptionQueryImpl |
executionId(String executionId)
Only select event subscriptions with the given execution id.
|
String |
getActivityId() |
String |
getConfiguration() |
Collection<String> |
getConfigurations() |
Date |
getCreatedAfter() |
Date |
getCreatedBefore() |
EventSubscriptionQueryImpl |
getCurrentOrQueryObject() |
String |
getEventName() |
String |
getEventType() |
String |
getExecutionId() |
String |
getId() |
List<EventSubscriptionQueryImpl> |
getOrQueryObjects() |
String |
getProcessDefinitionId() |
String |
getProcessInstanceId() |
String |
getScopeDefinitionId() |
String |
getScopeId() |
String |
getScopeType() |
String |
getSubScopeId() |
String |
getTenantId() |
Collection<String> |
getTenantIds() |
EventSubscriptionQueryImpl |
id(String id)
Only select event subscriptions with the given id.
|
boolean |
isInOrStatement() |
boolean |
isWithoutConfiguration() |
boolean |
isWithoutTenantId() |
EventSubscriptionQuery |
or()
Begin an OR statement.
|
EventSubscriptionQuery |
orderByCreateDate()
Order by create date (needs to be followed by
Query.asc() or Query.desc()). |
EventSubscriptionQuery |
orderByEventName()
Order by event name (needs to be followed by
Query.asc() or Query.desc()). |
EventSubscriptionQuery |
orderByExecutionId()
Order by execution id (needs to be followed by
Query.asc() or Query.desc()). |
EventSubscriptionQuery |
orderById()
Order by id (needs to be followed by
Query.asc() or Query.desc()). |
EventSubscriptionQuery |
orderByProcessDefinitionId()
Order by process definition id (needs to be followed by
Query.asc() or Query.desc()). |
EventSubscriptionQuery |
orderByProcessInstanceId()
Order by process instance id (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()). |
EventSubscriptionQueryImpl |
processDefinitionId(String processDefinitionId)
Only select event subscriptions which have the given process definition id.
|
EventSubscriptionQueryImpl |
processInstanceId(String processInstanceId)
Only select event subscriptions which have the given process instance id.
|
EventSubscriptionQueryImpl |
scopeDefinitionId(String scopeDefinitionId)
Only select event subscriptions which have a scope definition id with the given value.
|
EventSubscriptionQueryImpl |
scopeId(String scopeId)
Only select event subscriptions which have a scope id with the given value.
|
EventSubscriptionQueryImpl |
scopeType(String scopeType)
Only select event subscriptions which have a scope type with the given value.
|
EventSubscriptionQueryImpl |
subScopeId(String subScopeId)
Only select event subscriptions which have a sub scope id with the given value.
|
EventSubscriptionQueryImpl |
tenantId(String tenantId)
Only select event subscriptions with the given tenant id.
|
EventSubscriptionQuery |
tenantIds(Collection<String> tenantIds)
Only select event subscriptions with the given tenant id.
|
EventSubscriptionQueryImpl |
withoutConfiguration()
Only select event subscriptions that have no configuration.
|
EventSubscriptionQuery |
withoutTenantId()
Only select event subscriptions without a tenant id.
|
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultaddOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasc, count, desc, list, listPage, orderBy, orderBy, singleResultenhanceCachedValueprotected EventSubscriptionServiceConfiguration eventSubscriptionServiceConfiguration
protected String id
protected String eventType
protected String eventName
protected String executionId
protected String processInstanceId
protected String processDefinitionId
protected String activityId
protected String subScopeId
protected String scopeId
protected String scopeDefinitionId
protected String scopeType
protected Date createdBefore
protected Date createdAfter
protected String tenantId
protected Collection<String> tenantIds
protected boolean withoutTenantId
protected String configuration
protected Collection<String> configurations
protected boolean withoutConfiguration
protected List<EventSubscriptionQueryImpl> orQueryObjects
protected EventSubscriptionQueryImpl currentOrQueryObject
protected boolean inOrStatement
public EventSubscriptionQueryImpl()
public EventSubscriptionQueryImpl(CommandContext commandContext, EventSubscriptionServiceConfiguration eventSubscriptionServiceConfiguration)
public EventSubscriptionQueryImpl(CommandExecutor commandExecutor, EventSubscriptionServiceConfiguration eventSubscriptionServiceConfiguration)
public EventSubscriptionQueryImpl id(String id)
EventSubscriptionQueryid in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl eventType(String eventType)
EventSubscriptionQueryeventType in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl eventName(String eventName)
EventSubscriptionQueryeventName in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl executionId(String executionId)
EventSubscriptionQueryexecutionId in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl processInstanceId(String processInstanceId)
EventSubscriptionQueryprocessInstanceId in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl processDefinitionId(String processDefinitionId)
EventSubscriptionQueryprocessDefinitionId in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl activityId(String activityId)
EventSubscriptionQueryactivityId in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl subScopeId(String subScopeId)
EventSubscriptionQuerysubScopeId in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl scopeId(String scopeId)
EventSubscriptionQueryscopeId in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl scopeDefinitionId(String scopeDefinitionId)
EventSubscriptionQueryscopeDefinitionId in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl scopeType(String scopeType)
EventSubscriptionQueryscopeType in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl createdBefore(Date beforeTime)
EventSubscriptionQuerycreatedBefore in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl createdAfter(Date afterTime)
EventSubscriptionQuerycreatedAfter in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl tenantId(String tenantId)
EventSubscriptionQuerytenantId in interface EventSubscriptionQuerypublic EventSubscriptionQuery tenantIds(Collection<String> tenantIds)
EventSubscriptionQuerytenantIds in interface EventSubscriptionQuerypublic EventSubscriptionQuery withoutTenantId()
EventSubscriptionQuerywithoutTenantId in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl configuration(String configuration)
EventSubscriptionQueryconfiguration in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl configurations(Collection<String> configurations)
EventSubscriptionQueryconfigurations in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl withoutConfiguration()
EventSubscriptionQuerywithoutConfiguration in interface EventSubscriptionQuerypublic EventSubscriptionQuery or()
EventSubscriptionQueryor in interface EventSubscriptionQuerypublic EventSubscriptionQuery endOr()
EventSubscriptionQueryendOr in interface EventSubscriptionQuerypublic EventSubscriptionQuery orderById()
EventSubscriptionQueryQuery.asc() or Query.desc()).orderById in interface EventSubscriptionQuerypublic EventSubscriptionQuery orderByExecutionId()
EventSubscriptionQueryQuery.asc() or Query.desc()).orderByExecutionId in interface EventSubscriptionQuerypublic EventSubscriptionQuery orderByProcessInstanceId()
EventSubscriptionQueryQuery.asc() or Query.desc()).orderByProcessInstanceId in interface EventSubscriptionQuerypublic EventSubscriptionQuery orderByProcessDefinitionId()
EventSubscriptionQueryQuery.asc() or Query.desc()).orderByProcessDefinitionId in interface EventSubscriptionQuerypublic EventSubscriptionQuery orderByCreateDate()
EventSubscriptionQueryQuery.asc() or Query.desc()).orderByCreateDate in interface EventSubscriptionQuerypublic EventSubscriptionQuery orderByEventName()
EventSubscriptionQueryQuery.asc() or Query.desc()).orderByEventName in interface EventSubscriptionQuerypublic EventSubscriptionQuery orderByTenantId()
EventSubscriptionQueryQuery.asc() or Query.desc()).orderByTenantId in interface EventSubscriptionQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<EventSubscriptionQuery,EventSubscription>public List<EventSubscription> executeList(CommandContext commandContext)
AbstractQueryexecuteList in class AbstractQuery<EventSubscriptionQuery,EventSubscription>public String getId()
getId in interface CacheAwareQuery<EventSubscriptionEntity>public String getEventType()
public String getEventName()
public String getExecutionId()
public String getProcessInstanceId()
public String getActivityId()
public String getProcessDefinitionId()
public String getSubScopeId()
public String getScopeId()
public String getScopeDefinitionId()
public String getScopeType()
public Date getCreatedBefore()
public Date getCreatedAfter()
public String getTenantId()
public Collection<String> getTenantIds()
public boolean isWithoutTenantId()
public String getConfiguration()
public Collection<String> getConfigurations()
public boolean isWithoutConfiguration()
public List<EventSubscriptionQueryImpl> getOrQueryObjects()
public EventSubscriptionQueryImpl getCurrentOrQueryObject()
public boolean isInOrStatement()
Copyright © 2023 Flowable. All rights reserved.