Package org.flowable.eventregistry.api
Interface EventDefinitionQuery
- All Superinterfaces:
org.flowable.common.engine.api.query.Query<EventDefinitionQuery,
EventDefinition>
public interface EventDefinitionQuery
extends org.flowable.common.engine.api.query.Query<EventDefinitionQuery,EventDefinition>
Allows programmatic querying of
EventDefinition
s.- Author:
- Tijs Rademakers, Joram Barrez
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
org.flowable.common.engine.api.query.Query.NullHandlingOnOrder
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentId
(String deploymentId) Only select event definitions that are deployed in a deployment with the given deployment iddeploymentIds
(Set<String> deploymentIds) Select event definitions that are deployed in deployments with the given set of idseventCategory
(String category) Only select event definitions with the given category.eventCategoryLike
(String categoryLike) Only select event definitions where the category matches the given parameter.eventCategoryNotEquals
(String categoryNotEquals) Only select event definitions that have a different category then the given one.eventDefinitionId
(String eventDefinitionId) Only select eventdefinition with the given id.eventDefinitionIds
(Set<String> eventDefinitionIds) Only select forms with the given ids.eventDefinitionKey
(String eventDefinitionKey) Only select event definition with the given key.eventDefinitionKeyLike
(String eventDefinitionKeyLike) Only select event definitions where the key matches the given parameter.eventDefinitionKeyLikeIgnoreCase
(String keyLikeIgnoreCase) Only select event definitions where the key matches the given parameter (case-insensitive).eventDefinitionName
(String eventDefinitionName) Only select event definitions with the given name.eventDefinitionNameLike
(String eventDefinitionNameLike) Only select event definitions where the name matches the given parameter.eventDefinitionNameLikeIgnoreCase
(String nameLikeIgnoreCase) Only select event definitions where the name matches the given parameter (case-insensitive).eventDefinitionResourceName
(String resourceName) Only select event definition with the given resource name.eventDefinitionResourceNameLike
(String resourceNameLike) Only select event definition with a resource name like the given .eventVersion
(Integer eventVersion) Only select event definitions with a certain version.eventVersionGreaterThan
(Integer eventVersion) Only select event definitions which version are greater than a certain version.eventVersionGreaterThanOrEquals
(Integer eventVersion) Only select event definitions which version are greater than or equals a certain version.eventVersionLowerThan
(Integer eventVersion) Only select event definitions which version are lower than a certain version.eventVersionLowerThanOrEquals
(Integer eventVersion) Only select event definitions which version are lower than or equals a certain version.Only select the event definitions which are the latest deployed (ie. which have the highest version number for the given key).Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the category of the event definitions (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the id of the event definitions (needs to be followed byQuery.asc()
orQuery.desc()
).Order by event definition key (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the name of the event definitions (needs to be followed byQuery.asc()
orQuery.desc()
).Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).parentDeploymentId
(String parentDeploymentId) Only select event definitions that are deployed in a deployment with the given parent deployment idOnly select event definitions that have the given tenant id.tenantIdLike
(String tenantIdLike) Only select event definitions with a tenant id like the given one.Only select event definitions that do not have a tenant id.Methods inherited from interface org.flowable.common.engine.api.query.Query
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
-
Method Details
-
eventDefinitionId
Only select eventdefinition with the given id. -
eventDefinitionIds
Only select forms with the given ids. -
eventCategory
Only select event definitions with the given category. -
eventCategoryLike
Only select event definitions where the category matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test% -
eventCategoryNotEquals
Only select event definitions that have a different category then the given one.- See Also:
-
eventDefinitionName
Only select event definitions with the given name. -
eventDefinitionNameLike
Only select event definitions where the name matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test% -
eventDefinitionNameLikeIgnoreCase
Only select event definitions where the name matches the given parameter (case-insensitive). The syntax that should be used is the same as in SQL, eg. %test% -
deploymentId
Only select event definitions that are deployed in a deployment with the given deployment id -
deploymentIds
Select event definitions that are deployed in deployments with the given set of ids -
parentDeploymentId
Only select event definitions that are deployed in a deployment with the given parent deployment id -
eventDefinitionKey
Only select event definition with the given key. -
eventDefinitionKeyLike
Only select event definitions where the key matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test% -
eventDefinitionKeyLikeIgnoreCase
Only select event definitions where the key matches the given parameter (case-insensitive). The syntax that should be used is the same as in SQL, eg. %test% -
eventVersion
Only select event definitions with a certain version. Particularly useful when used in combination witheventDefinitionKey(String)
-
eventVersionGreaterThan
Only select event definitions which version are greater than a certain version. -
eventVersionGreaterThanOrEquals
Only select event definitions which version are greater than or equals a certain version. -
eventVersionLowerThan
Only select event definitions which version are lower than a certain version. -
eventVersionLowerThanOrEquals
Only select event definitions which version are lower than or equals a certain version. -
latestVersion
EventDefinitionQuery latestVersion()Only select the event definitions which are the latest deployed (ie. which have the highest version number for the given key). Can also be used without any other criteria (ie. query.latestVersion().list()), which will then give all the latest versions of all the deployed event definitions.- Throws:
org.flowable.common.engine.api.FlowableIllegalArgumentException
- if used in combination with {eventVersion(Integer)
ordeploymentId(String)
-
eventDefinitionResourceName
Only select event definition with the given resource name. -
eventDefinitionResourceNameLike
Only select event definition with a resource name like the given . -
tenantId
Only select event definitions that have the given tenant id. -
tenantIdLike
Only select event definitions with a tenant id like the given one. -
withoutTenantId
EventDefinitionQuery withoutTenantId()Only select event definitions that do not have a tenant id. -
orderByEventDefinitionCategory
EventDefinitionQuery orderByEventDefinitionCategory()Order by the category of the event definitions (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByEventDefinitionKey
EventDefinitionQuery orderByEventDefinitionKey()Order by event definition key (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByEventDefinitionId
EventDefinitionQuery orderByEventDefinitionId()Order by the id of the event definitions (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByEventDefinitionName
EventDefinitionQuery orderByEventDefinitionName()Order by the name of the event definitions (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByDeploymentId
EventDefinitionQuery orderByDeploymentId()Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByTenantId
EventDefinitionQuery orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).
-