public interface DeploymentQuery extends Query<DeploymentQuery,Deployment>
Deployment
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 the
RepositoryService.getDeploymentResourceNames(String)
and RepositoryService.getResourceAsStream(String, String)
Modifier and Type | Method and Description |
---|---|
DeploymentQuery |
deploymentAfter(Date after)
Only select deployments deployed after the given date
|
DeploymentQuery |
deploymentBefore(Date before)
Only select deployments deployed before the given date
|
DeploymentQuery |
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 given
source is null ,
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 by
Query.asc() or Query.desc() ). |
DeploymentQuery |
orderByDeploymenTime()
Deprecated.
Use
orderByDeploymentTime() instead |
DeploymentQuery |
orderByDeploymentName()
Order by deployment name (needs to be followed by
Query.asc() or Query.desc() ). |
DeploymentQuery |
orderByDeploymentTime()
Order by deployment time (needs to be followed by
Query.asc() or Query.desc() ). |
DeploymentQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.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.
|
DeploymentQuery deploymentId(String deploymentId)
DeploymentQuery deploymentName(String name)
DeploymentQuery deploymentNameLike(String nameLike)
DeploymentQuery deploymentSource(String source)
source
is null
,
then deployments are returned where source is equal to null.
Otherwise only deployments with the given source are
selected.DeploymentQuery deploymentBefore(Date before)
DeploymentQuery deploymentAfter(Date after)
DeploymentQuery tenantIdIn(String... tenantIds)
DeploymentQuery withoutTenantId()
DeploymentQuery includeDeploymentsWithoutTenantId()
tenantIdIn(String...)
.DeploymentQuery orderByDeploymentId()
Query.asc()
or Query.desc()
).DeploymentQuery orderByDeploymentName()
Query.asc()
or Query.desc()
).@Deprecated DeploymentQuery orderByDeploymenTime()
orderByDeploymentTime()
insteadQuery.asc()
or Query.desc()
).DeploymentQuery orderByDeploymentTime()
Query.asc()
or Query.desc()
).DeploymentQuery orderByTenantId()
Query.asc()
or Query.desc()
).
Note that the ordering of process instances without tenant id is database-specific.Copyright © 2017. All rights reserved.