Class TemplateDeploymentQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<TemplateDeploymentQuery,TemplateDeployment>
-
- com.flowable.template.engine.impl.repository.TemplateDeploymentQueryImpl
-
- All Implemented Interfaces:
TemplateDeploymentQuery,Serializable,Query<TemplateDeploymentQuery,TemplateDeployment>,Command<Object>
public class TemplateDeploymentQueryImpl extends AbstractQuery<TemplateDeploymentQuery,TemplateDeployment> implements TemplateDeploymentQuery, Serializable
- Author:
- Tijs Rademakers, Joram Barrez
- See Also:
- Serialized Form
-
-
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
Fields Modifier and Type Field Description protected StringactionDefinitionKeyprotected StringactionDefinitionKeyLikeprotected Stringcategoryprotected StringcategoryNotEqualsprotected StringdeploymentIdprotected List<String>deploymentIdsprotected Stringkeyprotected booleanlatestprotected Stringnameprotected StringnameLikeprotected StringparentDeploymentIdprotected StringparentDeploymentIdLikeprotected StringtenantIdprotected StringtenantIdLikeprotected booleanwithoutTenantId-
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
Constructors Constructor Description TemplateDeploymentQueryImpl()TemplateDeploymentQueryImpl(CommandContext commandContext)TemplateDeploymentQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateDeploymentQueryImplactionDefinitionKey(String key)Only select deployments with the given action definition key.TemplateDeploymentQueryImplactionDefinitionKeyLike(String keyLike)Only select deployments with a action definition key like the given string.TemplateDeploymentQueryImpldeploymentCategory(String deploymentCategory)Only select deployments with the given category.TemplateDeploymentQueryImpldeploymentCategoryNotEquals(String deploymentCategoryNotEquals)Only select deployments that have a different category then the given one.TemplateDeploymentQueryImpldeploymentId(String deploymentId)Only select deployments with the given deployment id.TemplateDeploymentQueryImpldeploymentIds(List<String> deploymentIds)Only select deployments with the given deployment ids.TemplateDeploymentQueryImpldeploymentKey(String deploymentKey)Only select deployments with the given key.TemplateDeploymentQueryImpldeploymentName(String deploymentName)Only select deployments with the given name.TemplateDeploymentQueryImpldeploymentNameLike(String nameLike)Only select deployments with a name like the given string.TemplateDeploymentQueryImpldeploymentTenantId(String tenantId)Only select deployment that have the given tenant id.TemplateDeploymentQueryImpldeploymentTenantIdLike(String tenantIdLike)Only select deployments with a tenant id like the given one.TemplateDeploymentQueryImpldeploymentWithoutTenantId()Only select deployments that do not have a tenant id.longexecuteCount(CommandContext commandContext)List<TemplateDeployment>executeList(CommandContext commandContext)StringgetActionDefinitionKey()StringgetActionDefinitionKeyLike()StringgetCategory()StringgetCategoryNotEquals()StringgetDeploymentId()List<String>getDeploymentIds()StringgetKey()StringgetName()StringgetNameLike()StringgetTenantId()StringgetTenantIdLike()booleanisWithoutTenantId()TemplateDeploymentQueryImpllatest()Only select the latest deployments per deployment key.TemplateDeploymentQueryorderByDeploymentId()Order by deployment id (needs to be followed byQuery.asc()orQuery.desc()).TemplateDeploymentQueryorderByDeploymentName()Order by deployment name (needs to be followed byQuery.asc()orQuery.desc()).TemplateDeploymentQueryorderByDeploymentTime()Order by deployment time (needs to be followed byQuery.asc()orQuery.desc()).TemplateDeploymentQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).TemplateDeploymentQueryImplparentDeploymentId(String parentDeploymentId)Only select deployment that have the given deployment parent id.TemplateDeploymentQueryImplparentDeploymentIdLike(String parentDeploymentIdLike)Only select deployments with a deployment parent id like the given one.-
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 Detail
-
deploymentId
protected String deploymentId
-
name
protected String name
-
nameLike
protected String nameLike
-
key
protected String key
-
category
protected String category
-
categoryNotEquals
protected String categoryNotEquals
-
tenantId
protected String tenantId
-
tenantIdLike
protected String tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId
-
parentDeploymentId
protected String parentDeploymentId
-
parentDeploymentIdLike
protected String parentDeploymentIdLike
-
actionDefinitionKey
protected String actionDefinitionKey
-
actionDefinitionKeyLike
protected String actionDefinitionKeyLike
-
latest
protected boolean latest
-
-
Constructor Detail
-
TemplateDeploymentQueryImpl
public TemplateDeploymentQueryImpl()
-
TemplateDeploymentQueryImpl
public TemplateDeploymentQueryImpl(CommandContext commandContext)
-
TemplateDeploymentQueryImpl
public TemplateDeploymentQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
deploymentId
public TemplateDeploymentQueryImpl deploymentId(String deploymentId)
Description copied from interface:TemplateDeploymentQueryOnly select deployments with the given deployment id.- Specified by:
deploymentIdin interfaceTemplateDeploymentQuery
-
deploymentIds
public TemplateDeploymentQueryImpl deploymentIds(List<String> deploymentIds)
Description copied from interface:TemplateDeploymentQueryOnly select deployments with the given deployment ids.- Specified by:
deploymentIdsin interfaceTemplateDeploymentQuery
-
deploymentName
public TemplateDeploymentQueryImpl deploymentName(String deploymentName)
Description copied from interface:TemplateDeploymentQueryOnly select deployments with the given name.- Specified by:
deploymentNamein interfaceTemplateDeploymentQuery
-
deploymentNameLike
public TemplateDeploymentQueryImpl deploymentNameLike(String nameLike)
Description copied from interface:TemplateDeploymentQueryOnly select deployments with a name like the given string.- Specified by:
deploymentNameLikein interfaceTemplateDeploymentQuery
-
deploymentKey
public TemplateDeploymentQueryImpl deploymentKey(String deploymentKey)
Description copied from interface:TemplateDeploymentQueryOnly select deployments with the given key.- Specified by:
deploymentKeyin interfaceTemplateDeploymentQuery
-
deploymentCategory
public TemplateDeploymentQueryImpl deploymentCategory(String deploymentCategory)
Description copied from interface:TemplateDeploymentQueryOnly select deployments with the given category.- Specified by:
deploymentCategoryin interfaceTemplateDeploymentQuery- See Also:
TemplateDeploymentBuilder.category(String)
-
deploymentCategoryNotEquals
public TemplateDeploymentQueryImpl deploymentCategoryNotEquals(String deploymentCategoryNotEquals)
Description copied from interface:TemplateDeploymentQueryOnly select deployments that have a different category then the given one.- Specified by:
deploymentCategoryNotEqualsin interfaceTemplateDeploymentQuery- See Also:
TemplateDeploymentBuilder.category(String)
-
parentDeploymentId
public TemplateDeploymentQueryImpl parentDeploymentId(String parentDeploymentId)
Description copied from interface:TemplateDeploymentQueryOnly select deployment that have the given deployment parent id.- Specified by:
parentDeploymentIdin interfaceTemplateDeploymentQuery
-
parentDeploymentIdLike
public TemplateDeploymentQueryImpl parentDeploymentIdLike(String parentDeploymentIdLike)
Description copied from interface:TemplateDeploymentQueryOnly select deployments with a deployment parent id like the given one.- Specified by:
parentDeploymentIdLikein interfaceTemplateDeploymentQuery
-
deploymentWithoutTenantId
public TemplateDeploymentQueryImpl deploymentWithoutTenantId()
Description copied from interface:TemplateDeploymentQueryOnly select deployments that do not have a tenant id.- Specified by:
deploymentWithoutTenantIdin interfaceTemplateDeploymentQuery
-
deploymentTenantId
public TemplateDeploymentQueryImpl deploymentTenantId(String tenantId)
Description copied from interface:TemplateDeploymentQueryOnly select deployment that have the given tenant id.- Specified by:
deploymentTenantIdin interfaceTemplateDeploymentQuery
-
deploymentTenantIdLike
public TemplateDeploymentQueryImpl deploymentTenantIdLike(String tenantIdLike)
Description copied from interface:TemplateDeploymentQueryOnly select deployments with a tenant id like the given one.- Specified by:
deploymentTenantIdLikein interfaceTemplateDeploymentQuery
-
actionDefinitionKey
public TemplateDeploymentQueryImpl actionDefinitionKey(String key)
Description copied from interface:TemplateDeploymentQueryOnly select deployments with the given action definition key.- Specified by:
actionDefinitionKeyin interfaceTemplateDeploymentQuery
-
actionDefinitionKeyLike
public TemplateDeploymentQueryImpl actionDefinitionKeyLike(String keyLike)
Description copied from interface:TemplateDeploymentQueryOnly select deployments with a action definition key like the given string.- Specified by:
actionDefinitionKeyLikein interfaceTemplateDeploymentQuery
-
latest
public TemplateDeploymentQueryImpl latest()
Description copied from interface:TemplateDeploymentQueryOnly select the latest deployments per deployment key.- Specified by:
latestin interfaceTemplateDeploymentQuery
-
orderByDeploymentId
public TemplateDeploymentQuery orderByDeploymentId()
Description copied from interface:TemplateDeploymentQueryOrder by deployment id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentIdin interfaceTemplateDeploymentQuery
-
orderByDeploymentTime
public TemplateDeploymentQuery orderByDeploymentTime()
Description copied from interface:TemplateDeploymentQueryOrder by deployment time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentTimein interfaceTemplateDeploymentQuery
-
orderByDeploymentName
public TemplateDeploymentQuery orderByDeploymentName()
Description copied from interface:TemplateDeploymentQueryOrder by deployment name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentNamein interfaceTemplateDeploymentQuery
-
orderByTenantId
public TemplateDeploymentQuery orderByTenantId()
Description copied from interface:TemplateDeploymentQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceTemplateDeploymentQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<TemplateDeploymentQuery,TemplateDeployment>
-
executeList
public List<TemplateDeployment> executeList(CommandContext commandContext)
- Specified by:
executeListin classAbstractQuery<TemplateDeploymentQuery,TemplateDeployment>
-
getDeploymentId
public String getDeploymentId()
-
getName
public String getName()
-
getNameLike
public String getNameLike()
-
getKey
public String getKey()
-
getCategory
public String getCategory()
-
getCategoryNotEquals
public String getCategoryNotEquals()
-
getTenantId
public String getTenantId()
-
getTenantIdLike
public String getTenantIdLike()
-
isWithoutTenantId
public boolean isWithoutTenantId()
-
getActionDefinitionKey
public String getActionDefinitionKey()
-
getActionDefinitionKeyLike
public String getActionDefinitionKeyLike()
-
-