Package org.flowable.eventregistry.impl
Class ChannelDefinitionQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<ChannelDefinitionQuery,ChannelDefinition>
org.flowable.eventregistry.impl.ChannelDefinitionQueryImpl
- All Implemented Interfaces:
Serializable
,Query<ChannelDefinitionQuery,
,ChannelDefinition> Command<Object>
,ChannelDefinitionQuery
public class ChannelDefinitionQueryImpl
extends AbstractQuery<ChannelDefinitionQuery,ChannelDefinition>
implements ChannelDefinitionQuery
- Author:
- Tijs Rademakers
- 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 String
protected Date
protected Date
protected Date
protected String
protected String
protected String
protected String
protected String
protected String
protected boolean
protected String
protected String
protected String
protected boolean
protected boolean
protected String
protected String
protected String
protected String
protected String
protected Integer
protected Integer
protected Integer
protected Integer
protected Integer
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
ConstructorsConstructorDescriptionChannelDefinitionQueryImpl
(CommandContext commandContext) ChannelDefinitionQueryImpl
(CommandExecutor commandExecutor) -
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.Only select channel definition with the given key.channelDefinitionKeyLike
(String keyLike) 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 name) Only select channel definitions with the given name.channelDefinitionNameLike
(String nameLike) 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 version) 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.protected void
checkVersion
(Integer 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 idslong
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext) Executes the actual query to retrieve the list of results.getId()
getIds()
getKey()
getName()
implementation
(String implementation) Only select the channel definitions with the given implementation.boolean
isLatest()
boolean
boolean
boolean
Only select the channel definitions which are the latest deployed (ie.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 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
-
Field Details
-
id
-
ids
-
category
-
categoryLike
-
categoryNotEquals
-
name
-
nameLike
-
nameLikeIgnoreCase
-
deploymentId
-
deploymentIds
-
parentDeploymentId
-
key
-
keyLike
-
keyLikeIgnoreCase
-
version
-
versionGt
-
versionGte
-
versionLt
-
versionLte
-
latest
protected boolean latest -
onlyInbound
protected boolean onlyInbound -
onlyOutbound
protected boolean onlyOutbound -
implementation
-
createTime
-
createTimeAfter
-
createTimeBefore
-
resourceName
-
resourceNameLike
-
tenantId
-
tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId
-
-
Constructor Details
-
ChannelDefinitionQueryImpl
public ChannelDefinitionQueryImpl() -
ChannelDefinitionQueryImpl
-
ChannelDefinitionQueryImpl
-
-
Method Details
-
channelDefinitionId
Description copied from interface:ChannelDefinitionQuery
Only select channel definition with the given id.- Specified by:
channelDefinitionId
in interfaceChannelDefinitionQuery
-
channelDefinitionIds
Description copied from interface:ChannelDefinitionQuery
Only select channel definitions with the given ids.- Specified by:
channelDefinitionIds
in interfaceChannelDefinitionQuery
-
channelCategory
Description copied from interface:ChannelDefinitionQuery
Only select channel definitions with the given category.- Specified by:
channelCategory
in interfaceChannelDefinitionQuery
-
channelCategoryLike
Description copied from interface:ChannelDefinitionQuery
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%- Specified by:
channelCategoryLike
in interfaceChannelDefinitionQuery
-
channelCategoryNotEquals
Description copied from interface:ChannelDefinitionQuery
Only select channel definitions that have a different category then the given one.- Specified by:
channelCategoryNotEquals
in interfaceChannelDefinitionQuery
-
channelDefinitionName
Description copied from interface:ChannelDefinitionQuery
Only select channel definitions with the given name.- Specified by:
channelDefinitionName
in interfaceChannelDefinitionQuery
-
channelDefinitionNameLike
Description copied from interface:ChannelDefinitionQuery
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%- Specified by:
channelDefinitionNameLike
in interfaceChannelDefinitionQuery
-
channelDefinitionNameLikeIgnoreCase
Description copied from interface:ChannelDefinitionQuery
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%- Specified by:
channelDefinitionNameLikeIgnoreCase
in interfaceChannelDefinitionQuery
-
deploymentId
Description copied from interface:ChannelDefinitionQuery
Only select channel definitions that are deployed in a deployment with the given deployment id- Specified by:
deploymentId
in interfaceChannelDefinitionQuery
-
deploymentIds
Description copied from interface:ChannelDefinitionQuery
Select channel definitions that are deployed in deployments with the given set of ids- Specified by:
deploymentIds
in interfaceChannelDefinitionQuery
-
parentDeploymentId
Description copied from interface:ChannelDefinitionQuery
Only select channel definitions that are deployed in a deployment with the given parent deployment id- Specified by:
parentDeploymentId
in interfaceChannelDefinitionQuery
-
channelDefinitionKey
Description copied from interface:ChannelDefinitionQuery
Only select channel definition with the given key.- Specified by:
channelDefinitionKey
in interfaceChannelDefinitionQuery
-
channelDefinitionKeyLike
Description copied from interface:ChannelDefinitionQuery
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%- Specified by:
channelDefinitionKeyLike
in interfaceChannelDefinitionQuery
-
channelDefinitionKeyLikeIgnoreCase
Description copied from interface:ChannelDefinitionQuery
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%- Specified by:
channelDefinitionKeyLikeIgnoreCase
in interfaceChannelDefinitionQuery
-
channelVersion
Description copied from interface:ChannelDefinitionQuery
Only select channel definitions with a certain version. Particularly useful when used in combination withChannelDefinitionQuery.channelDefinitionKey(String)
- Specified by:
channelVersion
in interfaceChannelDefinitionQuery
-
channelVersionGreaterThan
Description copied from interface:ChannelDefinitionQuery
Only select channel definitions which version are greater than a certain version.- Specified by:
channelVersionGreaterThan
in interfaceChannelDefinitionQuery
-
channelVersionGreaterThanOrEquals
Description copied from interface:ChannelDefinitionQuery
Only select channel definitions which version are greater than or equals a certain version.- Specified by:
channelVersionGreaterThanOrEquals
in interfaceChannelDefinitionQuery
-
channelVersionLowerThan
Description copied from interface:ChannelDefinitionQuery
Only select channel definitions which version are lower than a certain version.- Specified by:
channelVersionLowerThan
in interfaceChannelDefinitionQuery
-
channelVersionLowerThanOrEquals
Description copied from interface:ChannelDefinitionQuery
Only select channel definitions which version are lower than or equals a certain version.- Specified by:
channelVersionLowerThanOrEquals
in interfaceChannelDefinitionQuery
-
checkVersion
-
latestVersion
Description copied from interface:ChannelDefinitionQuery
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.- Specified by:
latestVersion
in interfaceChannelDefinitionQuery
-
onlyInbound
Description copied from interface:ChannelDefinitionQuery
Only select the inbound channel definitions.- Specified by:
onlyInbound
in interfaceChannelDefinitionQuery
-
onlyOutbound
Description copied from interface:ChannelDefinitionQuery
Only select the outbound channel definitions.- Specified by:
onlyOutbound
in interfaceChannelDefinitionQuery
-
implementation
Description copied from interface:ChannelDefinitionQuery
Only select the channel definitions with the given implementation. e.g. jms, rabbit.- Specified by:
implementation
in interfaceChannelDefinitionQuery
-
channelCreateTime
Description copied from interface:ChannelDefinitionQuery
Only select channel definitions where the create time is equal to a certain date.- Specified by:
channelCreateTime
in interfaceChannelDefinitionQuery
-
channelCreateTimeAfter
Description copied from interface:ChannelDefinitionQuery
Only select channel definitions which create time is after a certain date.- Specified by:
channelCreateTimeAfter
in interfaceChannelDefinitionQuery
-
channelCreateTimeBefore
Description copied from interface:ChannelDefinitionQuery
Only select channel definitions which create time is before a certain date.- Specified by:
channelCreateTimeBefore
in interfaceChannelDefinitionQuery
-
channelDefinitionResourceName
Description copied from interface:ChannelDefinitionQuery
Only select channel definition with the given resource name.- Specified by:
channelDefinitionResourceName
in interfaceChannelDefinitionQuery
-
channelDefinitionResourceNameLike
Description copied from interface:ChannelDefinitionQuery
Only select channel definition with a resource name like the given .- Specified by:
channelDefinitionResourceNameLike
in interfaceChannelDefinitionQuery
-
tenantId
Description copied from interface:ChannelDefinitionQuery
Only select channel definitions that have the given tenant id.- Specified by:
tenantId
in interfaceChannelDefinitionQuery
-
tenantIdLike
Description copied from interface:ChannelDefinitionQuery
Only select channel definitions with a tenant id like the given one.- Specified by:
tenantIdLike
in interfaceChannelDefinitionQuery
-
withoutTenantId
Description copied from interface:ChannelDefinitionQuery
Only select channel definitions that do not have a tenant id.- Specified by:
withoutTenantId
in interfaceChannelDefinitionQuery
-
orderByDeploymentId
Description copied from interface:ChannelDefinitionQuery
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentId
in interfaceChannelDefinitionQuery
-
orderByChannelDefinitionKey
Description copied from interface:ChannelDefinitionQuery
Order by channel definition key (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByChannelDefinitionKey
in interfaceChannelDefinitionQuery
-
orderByChannelDefinitionCategory
Description copied from interface:ChannelDefinitionQuery
Order by the category of the channel definitions (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByChannelDefinitionCategory
in interfaceChannelDefinitionQuery
-
orderByChannelDefinitionId
Description copied from interface:ChannelDefinitionQuery
Order by the id of the channel definitions (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByChannelDefinitionId
in interfaceChannelDefinitionQuery
-
orderByChannelDefinitionName
Description copied from interface:ChannelDefinitionQuery
Order by the name of the channel definitions (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByChannelDefinitionName
in interfaceChannelDefinitionQuery
-
orderByCreateTime
Description copied from interface:ChannelDefinitionQuery
Order by create time (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByCreateTime
in interfaceChannelDefinitionQuery
-
orderByTenantId
Description copied from interface:ChannelDefinitionQuery
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTenantId
in interfaceChannelDefinitionQuery
-
executeCount
- Specified by:
executeCount
in classAbstractQuery<ChannelDefinitionQuery,
ChannelDefinition>
-
executeList
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractQuery<ChannelDefinitionQuery,
ChannelDefinition>
-
getDeploymentId
-
getDeploymentIds
-
getParentDeploymentId
-
getId
-
getIds
-
getName
-
getNameLike
-
getNameLikeIgnoreCase
-
getKey
-
getKeyLike
-
getKeyLikeIgnoreCase
-
getCategory
-
getCategoryLike
-
getVersion
-
getVersionGt
-
getVersionGte
-
getVersionLt
-
getVersionLte
-
isLatest
public boolean isLatest() -
isOnlyInbound
public boolean isOnlyInbound() -
isOnlyOutbound
public boolean isOnlyOutbound() -
getImplementation
-
getCreateTime
-
getCreateTimeAfter
-
getCreateTimeBefore
-
getResourceName
-
getResourceNameLike
-
getCategoryNotEquals
-
getTenantId
-
getTenantIdLike
-
isWithoutTenantId
public boolean isWithoutTenantId()
-