org.camunda.bpm.engine.repository
Interface DeploymentQuery

All Superinterfaces:
Query<DeploymentQuery,Deployment>
All Known Implementing Classes:
DeploymentQueryImpl

public interface DeploymentQuery
extends Query<DeploymentQuery,Deployment>

Allows programmatic querying of Deployments. 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)

Author:
Tom Baeyens, Joram Barrez, Ingo Richtsmeier

Method Summary
 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 orderByDeploymentId()
          Order by deployment id (needs to be followed by Query.asc() or Query.desc()).
 DeploymentQuery orderByDeploymenTime()
          Order by deployment time (needs to be followed by Query.asc() or Query.desc()).
 DeploymentQuery orderByDeploymentName()
          Order by deployment name (needs to be followed by Query.asc() or Query.desc()).
 
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult
 

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.


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


orderByDeploymentId

DeploymentQuery orderByDeploymentId()
Order by deployment id (needs to be followed by Query.asc() or Query.desc()).


orderByDeploymentName

DeploymentQuery orderByDeploymentName()
Order by deployment name (needs to be followed by Query.asc() or Query.desc()).


orderByDeploymenTime

DeploymentQuery orderByDeploymenTime()
Order by deployment time (needs to be followed by Query.asc() or Query.desc()).



Copyright © 2014 camunda services GmbH. All rights reserved.