Interface PolicyDeploymentQuery
-
- All Superinterfaces:
org.flowable.common.engine.api.query.Query<PolicyDeploymentQuery,PolicyDeployment>
- All Known Implementing Classes:
PolicyDeploymentQueryImpl
public interface PolicyDeploymentQuery extends org.flowable.common.engine.api.query.Query<PolicyDeploymentQuery,PolicyDeployment>
Allows programmatic querying ofPolicyDeployments. Note that it is impossible to retrieve the deployment resources through the results of this operation, since that would cause a huge transfer of (possibly) unneeded bytes over the wire. To retrieve the actual bytes of a deployment resource use the operations on thePolicyRepositoryService.getDeploymentResourceNames(String)andPolicyRepositoryService.getResourceAsStream(String, String)- Author:
- Tijs Rademakers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyDeploymentQuerydeploymentCategory(java.lang.String category)Only select deployments with the given category.PolicyDeploymentQuerydeploymentCategoryNotEquals(java.lang.String categoryNotEquals)Only select deployments that have a different category then the given one.PolicyDeploymentQuerydeploymentId(java.lang.String deploymentId)Only select deployments with the given deployment id.PolicyDeploymentQuerydeploymentIds(java.util.List<java.lang.String> deploymentIds)Only select deployments with the given deployment ids.PolicyDeploymentQuerydeploymentKey(java.lang.String key)Only select deployments with the given key.PolicyDeploymentQuerydeploymentName(java.lang.String name)Only select deployments with the given name.PolicyDeploymentQuerydeploymentNameLike(java.lang.String nameLike)Only select deployments with a name like the given string.PolicyDeploymentQuerydeploymentTenantId(java.lang.String tenantId)Only select deployment that have the given tenant id.PolicyDeploymentQuerydeploymentTenantIdLike(java.lang.String tenantIdLike)Only select deployments with a tenant id like the given one.PolicyDeploymentQuerydeploymentWithoutTenantId()Only select deployments that do not have a tenant id.PolicyDeploymentQuerylatest()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()).PolicyDeploymentQueryparentDeploymentId(java.lang.String deploymentParentId)Only select deployment that have the given deployment parent id.PolicyDeploymentQueryparentDeploymentIdLike(java.lang.String deploymentParentIdLike)Only select deployments with a deployment parent id like the given one.PolicyDeploymentQuerypolicyDefinitionKey(java.lang.String key)Only select deployments with the given policy definition key.PolicyDeploymentQuerypolicyDefinitionKeyLike(java.lang.String keyLike)Only select deployments with a policy definition key like the given string.
-
-
-
Method Detail
-
deploymentId
PolicyDeploymentQuery deploymentId(java.lang.String deploymentId)
Only select deployments with the given deployment id.
-
deploymentIds
PolicyDeploymentQuery deploymentIds(java.util.List<java.lang.String> deploymentIds)
Only select deployments with the given deployment ids.
-
deploymentName
PolicyDeploymentQuery deploymentName(java.lang.String name)
Only select deployments with the given name.
-
deploymentNameLike
PolicyDeploymentQuery deploymentNameLike(java.lang.String nameLike)
Only select deployments with a name like the given string.
-
deploymentKey
PolicyDeploymentQuery deploymentKey(java.lang.String key)
Only select deployments with the given key.
-
deploymentCategory
PolicyDeploymentQuery deploymentCategory(java.lang.String category)
Only select deployments with the given category.- See Also:
PolicyDeploymentBuilder.category(String)
-
deploymentCategoryNotEquals
PolicyDeploymentQuery deploymentCategoryNotEquals(java.lang.String categoryNotEquals)
Only select deployments that have a different category then the given one.- See Also:
PolicyDeploymentBuilder.category(String)
-
deploymentTenantId
PolicyDeploymentQuery deploymentTenantId(java.lang.String tenantId)
Only select deployment that have the given tenant id.
-
deploymentTenantIdLike
PolicyDeploymentQuery deploymentTenantIdLike(java.lang.String tenantIdLike)
Only select deployments with a tenant id like the given one.
-
deploymentWithoutTenantId
PolicyDeploymentQuery deploymentWithoutTenantId()
Only select deployments that do not have a tenant id.
-
policyDefinitionKey
PolicyDeploymentQuery policyDefinitionKey(java.lang.String key)
Only select deployments with the given policy definition key.
-
policyDefinitionKeyLike
PolicyDeploymentQuery policyDefinitionKeyLike(java.lang.String keyLike)
Only select deployments with a policy definition key like the given string.
-
parentDeploymentId
PolicyDeploymentQuery parentDeploymentId(java.lang.String deploymentParentId)
Only select deployment that have the given deployment parent id.
-
parentDeploymentIdLike
PolicyDeploymentQuery parentDeploymentIdLike(java.lang.String deploymentParentIdLike)
Only select deployments with a deployment parent id like the given one.
-
latest
PolicyDeploymentQuery latest()
Only select the latest deployments per deployment key.
-
orderByDeploymentId
PolicyDeploymentQuery orderByDeploymentId()
Order by deployment id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByDeploymentName
PolicyDeploymentQuery orderByDeploymentName()
Order by deployment name (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByDeploymentTime
PolicyDeploymentQuery orderByDeploymentTime()
Order by deployment time (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByTenantId
PolicyDeploymentQuery orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).
-
-