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.ResultType
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected Collection<String>
protected Date
protected Date
protected EventSubscriptionQueryImpl
protected String
protected EventSubscriptionServiceConfiguration
protected String
protected String
protected String
protected boolean
protected List<EventSubscriptionQueryImpl>
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected Collection<String>
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
Fields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutor
Fields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, 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.long
executeCount
(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.boolean
boolean
boolean
boolean
boolean
boolean
boolean
or()
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, list, listPage, orderBy, orderBy, setCommandExecutor, singleResult
Methods 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, setMaxResults, setNullHandlingColumn, setParameter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:EventSubscriptionQuery
Only select event subscriptions with the given id.- Specified by:
id
in interfaceEventSubscriptionQuery
-
eventType
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions with the given type.- Specified by:
eventType
in interfaceEventSubscriptionQuery
-
eventName
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions with the given name.- Specified by:
eventName
in interfaceEventSubscriptionQuery
-
executionId
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions with the given execution id.- Specified by:
executionId
in interfaceEventSubscriptionQuery
-
processInstanceId
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions which have the given process instance id.- Specified by:
processInstanceId
in interfaceEventSubscriptionQuery
-
withoutProcessInstanceId
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions without a process instance id value.- Specified by:
withoutProcessInstanceId
in interfaceEventSubscriptionQuery
-
processDefinitionId
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions which have the given process definition id.- Specified by:
processDefinitionId
in interfaceEventSubscriptionQuery
-
withoutProcessDefinitionId
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions without a process definition id value.- Specified by:
withoutProcessDefinitionId
in interfaceEventSubscriptionQuery
-
activityId
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions which have an activity with the given id.- Specified by:
activityId
in interfaceEventSubscriptionQuery
-
caseInstanceId
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions which have the given case instance id.- Specified by:
caseInstanceId
in interfaceEventSubscriptionQuery
-
planItemInstanceId
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions which have the given plan item instance id.- Specified by:
planItemInstanceId
in interfaceEventSubscriptionQuery
-
caseDefinitionId
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions which have the given case definition id.- Specified by:
caseDefinitionId
in interfaceEventSubscriptionQuery
-
subScopeId
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions which have a sub scope id with the given value.- Specified by:
subScopeId
in interfaceEventSubscriptionQuery
-
scopeId
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions which have a scope id with the given value.- Specified by:
scopeId
in interfaceEventSubscriptionQuery
-
withoutScopeId
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions without a scope id value.- Specified by:
withoutScopeId
in interfaceEventSubscriptionQuery
-
scopeDefinitionId
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions which have a scope definition id with the given value.- Specified by:
scopeDefinitionId
in interfaceEventSubscriptionQuery
-
withoutScopeDefinitionId
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions without a scope definition id value.- Specified by:
withoutScopeDefinitionId
in interfaceEventSubscriptionQuery
-
scopeDefinitionKey
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions which have a scope definition key with the given value.- Specified by:
scopeDefinitionKey
in interfaceEventSubscriptionQuery
-
scopeType
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions which have a scope type with the given value.- Specified by:
scopeType
in interfaceEventSubscriptionQuery
-
createdBefore
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions that were created before the given start time.- Specified by:
createdBefore
in interfaceEventSubscriptionQuery
-
createdAfter
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions that were created after the given start time.- Specified by:
createdAfter
in interfaceEventSubscriptionQuery
-
tenantId
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions with the given tenant id.- Specified by:
tenantId
in interfaceEventSubscriptionQuery
-
tenantIds
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions with the given tenant id.- Specified by:
tenantIds
in interfaceEventSubscriptionQuery
-
withoutTenantId
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions without a tenant id.- Specified by:
withoutTenantId
in interfaceEventSubscriptionQuery
-
configuration
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions with the given configuration.- Specified by:
configuration
in interfaceEventSubscriptionQuery
-
configurations
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions with the given configurations.- Specified by:
configurations
in interfaceEventSubscriptionQuery
-
withoutConfiguration
Description copied from interface:EventSubscriptionQuery
Only select event subscriptions that have no configuration.- Specified by:
withoutConfiguration
in interfaceEventSubscriptionQuery
-
or
Description copied from interface:EventSubscriptionQuery
Begin an OR statement. Make sure you invoke the endOr() method at the end of your OR statement.- Specified by:
or
in interfaceEventSubscriptionQuery
-
endOr
Description copied from interface:EventSubscriptionQuery
End an OR statement.- Specified by:
endOr
in interfaceEventSubscriptionQuery
-
orderById
Description copied from interface:EventSubscriptionQuery
Order by id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderById
in interfaceEventSubscriptionQuery
-
orderByExecutionId
Description copied from interface:EventSubscriptionQuery
Order by execution id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByExecutionId
in interfaceEventSubscriptionQuery
-
orderByProcessInstanceId
Description copied from interface:EventSubscriptionQuery
Order by process instance id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessInstanceId
in interfaceEventSubscriptionQuery
-
orderByProcessDefinitionId
Description copied from interface:EventSubscriptionQuery
Order by process definition id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessDefinitionId
in interfaceEventSubscriptionQuery
-
orderByCreateDate
Description copied from interface:EventSubscriptionQuery
Order by create date (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByCreateDate
in interfaceEventSubscriptionQuery
-
orderByEventName
Description copied from interface:EventSubscriptionQuery
Order by event name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByEventName
in interfaceEventSubscriptionQuery
-
orderByTenantId
Description copied from interface:EventSubscriptionQuery
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTenantId
in interfaceEventSubscriptionQuery
-
executeCount
- Specified by:
executeCount
in classAbstractQuery<EventSubscriptionQuery,
EventSubscription>
-
executeList
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractQuery<EventSubscriptionQuery,
EventSubscription>
-
getId
- Specified by:
getId
in 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()
-