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 String
actionDefinitionKey
protected String
actionDefinitionKeyLike
protected String
category
protected String
categoryNotEquals
protected String
deploymentId
protected List<String>
deploymentIds
protected String
key
protected boolean
latest
protected String
name
protected String
nameLike
protected String
parentDeploymentId
protected String
parentDeploymentIdLike
protected String
tenantId
protected String
tenantIdLike
protected boolean
withoutTenantId
-
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 PolicyDeploymentQueryImpl
deploymentCategory(String deploymentCategory)
Only select deployments with the given category.PolicyDeploymentQueryImpl
deploymentCategoryNotEquals(String deploymentCategoryNotEquals)
Only select deployments that have a different category then the given one.PolicyDeploymentQueryImpl
deploymentId(String deploymentId)
Only select deployments with the given deployment id.PolicyDeploymentQueryImpl
deploymentIds(List<String> deploymentIds)
Only select deployments with the given deployment ids.PolicyDeploymentQueryImpl
deploymentKey(String deploymentKey)
Only select deployments with the given key.PolicyDeploymentQueryImpl
deploymentName(String deploymentName)
Only select deployments with the given name.PolicyDeploymentQueryImpl
deploymentNameLike(String nameLike)
Only select deployments with a name like the given string.PolicyDeploymentQueryImpl
deploymentTenantId(String tenantId)
Only select deployment that have the given tenant id.PolicyDeploymentQueryImpl
deploymentTenantIdLike(String tenantIdLike)
Only select deployments with a tenant id like the given one.PolicyDeploymentQueryImpl
deploymentWithoutTenantId()
Only select deployments that do not have a tenant id.long
executeCount(CommandContext commandContext)
List<PolicyDeployment>
executeList(CommandContext commandContext)
String
getActionDefinitionKey()
String
getActionDefinitionKeyLike()
String
getCategory()
String
getCategoryNotEquals()
String
getDeploymentId()
List<String>
getDeploymentIds()
String
getKey()
String
getName()
String
getNameLike()
String
getTenantId()
String
getTenantIdLike()
boolean
isWithoutTenantId()
PolicyDeploymentQueryImpl
latest()
Only select the latest deployments per deployment key.PolicyDeploymentQuery
orderByDeploymentId()
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).PolicyDeploymentQuery
orderByDeploymentName()
Order by deployment name (needs to be followed byQuery.asc()
orQuery.desc()
).PolicyDeploymentQuery
orderByDeploymentTime()
Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
).PolicyDeploymentQuery
orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).PolicyDeploymentQueryImpl
parentDeploymentId(String parentDeploymentId)
Only select deployment that have the given deployment parent id.PolicyDeploymentQueryImpl
parentDeploymentIdLike(String parentDeploymentIdLike)
Only select deployments with a deployment parent id like the given one.PolicyDeploymentQueryImpl
policyDefinitionKey(String key)
Only select deployments with the given policy definition key.PolicyDeploymentQueryImpl
policyDefinitionKeyLike(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
-
actionDefinitionKey
protected String actionDefinitionKey
-
actionDefinitionKeyLike
protected String actionDefinitionKeyLike
-
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:PolicyDeploymentQuery
Only select deployments with the given deployment id.- Specified by:
deploymentId
in interfacePolicyDeploymentQuery
-
deploymentIds
public PolicyDeploymentQueryImpl deploymentIds(List<String> deploymentIds)
Description copied from interface:PolicyDeploymentQuery
Only select deployments with the given deployment ids.- Specified by:
deploymentIds
in interfacePolicyDeploymentQuery
-
deploymentName
public PolicyDeploymentQueryImpl deploymentName(String deploymentName)
Description copied from interface:PolicyDeploymentQuery
Only select deployments with the given name.- Specified by:
deploymentName
in interfacePolicyDeploymentQuery
-
deploymentNameLike
public PolicyDeploymentQueryImpl deploymentNameLike(String nameLike)
Description copied from interface:PolicyDeploymentQuery
Only select deployments with a name like the given string.- Specified by:
deploymentNameLike
in interfacePolicyDeploymentQuery
-
deploymentKey
public PolicyDeploymentQueryImpl deploymentKey(String deploymentKey)
Description copied from interface:PolicyDeploymentQuery
Only select deployments with the given key.- Specified by:
deploymentKey
in interfacePolicyDeploymentQuery
-
deploymentCategory
public PolicyDeploymentQueryImpl deploymentCategory(String deploymentCategory)
Description copied from interface:PolicyDeploymentQuery
Only select deployments with the given category.- Specified by:
deploymentCategory
in interfacePolicyDeploymentQuery
- See Also:
PolicyDeploymentBuilder.category(String)
-
deploymentCategoryNotEquals
public PolicyDeploymentQueryImpl deploymentCategoryNotEquals(String deploymentCategoryNotEquals)
Description copied from interface:PolicyDeploymentQuery
Only select deployments that have a different category then the given one.- Specified by:
deploymentCategoryNotEquals
in interfacePolicyDeploymentQuery
- See Also:
PolicyDeploymentBuilder.category(String)
-
parentDeploymentId
public PolicyDeploymentQueryImpl parentDeploymentId(String parentDeploymentId)
Description copied from interface:PolicyDeploymentQuery
Only select deployment that have the given deployment parent id.- Specified by:
parentDeploymentId
in interfacePolicyDeploymentQuery
-
parentDeploymentIdLike
public PolicyDeploymentQueryImpl parentDeploymentIdLike(String parentDeploymentIdLike)
Description copied from interface:PolicyDeploymentQuery
Only select deployments with a deployment parent id like the given one.- Specified by:
parentDeploymentIdLike
in interfacePolicyDeploymentQuery
-
deploymentWithoutTenantId
public PolicyDeploymentQueryImpl deploymentWithoutTenantId()
Description copied from interface:PolicyDeploymentQuery
Only select deployments that do not have a tenant id.- Specified by:
deploymentWithoutTenantId
in interfacePolicyDeploymentQuery
-
deploymentTenantId
public PolicyDeploymentQueryImpl deploymentTenantId(String tenantId)
Description copied from interface:PolicyDeploymentQuery
Only select deployment that have the given tenant id.- Specified by:
deploymentTenantId
in interfacePolicyDeploymentQuery
-
deploymentTenantIdLike
public PolicyDeploymentQueryImpl deploymentTenantIdLike(String tenantIdLike)
Description copied from interface:PolicyDeploymentQuery
Only select deployments with a tenant id like the given one.- Specified by:
deploymentTenantIdLike
in interfacePolicyDeploymentQuery
-
policyDefinitionKey
public PolicyDeploymentQueryImpl policyDefinitionKey(String key)
Description copied from interface:PolicyDeploymentQuery
Only select deployments with the given policy definition key.- Specified by:
policyDefinitionKey
in interfacePolicyDeploymentQuery
-
policyDefinitionKeyLike
public PolicyDeploymentQueryImpl policyDefinitionKeyLike(String keyLike)
Description copied from interface:PolicyDeploymentQuery
Only select deployments with a policy definition key like the given string.- Specified by:
policyDefinitionKeyLike
in interfacePolicyDeploymentQuery
-
latest
public PolicyDeploymentQueryImpl latest()
Description copied from interface:PolicyDeploymentQuery
Only select the latest deployments per deployment key.- Specified by:
latest
in interfacePolicyDeploymentQuery
-
orderByDeploymentId
public PolicyDeploymentQuery orderByDeploymentId()
Description copied from interface:PolicyDeploymentQuery
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentId
in interfacePolicyDeploymentQuery
-
orderByDeploymentTime
public PolicyDeploymentQuery orderByDeploymentTime()
Description copied from interface:PolicyDeploymentQuery
Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentTime
in interfacePolicyDeploymentQuery
-
orderByDeploymentName
public PolicyDeploymentQuery orderByDeploymentName()
Description copied from interface:PolicyDeploymentQuery
Order by deployment name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentName
in interfacePolicyDeploymentQuery
-
orderByTenantId
public PolicyDeploymentQuery orderByTenantId()
Description copied from interface:PolicyDeploymentQuery
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTenantId
in interfacePolicyDeploymentQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<PolicyDeploymentQuery,PolicyDeployment>
-
executeList
public List<PolicyDeployment> executeList(CommandContext commandContext)
- Specified by:
executeList
in 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()
-
getActionDefinitionKey
public String getActionDefinitionKey()
-
getActionDefinitionKeyLike
public String getActionDefinitionKeyLike()
-
-