Package org.activiti.engine.repository
Interface DeploymentQuery
-
- All Superinterfaces:
Query<DeploymentQuery,Deployment>
- All Known Implementing Classes:
DeploymentQueryImpl
@Internal public interface DeploymentQuery extends Query<DeploymentQuery,Deployment>
Allows programmatic querying ofDeployments. 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)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeploymentQuerydeploymentCategory(java.lang.String category)Only select deployments with the given category.DeploymentQuerydeploymentCategoryLike(java.lang.String categoryLike)Only select deployments with a category like the given string.DeploymentQuerydeploymentCategoryNotEquals(java.lang.String categoryNotEquals)Only select deployments that have a different category then the given one.DeploymentQuerydeploymentId(java.lang.String deploymentId)Only select deployments with the given deployment id.DeploymentQuerydeploymentKey(java.lang.String key)Only select deployments with the given key.DeploymentQuerydeploymentKeyLike(java.lang.String keyLike)Only select deployments with a key like the given string.DeploymentQuerydeploymentName(java.lang.String name)Only select deployments with the given name.DeploymentQuerydeploymentNameLike(java.lang.String nameLike)Only select deployments with a name like the given string.DeploymentQuerydeploymentTenantId(java.lang.String tenantId)Only select deployment that have the given tenant id.DeploymentQuerydeploymentTenantIdLike(java.lang.String tenantIdLike)Only select deployments with a tenant id like the given one.DeploymentQuerydeploymentWithoutTenantId()Only select deployments that do not have a tenant id.DeploymentQuerylatest()Only select deployments where the deployment time is the latest value.DeploymentQueryorderByDeploymentId()Order by deployment id (needs to be followed byQuery.asc()orQuery.desc()).DeploymentQueryorderByDeploymenTime()Order by deployment time (needs to be followed byQuery.asc()orQuery.desc()).DeploymentQueryorderByDeploymentName()Order by deployment name (needs to be followed byQuery.asc()orQuery.desc()).DeploymentQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).DeploymentQueryprocessDefinitionKey(java.lang.String key)Only select deployments with the given process definition key.DeploymentQueryprocessDefinitionKeyLike(java.lang.String keyLike)Only select deployments with a process definition key like the given string.
-
-
-
Method Detail
-
deploymentId
DeploymentQuery deploymentId(java.lang.String deploymentId)
Only select deployments with the given deployment id.
-
deploymentName
DeploymentQuery deploymentName(java.lang.String name)
Only select deployments with the given name.
-
deploymentNameLike
DeploymentQuery deploymentNameLike(java.lang.String nameLike)
Only select deployments with a name like the given string.
-
deploymentCategory
DeploymentQuery deploymentCategory(java.lang.String category)
Only select deployments with the given category.- See Also:
DeploymentBuilder.category(String)
-
deploymentCategoryLike
DeploymentQuery deploymentCategoryLike(java.lang.String categoryLike)
Only select deployments with a category like the given string.
-
deploymentCategoryNotEquals
DeploymentQuery deploymentCategoryNotEquals(java.lang.String categoryNotEquals)
Only select deployments that have a different category then the given one.- See Also:
DeploymentBuilder.category(String)
-
deploymentKey
DeploymentQuery deploymentKey(java.lang.String key)
Only select deployments with the given key.
-
deploymentKeyLike
DeploymentQuery deploymentKeyLike(java.lang.String keyLike)
Only select deployments with a key like the given string.
-
deploymentTenantId
DeploymentQuery deploymentTenantId(java.lang.String tenantId)
Only select deployment that have the given tenant id.
-
deploymentTenantIdLike
DeploymentQuery deploymentTenantIdLike(java.lang.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.
-
processDefinitionKey
DeploymentQuery processDefinitionKey(java.lang.String key)
Only select deployments with the given process definition key.
-
processDefinitionKeyLike
DeploymentQuery processDefinitionKeyLike(java.lang.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()).
-
orderByDeploymenTime
DeploymentQuery orderByDeploymenTime()
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()).
-
-