|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeploymentQuery
find existing deployments in the repository.
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_STATE
|
static java.lang.String |
PROPERTY_TIMESTAMP
|
Method Summary | |
---|---|
long |
count()
execute a count(*) query and returns number of results |
DeploymentQuery |
deploymentId(java.lang.String id)
only include a specific deployment by id |
java.util.List<Deployment> |
list()
execute the query and get the result list |
DeploymentQuery |
notSuspended()
only select non-suspended deployments |
DeploymentQuery |
orderAsc(java.lang.String property)
order results ascending for property PROPERTY_TIMESTAMP
or PROPERTY_STATE |
DeploymentQuery |
orderDesc(java.lang.String property)
order results descending for property PROPERTY_TIMESTAMP
or PROPERTY_STATE |
DeploymentQuery |
page(int firstResult,
int maxResults)
only select a specific page |
DeploymentQuery |
suspended()
only select suspended deployments |
Deployment |
uniqueResult()
execute the query and get the unique result |
Field Detail |
---|
static final java.lang.String PROPERTY_TIMESTAMP
static final java.lang.String PROPERTY_STATE
Method Detail |
---|
DeploymentQuery deploymentId(java.lang.String id)
DeploymentQuery suspended()
DeploymentQuery notSuspended()
DeploymentQuery orderAsc(java.lang.String property)
PROPERTY_TIMESTAMP
or PROPERTY_STATE
DeploymentQuery orderDesc(java.lang.String property)
PROPERTY_TIMESTAMP
or PROPERTY_STATE
DeploymentQuery page(int firstResult, int maxResults)
java.util.List<Deployment> list()
Deployment uniqueResult()
long count()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |