Class EventSubscriptionQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<EventSubscriptionQuery,EventSubscription>
org.flowable.eventsubscription.service.impl.EventSubscriptionQueryImpl
- All Implemented Interfaces:
Serializable,CacheAwareQuery<EventSubscriptionEntity>,Query<EventSubscriptionQuery,,EventSubscription> Command<Object>,EventSubscriptionQuery
public class EventSubscriptionQueryImpl
extends AbstractQuery<EventSubscriptionQuery,EventSubscription>
implements EventSubscriptionQuery, CacheAwareQuery<EventSubscriptionEntity>
- Author:
- Daniel Meyer
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Collection<String>protected Dateprotected Dateprotected EventSubscriptionQueryImplprotected Stringprotected EventSubscriptionServiceConfigurationprotected Stringprotected Stringprotected Stringprotected booleanprotected List<EventSubscriptionQueryImpl>protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Collection<String>protected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanFields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutorFields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, ignoreOrderBy, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC -
Constructor Summary
ConstructorsConstructorDescriptionEventSubscriptionQueryImpl(CommandContext commandContext, EventSubscriptionServiceConfiguration eventSubscriptionServiceConfiguration) EventSubscriptionQueryImpl(CommandExecutor commandExecutor, EventSubscriptionServiceConfiguration eventSubscriptionServiceConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionactivityId(String activityId) Only select event subscriptions which have an activity with the given id.caseDefinitionId(String caseDefinitionId) Only select event subscriptions which have the given case definition id.caseInstanceId(String caseInstanceId) Only select event subscriptions which have the given case instance id.configuration(String configuration) Only select event subscriptions with the given configuration.configurations(Collection<String> configurations) Only select event subscriptions with the given configurations.createdAfter(Date afterTime) Only select event subscriptions that were created after the given start time.createdBefore(Date beforeTime) Only select event subscriptions that were created before the given start time.endOr()End an OR statement.Only select event subscriptions with the given name.Only select event subscriptions with the given type.longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext) Executes the actual query to retrieve the list of results.executionId(String executionId) Only select event subscriptions with the given execution id.getId()Only select event subscriptions with the given id.booleanbooleanbooleanbooleanbooleanbooleanbooleanor()Begin an OR statement.Order by create date (needs to be followed byQuery.asc()orQuery.desc()).Order by event name (needs to be followed byQuery.asc()orQuery.desc()).Order by execution id (needs to be followed byQuery.asc()orQuery.desc()).Order by id (needs to be followed byQuery.asc()orQuery.desc()).Order by process definition id (needs to be followed byQuery.asc()orQuery.desc()).Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).planItemInstanceId(String planItemInstanceId) Only select event subscriptions which have the given plan item instance id.processDefinitionId(String processDefinitionId) Only select event subscriptions which have the given process definition id.processInstanceId(String processInstanceId) Only select event subscriptions which have the given process instance id.scopeDefinitionId(String scopeDefinitionId) Only select event subscriptions which have a scope definition id with the given value.scopeDefinitionKey(String scopeDefinitionKey) Only select event subscriptions which have a scope definition key with the given value.Only select event subscriptions which have a scope id with the given value.Only select event subscriptions which have a scope type with the given value.subScopeId(String subScopeId) Only select event subscriptions which have a sub scope id with the given value.Only select event subscriptions with the given tenant id.tenantIds(Collection<String> tenantIds) Only select event subscriptions with the given tenant id.Only select event subscriptions that have no configuration.Only select event subscriptions without a process definition id value.Only select event subscriptions without a process instance id value.Only select event subscriptions without a scope definition id value.Only select event subscriptions without a scope id value.Only select event subscriptions without a tenant id.Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getSafeList, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultMethods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setIgnoreOrderBy, setMaxResults, setNullHandlingColumn, setParameterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.api.query.CacheAwareQuery
enhanceCachedValue
-
Field Details
-
eventSubscriptionServiceConfiguration
-
id
-
eventType
-
eventName
-
executionId
-
processInstanceId
-
withoutProcessInstanceId
protected boolean withoutProcessInstanceId -
processDefinitionId
-
withoutProcessDefinitionId
protected boolean withoutProcessDefinitionId -
activityId
-
subScopeId
-
scopeId
-
withoutScopeId
protected boolean withoutScopeId -
scopeDefinitionId
-
withoutScopeDefinitionId
protected boolean withoutScopeDefinitionId -
scopeDefinitionKey
-
scopeType
-
createdBefore
-
createdAfter
-
tenantId
-
tenantIds
-
withoutTenantId
protected boolean withoutTenantId -
configuration
-
configurations
-
withoutConfiguration
protected boolean withoutConfiguration -
orQueryObjects
-
currentOrQueryObject
-
inOrStatement
protected boolean inOrStatement
-
-
Constructor Details
-
EventSubscriptionQueryImpl
public EventSubscriptionQueryImpl() -
EventSubscriptionQueryImpl
public EventSubscriptionQueryImpl(CommandContext commandContext, EventSubscriptionServiceConfiguration eventSubscriptionServiceConfiguration) -
EventSubscriptionQueryImpl
public EventSubscriptionQueryImpl(CommandExecutor commandExecutor, EventSubscriptionServiceConfiguration eventSubscriptionServiceConfiguration)
-
-
Method Details
-
id
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions with the given id.- Specified by:
idin interfaceEventSubscriptionQuery
-
eventType
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions with the given type.- Specified by:
eventTypein interfaceEventSubscriptionQuery
-
eventName
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions with the given name.- Specified by:
eventNamein interfaceEventSubscriptionQuery
-
executionId
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions with the given execution id.- Specified by:
executionIdin interfaceEventSubscriptionQuery
-
processInstanceId
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions which have the given process instance id.- Specified by:
processInstanceIdin interfaceEventSubscriptionQuery
-
withoutProcessInstanceId
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions without a process instance id value.- Specified by:
withoutProcessInstanceIdin interfaceEventSubscriptionQuery
-
processDefinitionId
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions which have the given process definition id.- Specified by:
processDefinitionIdin interfaceEventSubscriptionQuery
-
withoutProcessDefinitionId
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions without a process definition id value.- Specified by:
withoutProcessDefinitionIdin interfaceEventSubscriptionQuery
-
activityId
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions which have an activity with the given id.- Specified by:
activityIdin interfaceEventSubscriptionQuery
-
caseInstanceId
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions which have the given case instance id.- Specified by:
caseInstanceIdin interfaceEventSubscriptionQuery
-
planItemInstanceId
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions which have the given plan item instance id.- Specified by:
planItemInstanceIdin interfaceEventSubscriptionQuery
-
caseDefinitionId
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions which have the given case definition id.- Specified by:
caseDefinitionIdin interfaceEventSubscriptionQuery
-
subScopeId
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions which have a sub scope id with the given value.- Specified by:
subScopeIdin interfaceEventSubscriptionQuery
-
scopeId
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions which have a scope id with the given value.- Specified by:
scopeIdin interfaceEventSubscriptionQuery
-
withoutScopeId
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions without a scope id value.- Specified by:
withoutScopeIdin interfaceEventSubscriptionQuery
-
scopeDefinitionId
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions which have a scope definition id with the given value.- Specified by:
scopeDefinitionIdin interfaceEventSubscriptionQuery
-
withoutScopeDefinitionId
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions without a scope definition id value.- Specified by:
withoutScopeDefinitionIdin interfaceEventSubscriptionQuery
-
scopeDefinitionKey
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions which have a scope definition key with the given value.- Specified by:
scopeDefinitionKeyin interfaceEventSubscriptionQuery
-
scopeType
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions which have a scope type with the given value.- Specified by:
scopeTypein interfaceEventSubscriptionQuery
-
createdBefore
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions that were created before the given start time.- Specified by:
createdBeforein interfaceEventSubscriptionQuery
-
createdAfter
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions that were created after the given start time.- Specified by:
createdAfterin interfaceEventSubscriptionQuery
-
tenantId
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions with the given tenant id.- Specified by:
tenantIdin interfaceEventSubscriptionQuery
-
tenantIds
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions with the given tenant id.- Specified by:
tenantIdsin interfaceEventSubscriptionQuery
-
withoutTenantId
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions without a tenant id.- Specified by:
withoutTenantIdin interfaceEventSubscriptionQuery
-
configuration
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions with the given configuration.- Specified by:
configurationin interfaceEventSubscriptionQuery
-
configurations
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions with the given configurations.- Specified by:
configurationsin interfaceEventSubscriptionQuery
-
withoutConfiguration
Description copied from interface:EventSubscriptionQueryOnly select event subscriptions that have no configuration.- Specified by:
withoutConfigurationin interfaceEventSubscriptionQuery
-
or
Description copied from interface:EventSubscriptionQueryBegin an OR statement. Make sure you invoke the endOr() method at the end of your OR statement.- Specified by:
orin interfaceEventSubscriptionQuery
-
endOr
Description copied from interface:EventSubscriptionQueryEnd an OR statement.- Specified by:
endOrin interfaceEventSubscriptionQuery
-
orderById
Description copied from interface:EventSubscriptionQueryOrder by id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByIdin interfaceEventSubscriptionQuery
-
orderByExecutionId
Description copied from interface:EventSubscriptionQueryOrder by execution id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByExecutionIdin interfaceEventSubscriptionQuery
-
orderByProcessInstanceId
Description copied from interface:EventSubscriptionQueryOrder by process instance id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceIdin interfaceEventSubscriptionQuery
-
orderByProcessDefinitionId
Description copied from interface:EventSubscriptionQueryOrder by process definition id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessDefinitionIdin interfaceEventSubscriptionQuery
-
orderByCreateDate
Description copied from interface:EventSubscriptionQueryOrder by create date (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByCreateDatein interfaceEventSubscriptionQuery
-
orderByEventName
Description copied from interface:EventSubscriptionQueryOrder by event name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByEventNamein interfaceEventSubscriptionQuery
-
orderByTenantId
Description copied from interface:EventSubscriptionQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceEventSubscriptionQuery
-
executeCount
- Specified by:
executeCountin classAbstractQuery<EventSubscriptionQuery,EventSubscription>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<EventSubscriptionQuery,EventSubscription>
-
getId
- Specified by:
getIdin interfaceCacheAwareQuery<EventSubscriptionEntity>
-
getEventType
-
getEventName
-
getExecutionId
-
getProcessInstanceId
-
isWithoutProcessInstanceId
public boolean isWithoutProcessInstanceId() -
getActivityId
-
getProcessDefinitionId
-
isWithoutProcessDefinitionId
public boolean isWithoutProcessDefinitionId() -
getSubScopeId
-
getScopeId
-
isWithoutScopeId
public boolean isWithoutScopeId() -
getScopeDefinitionId
-
isWithoutScopeDefinitionId
public boolean isWithoutScopeDefinitionId() -
getScopeDefinitionKey
-
getScopeType
-
getCreatedBefore
-
getCreatedAfter
-
getTenantId
-
getTenantIds
-
isWithoutTenantId
public boolean isWithoutTenantId() -
getConfiguration
-
getConfigurations
-
isWithoutConfiguration
public boolean isWithoutConfiguration() -
getOrQueryObjects
-
getCurrentOrQueryObject
-
isInOrStatement
public boolean isInOrStatement()
-