org.jbpm.api
Interface DeploymentQuery


public interface DeploymentQuery

find existing deployments in the repository.

Author:
Tom Baeyens

Field Summary
static java.lang.String PROPERTY_NAME
           
static java.lang.String PROPERTY_STATE
           
static java.lang.String PROPERTY_TIMESTAMP
           
 
Method Summary
 DeploymentQuery deploymentDbid(long dbid)
          only include a specific deployment by id
 java.util.List<Deployment> list()
           
 DeploymentQuery notSuspended()
           
 DeploymentQuery orderAsc(java.lang.String property)
           
 DeploymentQuery orderDesc(java.lang.String property)
           
 DeploymentQuery page(int firstResult, int maxResults)
           
 DeploymentQuery suspended()
          only select suspended deployments
 Deployment uniqueResult()
           
 

Field Detail

PROPERTY_NAME

static final java.lang.String PROPERTY_NAME
See Also:
Constant Field Values

PROPERTY_TIMESTAMP

static final java.lang.String PROPERTY_TIMESTAMP
See Also:
Constant Field Values

PROPERTY_STATE

static final java.lang.String PROPERTY_STATE
See Also:
Constant Field Values
Method Detail

deploymentDbid

DeploymentQuery deploymentDbid(long dbid)
only include a specific deployment by id


suspended

DeploymentQuery suspended()
only select suspended deployments


notSuspended

DeploymentQuery notSuspended()

orderAsc

DeploymentQuery orderAsc(java.lang.String property)

orderDesc

DeploymentQuery orderDesc(java.lang.String property)

page

DeploymentQuery page(int firstResult,
                     int maxResults)

list

java.util.List<Deployment> list()

uniqueResult

Deployment uniqueResult()


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.