Package org.flowable.engine.repository
Interface DeploymentQuery
-
- All Superinterfaces:
org.flowable.common.engine.api.query.Query<DeploymentQuery,Deployment>
- All Known Implementing Classes:
DeploymentQueryImpl
public interface DeploymentQuery extends org.flowable.common.engine.api.query.Query<DeploymentQuery,Deployment>
Allows programmatic querying ofDeployment
s. 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 theRepositoryService.getDeploymentResourceNames(String)
andRepositoryService.getResourceAsStream(String, String)
- Author:
- Tom Baeyens, Joram Barrez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeploymentQuery
deploymentCategory(String category)
Only select deployments with the given category.DeploymentQuery
deploymentCategoryLike(String categoryLike)
Only select deployments with a category like the given string.DeploymentQuery
deploymentCategoryNotEquals(String categoryNotEquals)
Only select deployments that have a different category then the given one.DeploymentQuery
deploymentDerivedFrom(String deploymentId)
Only select deployments that are derived from the given deployment.DeploymentQuery
deploymentEngineVersion(String engineVersion)
Only select deployment that have the given engine version.DeploymentQuery
deploymentId(String deploymentId)
Only select deployments with the given deployment id.DeploymentQuery
deploymentIds(List<String> deploymentId)
Only select deployments with an id in the given set of ids.DeploymentQuery
deploymentKey(String key)
Only select deployments with the given key.DeploymentQuery
deploymentKeyLike(String keyLike)
Only select deployments with a key like the given string.DeploymentQuery
deploymentName(String name)
Only select deployments with the given name.DeploymentQuery
deploymentNameLike(String nameLike)
Only select deployments with a name like the given string.DeploymentQuery
deploymentTenantId(String tenantId)
Only select deployment that have the given tenant id.DeploymentQuery
deploymentTenantIdLike(String tenantIdLike)
Only select deployments with a tenant id like the given one.DeploymentQuery
deploymentWithoutTenantId()
Only select deployments that do not have a tenant id.DeploymentQuery
latest()
Only select deployments where the deployment time is the latest value.DeploymentQuery
orderByDeploymentId()
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).DeploymentQuery
orderByDeploymentName()
Order by deployment name (needs to be followed byQuery.asc()
orQuery.desc()
).DeploymentQuery
orderByDeploymentTime()
Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
).DeploymentQuery
orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).DeploymentQuery
parentDeploymentId(String parentDeploymentId)
Only select deployments that have the given parent deployment id.DeploymentQuery
parentDeploymentIdLike(String parentDeploymentIdLike)
Only select deployments that have a parent deployment id like the given value.DeploymentQuery
parentDeploymentIds(List<String> parentDeploymentIds)
Only select deployments with a parent deployment id that is the same as one of the given deployment identifiers.DeploymentQuery
processDefinitionKey(String key)
Only select deployments with the given process definition key.DeploymentQuery
processDefinitionKeyLike(String keyLike)
Only select deployments with a process definition key like the given string.
-
-
-
Method Detail
-
deploymentId
DeploymentQuery deploymentId(String deploymentId)
Only select deployments with the given deployment id.
-
deploymentIds
DeploymentQuery deploymentIds(List<String> deploymentId)
Only select deployments with an id in the given set of ids.
-
deploymentName
DeploymentQuery deploymentName(String name)
Only select deployments with the given name.
-
deploymentNameLike
DeploymentQuery deploymentNameLike(String nameLike)
Only select deployments with a name like the given string.
-
deploymentCategory
DeploymentQuery deploymentCategory(String category)
Only select deployments with the given category.- See Also:
DeploymentBuilder.category(String)
-
deploymentCategoryLike
DeploymentQuery deploymentCategoryLike(String categoryLike)
Only select deployments with a category like the given string.
-
deploymentCategoryNotEquals
DeploymentQuery deploymentCategoryNotEquals(String categoryNotEquals)
Only select deployments that have a different category then the given one.- See Also:
DeploymentBuilder.category(String)
-
deploymentKey
DeploymentQuery deploymentKey(String key)
Only select deployments with the given key.
-
deploymentKeyLike
DeploymentQuery deploymentKeyLike(String keyLike)
Only select deployments with a key like the given string.
-
deploymentTenantId
DeploymentQuery deploymentTenantId(String tenantId)
Only select deployment that have the given tenant id.
-
deploymentTenantIdLike
DeploymentQuery deploymentTenantIdLike(String tenantIdLike)
Only select deployments with a tenant id like the given one.
-
deploymentWithoutTenantId
DeploymentQuery deploymentWithoutTenantId()
Only select deployments that do not have a tenant id.
-
deploymentEngineVersion
DeploymentQuery deploymentEngineVersion(String engineVersion)
Only select deployment that have the given engine version.
-
deploymentDerivedFrom
DeploymentQuery deploymentDerivedFrom(String deploymentId)
Only select deployments that are derived from the given deployment.
-
parentDeploymentId
DeploymentQuery parentDeploymentId(String parentDeploymentId)
Only select deployments that have the given parent deployment id.
-
parentDeploymentIdLike
DeploymentQuery parentDeploymentIdLike(String parentDeploymentIdLike)
Only select deployments that have a parent deployment id like the given value.
-
parentDeploymentIds
DeploymentQuery parentDeploymentIds(List<String> parentDeploymentIds)
Only select deployments with a parent deployment id that is the same as one of the given deployment identifiers.
-
processDefinitionKey
DeploymentQuery processDefinitionKey(String key)
Only select deployments with the given process definition key.
-
processDefinitionKeyLike
DeploymentQuery processDefinitionKeyLike(String keyLike)
Only select deployments with a process definition key like the given string.
-
latest
DeploymentQuery latest()
Only select deployments where the deployment time is the latest value. Can only be used together with the deployment key.
-
orderByDeploymentId
DeploymentQuery orderByDeploymentId()
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByDeploymentName
DeploymentQuery orderByDeploymentName()
Order by deployment name (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByDeploymentTime
DeploymentQuery orderByDeploymentTime()
Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
).
-
orderByTenantId
DeploymentQuery orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).
-
-