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.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Dateprotected Dateprotected Dateprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected booleanprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected Integerprotected Integerprotected Integerprotected Integerprotected 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
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 voidcheckVersion(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 idslongexecuteCount(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.booleanisLatest()booleanbooleanbooleanOnly 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, 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, 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:ChannelDefinitionQueryOnly select channel definition with the given id.- Specified by:
channelDefinitionIdin interfaceChannelDefinitionQuery
-
channelDefinitionIds
Description copied from interface:ChannelDefinitionQueryOnly select channel definitions with the given ids.- Specified by:
channelDefinitionIdsin interfaceChannelDefinitionQuery
-
channelCategory
Description copied from interface:ChannelDefinitionQueryOnly select channel definitions with the given category.- Specified by:
channelCategoryin interfaceChannelDefinitionQuery
-
channelCategoryLike
Description copied from interface:ChannelDefinitionQueryOnly 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:
channelCategoryLikein interfaceChannelDefinitionQuery
-
channelCategoryNotEquals
Description copied from interface:ChannelDefinitionQueryOnly select channel definitions that have a different category then the given one.- Specified by:
channelCategoryNotEqualsin interfaceChannelDefinitionQuery
-
channelDefinitionName
Description copied from interface:ChannelDefinitionQueryOnly select channel definitions with the given name.- Specified by:
channelDefinitionNamein interfaceChannelDefinitionQuery
-
channelDefinitionNameLike
Description copied from interface:ChannelDefinitionQueryOnly 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:
channelDefinitionNameLikein interfaceChannelDefinitionQuery
-
channelDefinitionNameLikeIgnoreCase
Description copied from interface:ChannelDefinitionQueryOnly 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:
channelDefinitionNameLikeIgnoreCasein interfaceChannelDefinitionQuery
-
deploymentId
Description copied from interface:ChannelDefinitionQueryOnly select channel definitions that are deployed in a deployment with the given deployment id- Specified by:
deploymentIdin interfaceChannelDefinitionQuery
-
deploymentIds
Description copied from interface:ChannelDefinitionQuerySelect channel definitions that are deployed in deployments with the given set of ids- Specified by:
deploymentIdsin interfaceChannelDefinitionQuery
-
parentDeploymentId
Description copied from interface:ChannelDefinitionQueryOnly select channel definitions that are deployed in a deployment with the given parent deployment id- Specified by:
parentDeploymentIdin interfaceChannelDefinitionQuery
-
channelDefinitionKey
Description copied from interface:ChannelDefinitionQueryOnly select channel definition with the given key.- Specified by:
channelDefinitionKeyin interfaceChannelDefinitionQuery
-
channelDefinitionKeyLike
Description copied from interface:ChannelDefinitionQueryOnly 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:
channelDefinitionKeyLikein interfaceChannelDefinitionQuery
-
channelDefinitionKeyLikeIgnoreCase
Description copied from interface:ChannelDefinitionQueryOnly 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:
channelDefinitionKeyLikeIgnoreCasein interfaceChannelDefinitionQuery
-
channelVersion
Description copied from interface:ChannelDefinitionQueryOnly select channel definitions with a certain version. Particularly useful when used in combination withChannelDefinitionQuery.channelDefinitionKey(String)- Specified by:
channelVersionin interfaceChannelDefinitionQuery
-
channelVersionGreaterThan
Description copied from interface:ChannelDefinitionQueryOnly select channel definitions which version are greater than a certain version.- Specified by:
channelVersionGreaterThanin interfaceChannelDefinitionQuery
-
channelVersionGreaterThanOrEquals
Description copied from interface:ChannelDefinitionQueryOnly select channel definitions which version are greater than or equals a certain version.- Specified by:
channelVersionGreaterThanOrEqualsin interfaceChannelDefinitionQuery
-
channelVersionLowerThan
Description copied from interface:ChannelDefinitionQueryOnly select channel definitions which version are lower than a certain version.- Specified by:
channelVersionLowerThanin interfaceChannelDefinitionQuery
-
channelVersionLowerThanOrEquals
Description copied from interface:ChannelDefinitionQueryOnly select channel definitions which version are lower than or equals a certain version.- Specified by:
channelVersionLowerThanOrEqualsin interfaceChannelDefinitionQuery
-
checkVersion
-
latestVersion
Description copied from interface:ChannelDefinitionQueryOnly 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:
latestVersionin interfaceChannelDefinitionQuery
-
onlyInbound
Description copied from interface:ChannelDefinitionQueryOnly select the inbound channel definitions.- Specified by:
onlyInboundin interfaceChannelDefinitionQuery
-
onlyOutbound
Description copied from interface:ChannelDefinitionQueryOnly select the outbound channel definitions.- Specified by:
onlyOutboundin interfaceChannelDefinitionQuery
-
implementation
Description copied from interface:ChannelDefinitionQueryOnly select the channel definitions with the given implementation. e.g. jms, rabbit.- Specified by:
implementationin interfaceChannelDefinitionQuery
-
channelCreateTime
Description copied from interface:ChannelDefinitionQueryOnly select channel definitions where the create time is equal to a certain date.- Specified by:
channelCreateTimein interfaceChannelDefinitionQuery
-
channelCreateTimeAfter
Description copied from interface:ChannelDefinitionQueryOnly select channel definitions which create time is after a certain date.- Specified by:
channelCreateTimeAfterin interfaceChannelDefinitionQuery
-
channelCreateTimeBefore
Description copied from interface:ChannelDefinitionQueryOnly select channel definitions which create time is before a certain date.- Specified by:
channelCreateTimeBeforein interfaceChannelDefinitionQuery
-
channelDefinitionResourceName
Description copied from interface:ChannelDefinitionQueryOnly select channel definition with the given resource name.- Specified by:
channelDefinitionResourceNamein interfaceChannelDefinitionQuery
-
channelDefinitionResourceNameLike
Description copied from interface:ChannelDefinitionQueryOnly select channel definition with a resource name like the given .- Specified by:
channelDefinitionResourceNameLikein interfaceChannelDefinitionQuery
-
tenantId
Description copied from interface:ChannelDefinitionQueryOnly select channel definitions that have the given tenant id.- Specified by:
tenantIdin interfaceChannelDefinitionQuery
-
tenantIdLike
Description copied from interface:ChannelDefinitionQueryOnly select channel definitions with a tenant id like the given one.- Specified by:
tenantIdLikein interfaceChannelDefinitionQuery
-
withoutTenantId
Description copied from interface:ChannelDefinitionQueryOnly select channel definitions that do not have a tenant id.- Specified by:
withoutTenantIdin interfaceChannelDefinitionQuery
-
orderByDeploymentId
Description copied from interface:ChannelDefinitionQueryOrder by deployment id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentIdin interfaceChannelDefinitionQuery
-
orderByChannelDefinitionKey
Description copied from interface:ChannelDefinitionQueryOrder by channel definition key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByChannelDefinitionKeyin interfaceChannelDefinitionQuery
-
orderByChannelDefinitionCategory
Description copied from interface:ChannelDefinitionQueryOrder by the category of the channel definitions (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByChannelDefinitionCategoryin interfaceChannelDefinitionQuery
-
orderByChannelDefinitionId
Description copied from interface:ChannelDefinitionQueryOrder by the id of the channel definitions (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByChannelDefinitionIdin interfaceChannelDefinitionQuery
-
orderByChannelDefinitionName
Description copied from interface:ChannelDefinitionQueryOrder by the name of the channel definitions (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByChannelDefinitionNamein interfaceChannelDefinitionQuery
-
orderByCreateTime
Description copied from interface:ChannelDefinitionQueryOrder by create time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByCreateTimein interfaceChannelDefinitionQuery
-
orderByTenantId
Description copied from interface:ChannelDefinitionQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceChannelDefinitionQuery
-
executeCount
- Specified by:
executeCountin classAbstractQuery<ChannelDefinitionQuery,ChannelDefinition>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin 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()
-