Class PolicyDeploymentQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<PolicyDeploymentQuery,PolicyDeployment>
-
- com.flowable.policy.engine.impl.repository.PolicyDeploymentQueryImpl
-
- All Implemented Interfaces:
PolicyDeploymentQuery,Serializable,Query<PolicyDeploymentQuery,PolicyDeployment>,Command<Object>
public class PolicyDeploymentQueryImpl extends AbstractQuery<PolicyDeploymentQuery,PolicyDeployment> implements PolicyDeploymentQuery, Serializable
- 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 Stringcategoryprotected StringcategoryNotEqualsprotected StringdeploymentIdprotected List<String>deploymentIdsprotected Stringkeyprotected booleanlatestprotected Stringnameprotected StringnameLikeprotected StringparentDeploymentIdprotected StringparentDeploymentIdLikeprotected StringpolicyDefinitionKeyprotected StringpolicyDefinitionKeyLikeprotected 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 PolicyDeploymentQueryImpl()PolicyDeploymentQueryImpl(CommandContext commandContext)PolicyDeploymentQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyDeploymentQueryImpldeploymentCategory(String deploymentCategory)Only select deployments with the given category.PolicyDeploymentQueryImpldeploymentCategoryNotEquals(String deploymentCategoryNotEquals)Only select deployments that have a different category then the given one.PolicyDeploymentQueryImpldeploymentId(String deploymentId)Only select deployments with the given deployment id.PolicyDeploymentQueryImpldeploymentIds(List<String> deploymentIds)Only select deployments with the given deployment ids.PolicyDeploymentQueryImpldeploymentKey(String deploymentKey)Only select deployments with the given key.PolicyDeploymentQueryImpldeploymentName(String deploymentName)Only select deployments with the given name.PolicyDeploymentQueryImpldeploymentNameLike(String nameLike)Only select deployments with a name like the given string.PolicyDeploymentQueryImpldeploymentTenantId(String tenantId)Only select deployment that have the given tenant id.PolicyDeploymentQueryImpldeploymentTenantIdLike(String tenantIdLike)Only select deployments with a tenant id like the given one.PolicyDeploymentQueryImpldeploymentWithoutTenantId()Only select deployments that do not have a tenant id.longexecuteCount(CommandContext commandContext)List<PolicyDeployment>executeList(CommandContext commandContext)StringgetCategory()StringgetCategoryNotEquals()StringgetDeploymentId()List<String>getDeploymentIds()StringgetKey()StringgetName()StringgetNameLike()StringgetPolicyDefinitionKey()StringgetPolicyDefinitionKeyLike()StringgetTenantId()StringgetTenantIdLike()booleanisWithoutTenantId()PolicyDeploymentQueryImpllatest()Only select the latest deployments per deployment key.PolicyDeploymentQueryorderByDeploymentId()Order by deployment id (needs to be followed byQuery.asc()orQuery.desc()).PolicyDeploymentQueryorderByDeploymentName()Order by deployment name (needs to be followed byQuery.asc()orQuery.desc()).PolicyDeploymentQueryorderByDeploymentTime()Order by deployment time (needs to be followed byQuery.asc()orQuery.desc()).PolicyDeploymentQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).PolicyDeploymentQueryImplparentDeploymentId(String parentDeploymentId)Only select deployment that have the given deployment parent id.PolicyDeploymentQueryImplparentDeploymentIdLike(String parentDeploymentIdLike)Only select deployments with a deployment parent id like the given one.PolicyDeploymentQueryImplpolicyDefinitionKey(String key)Only select deployments with the given policy definition key.PolicyDeploymentQueryImplpolicyDefinitionKeyLike(String keyLike)Only select deployments with a policy definition key like the given string.-
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
-
policyDefinitionKey
protected String policyDefinitionKey
-
policyDefinitionKeyLike
protected String policyDefinitionKeyLike
-
latest
protected boolean latest
-
-
Constructor Detail
-
PolicyDeploymentQueryImpl
public PolicyDeploymentQueryImpl()
-
PolicyDeploymentQueryImpl
public PolicyDeploymentQueryImpl(CommandContext commandContext)
-
PolicyDeploymentQueryImpl
public PolicyDeploymentQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
deploymentId
public PolicyDeploymentQueryImpl deploymentId(String deploymentId)
Description copied from interface:PolicyDeploymentQueryOnly select deployments with the given deployment id.- Specified by:
deploymentIdin interfacePolicyDeploymentQuery
-
deploymentIds
public PolicyDeploymentQueryImpl deploymentIds(List<String> deploymentIds)
Description copied from interface:PolicyDeploymentQueryOnly select deployments with the given deployment ids.- Specified by:
deploymentIdsin interfacePolicyDeploymentQuery
-
deploymentName
public PolicyDeploymentQueryImpl deploymentName(String deploymentName)
Description copied from interface:PolicyDeploymentQueryOnly select deployments with the given name.- Specified by:
deploymentNamein interfacePolicyDeploymentQuery
-
deploymentNameLike
public PolicyDeploymentQueryImpl deploymentNameLike(String nameLike)
Description copied from interface:PolicyDeploymentQueryOnly select deployments with a name like the given string.- Specified by:
deploymentNameLikein interfacePolicyDeploymentQuery
-
deploymentKey
public PolicyDeploymentQueryImpl deploymentKey(String deploymentKey)
Description copied from interface:PolicyDeploymentQueryOnly select deployments with the given key.- Specified by:
deploymentKeyin interfacePolicyDeploymentQuery
-
deploymentCategory
public PolicyDeploymentQueryImpl deploymentCategory(String deploymentCategory)
Description copied from interface:PolicyDeploymentQueryOnly select deployments with the given category.- Specified by:
deploymentCategoryin interfacePolicyDeploymentQuery- See Also:
PolicyDeploymentBuilder.category(String)
-
deploymentCategoryNotEquals
public PolicyDeploymentQueryImpl deploymentCategoryNotEquals(String deploymentCategoryNotEquals)
Description copied from interface:PolicyDeploymentQueryOnly select deployments that have a different category then the given one.- Specified by:
deploymentCategoryNotEqualsin interfacePolicyDeploymentQuery- See Also:
PolicyDeploymentBuilder.category(String)
-
parentDeploymentId
public PolicyDeploymentQueryImpl parentDeploymentId(String parentDeploymentId)
Description copied from interface:PolicyDeploymentQueryOnly select deployment that have the given deployment parent id.- Specified by:
parentDeploymentIdin interfacePolicyDeploymentQuery
-
parentDeploymentIdLike
public PolicyDeploymentQueryImpl parentDeploymentIdLike(String parentDeploymentIdLike)
Description copied from interface:PolicyDeploymentQueryOnly select deployments with a deployment parent id like the given one.- Specified by:
parentDeploymentIdLikein interfacePolicyDeploymentQuery
-
deploymentWithoutTenantId
public PolicyDeploymentQueryImpl deploymentWithoutTenantId()
Description copied from interface:PolicyDeploymentQueryOnly select deployments that do not have a tenant id.- Specified by:
deploymentWithoutTenantIdin interfacePolicyDeploymentQuery
-
deploymentTenantId
public PolicyDeploymentQueryImpl deploymentTenantId(String tenantId)
Description copied from interface:PolicyDeploymentQueryOnly select deployment that have the given tenant id.- Specified by:
deploymentTenantIdin interfacePolicyDeploymentQuery
-
deploymentTenantIdLike
public PolicyDeploymentQueryImpl deploymentTenantIdLike(String tenantIdLike)
Description copied from interface:PolicyDeploymentQueryOnly select deployments with a tenant id like the given one.- Specified by:
deploymentTenantIdLikein interfacePolicyDeploymentQuery
-
policyDefinitionKey
public PolicyDeploymentQueryImpl policyDefinitionKey(String key)
Description copied from interface:PolicyDeploymentQueryOnly select deployments with the given policy definition key.- Specified by:
policyDefinitionKeyin interfacePolicyDeploymentQuery
-
policyDefinitionKeyLike
public PolicyDeploymentQueryImpl policyDefinitionKeyLike(String keyLike)
Description copied from interface:PolicyDeploymentQueryOnly select deployments with a policy definition key like the given string.- Specified by:
policyDefinitionKeyLikein interfacePolicyDeploymentQuery
-
latest
public PolicyDeploymentQueryImpl latest()
Description copied from interface:PolicyDeploymentQueryOnly select the latest deployments per deployment key.- Specified by:
latestin interfacePolicyDeploymentQuery
-
orderByDeploymentId
public PolicyDeploymentQuery orderByDeploymentId()
Description copied from interface:PolicyDeploymentQueryOrder by deployment id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentIdin interfacePolicyDeploymentQuery
-
orderByDeploymentTime
public PolicyDeploymentQuery orderByDeploymentTime()
Description copied from interface:PolicyDeploymentQueryOrder by deployment time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentTimein interfacePolicyDeploymentQuery
-
orderByDeploymentName
public PolicyDeploymentQuery orderByDeploymentName()
Description copied from interface:PolicyDeploymentQueryOrder by deployment name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentNamein interfacePolicyDeploymentQuery
-
orderByTenantId
public PolicyDeploymentQuery orderByTenantId()
Description copied from interface:PolicyDeploymentQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfacePolicyDeploymentQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<PolicyDeploymentQuery,PolicyDeployment>
-
executeList
public List<PolicyDeployment> executeList(CommandContext commandContext)
- Specified by:
executeListin classAbstractQuery<PolicyDeploymentQuery,PolicyDeployment>
-
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()
-
getPolicyDefinitionKey
public String getPolicyDefinitionKey()
-
getPolicyDefinitionKeyLike
public String getPolicyDefinitionKeyLike()
-
-