Interface DeploymentQuery
-
- All Superinterfaces:
Query<DeploymentQuery,Deployment>
- All Known Implementing Classes:
DeploymentQueryImpl
public interface DeploymentQuery extends 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, Ingo Richtsmeier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description DeploymentQuery
deploymentAfter(Date after)
Only select deployments deployed after the given dateDeploymentQuery
deploymentBefore(Date before)
Only select deployments deployed before the given dateDeploymentQuery
deploymentId(String deploymentId)
Only select deployments with the given deployment id.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
deploymentSource(String source)
If the givensource
isnull
, then deployments are returned where source is equal to null.DeploymentQuery
includeDeploymentsWithoutTenantId()
Select deployments which have no tenant id.DeploymentQuery
orderByDeploymentId()
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).DeploymentQuery
orderByDeploymenTime()
Deprecated.UseorderByDeploymentTime()
insteadDeploymentQuery
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
tenantIdIn(String... tenantIds)
Only select deployments with one of the given tenant ids.DeploymentQuery
withoutTenantId()
Only select deployments which have no tenant id.-
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
Method Detail
-
deploymentId
DeploymentQuery deploymentId(String deploymentId)
Only select deployments with the given deployment id.
-
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.
-
deploymentSource
DeploymentQuery deploymentSource(String source)
If the givensource
isnull
, then deployments are returned where source is equal to null. Otherwise only deployments with the given source are selected.
-
deploymentBefore
DeploymentQuery deploymentBefore(Date before)
Only select deployments deployed before the given date
-
deploymentAfter
DeploymentQuery deploymentAfter(Date after)
Only select deployments deployed after the given date
-
tenantIdIn
DeploymentQuery tenantIdIn(String... tenantIds)
Only select deployments with one of the given tenant ids.
-
withoutTenantId
DeploymentQuery withoutTenantId()
Only select deployments which have no tenant id.
-
includeDeploymentsWithoutTenantId
DeploymentQuery includeDeploymentsWithoutTenantId()
Select deployments which have no tenant id. Can be used in combination withtenantIdIn(String...)
.
-
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
@Deprecated DeploymentQuery orderByDeploymenTime()
Deprecated.UseorderByDeploymentTime()
insteadOrder by deployment time (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()
). Note that the ordering of process instances without tenant id is database-specific.
-
-