Package org.flowable.eventregistry.api
Interface ChannelDefinitionQuery
- All Superinterfaces:
org.flowable.common.engine.api.query.Query<ChannelDefinitionQuery,
ChannelDefinition>
public interface ChannelDefinitionQuery
extends org.flowable.common.engine.api.query.Query<ChannelDefinitionQuery,ChannelDefinition>
Allows programmatic querying of
ChannelDefinition
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 TypeMethodDescriptionchannelCategory
(String category) Only select channel definitions with the given category.channelCategoryLike
(String categoryLike) Only select channel definitions where the category matches the given parameter.channelCategoryNotEquals
(String categoryNotEquals) Only select channel definitions that have a different category then the given one.channelCreateTime
(Date createTime) Only select channel definitions where the create time is equal to a certain date.channelCreateTimeAfter
(Date createTimeAfter) Only select channel definitions which create time is after a certain date.channelCreateTimeBefore
(Date createTimeBefore) Only select channel definitions which create time is before a certain date.channelDefinitionId
(String channelDefinitionId) Only select channel definition with the given id.channelDefinitionIds
(Set<String> channelDefinitionIds) Only select channel definitions with the given ids.channelDefinitionKey
(String channelDefinitionKey) Only select channel definition with the given key.channelDefinitionKeyLike
(String channelDefinitionKeyLike) Only select channel definitions where the key matches the given parameter.channelDefinitionKeyLikeIgnoreCase
(String keyLikeIgnoreCase) Only select channel definitions where the key matches the given parameter (case-insensitive).channelDefinitionName
(String channelDefinitionName) Only select channel definitions with the given name.channelDefinitionNameLike
(String channelDefinitionNameLike) Only select channel definitions where the name matches the given parameter.channelDefinitionNameLikeIgnoreCase
(String nameLikeIgnoreCase) Only select channel definitions where the name matches the given parameter (case-insensitive).channelDefinitionResourceName
(String resourceName) Only select channel definition with the given resource name.channelDefinitionResourceNameLike
(String resourceNameLike) Only select channel definition with a resource name like the given .channelVersion
(Integer channelVersion) Only select channel definitions with a certain version.channelVersionGreaterThan
(Integer channelVersion) Only select channel definitions which version are greater than a certain version.channelVersionGreaterThanOrEquals
(Integer channelVersion) Only select channel definitions which version are greater than or equals a certain version.channelVersionLowerThan
(Integer channelVersion) Only select channel definitions which version are lower than a certain version.channelVersionLowerThanOrEquals
(Integer channelVersion) Only select channel definitions which version are lower than or equals a certain version.deploymentId
(String deploymentId) Only select channel definitions that are deployed in a deployment with the given deployment iddeploymentIds
(Set<String> deploymentIds) Select channel definitions that are deployed in deployments with the given set of idsimplementation
(String implementation) Only select the channel definitions with the given implementation.Only select the channel definitions which are the latest deployed (ie. which have the highest version number for the given key).Only select the inbound channel definitions.Only select the outbound channel definitions.Order by the category of the channel definitions (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the id of the channel definitions (needs to be followed byQuery.asc()
orQuery.desc()
).Order by channel definition key (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the name of the channel definitions (needs to be followed byQuery.asc()
orQuery.desc()
).Order by create time (needs to be followed byQuery.asc()
orQuery.desc()
).Order by deployment id (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 channel definitions that are deployed in a deployment with the given parent deployment idOnly select channel definitions that have the given tenant id.tenantIdLike
(String tenantIdLike) Only select channel definitions with a tenant id like the given one.Only select channel 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
-
channelDefinitionId
Only select channel definition with the given id. -
channelDefinitionIds
Only select channel definitions with the given ids. -
channelCategory
Only select channel definitions with the given category. -
channelCategoryLike
Only select channel definitions where the category matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test% -
channelCategoryNotEquals
Only select channel definitions that have a different category then the given one. -
channelDefinitionName
Only select channel definitions with the given name. -
channelDefinitionNameLike
Only select channel definitions where the name matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test% -
channelDefinitionNameLikeIgnoreCase
Only select channel 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 channel definitions that are deployed in a deployment with the given deployment id -
deploymentIds
Select channel definitions that are deployed in deployments with the given set of ids -
parentDeploymentId
Only select channel definitions that are deployed in a deployment with the given parent deployment id -
channelDefinitionKey
Only select channel definition with the given key. -
channelDefinitionKeyLike
Only select channel definitions where the key matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test% -
channelDefinitionKeyLikeIgnoreCase
Only select channel definitions where the key matches the given parameter (case-insensitive). The syntax that should be used is the same as in SQL, eg. %test% -
channelVersion
Only select channel definitions with a certain version. Particularly useful when used in combination withchannelDefinitionKey(String)
-
channelVersionGreaterThan
Only select channel definitions which version are greater than a certain version. -
channelVersionGreaterThanOrEquals
Only select channel definitions which version are greater than or equals a certain version. -
channelVersionLowerThan
Only select channel definitions which version are lower than a certain version. -
channelVersionLowerThanOrEquals
Only select channel definitions which version are lower than or equals a certain version. -
latestVersion
ChannelDefinitionQuery latestVersion()Only select the channel 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 channel definitions.- Throws:
org.flowable.common.engine.api.FlowableIllegalArgumentException
- if used in combination with {channelVersion(Integer)
ordeploymentId(String)
-
onlyInbound
ChannelDefinitionQuery onlyInbound()Only select the inbound channel definitions. -
onlyOutbound
ChannelDefinitionQuery onlyOutbound()Only select the outbound channel definitions. -
implementation
Only select the channel definitions with the given implementation. e.g. jms, rabbit. -
channelCreateTime
Only select channel definitions where the create time is equal to a certain date. -
channelCreateTimeAfter
Only select channel definitions which create time is after a certain date. -
channelCreateTimeBefore
Only select channel definitions which create time is before a certain date. -
channelDefinitionResourceName
Only select channel definition with the given resource name. -
channelDefinitionResourceNameLike
Only select channel definition with a resource name like the given . -
tenantId
Only select channel definitions that have the given tenant id. -
tenantIdLike
Only select channel definitions with a tenant id like the given one. -
withoutTenantId
ChannelDefinitionQuery withoutTenantId()Only select channel definitions that do not have a tenant id. -
orderByChannelDefinitionCategory
ChannelDefinitionQuery orderByChannelDefinitionCategory()Order by the category of the channel definitions (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByChannelDefinitionKey
ChannelDefinitionQuery orderByChannelDefinitionKey()Order by channel definition key (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByChannelDefinitionId
ChannelDefinitionQuery orderByChannelDefinitionId()Order by the id of the channel definitions (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByChannelDefinitionName
ChannelDefinitionQuery orderByChannelDefinitionName()Order by the name of the channel definitions (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByDeploymentId
ChannelDefinitionQuery orderByDeploymentId()Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByCreateTime
ChannelDefinitionQuery orderByCreateTime()Order by create time (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByTenantId
ChannelDefinitionQuery orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).
-