org.jbpm.pvm.internal.query
Class DeploymentQueryImpl

java.lang.Object
  extended by org.jbpm.pvm.internal.query.AbstractQuery
      extended by org.jbpm.pvm.internal.query.DeploymentQueryImpl
All Implemented Interfaces:
java.io.Serializable, Command<java.lang.Object>, DeploymentQuery

public class DeploymentQueryImpl
extends AbstractQuery
implements DeploymentQuery

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  java.lang.String deploymentId
           
protected  java.lang.Boolean suspended
           
 
Fields inherited from class org.jbpm.pvm.internal.query.AbstractQuery
commandService, count, isWhereAdded, orderByClause, page, uniqueResult
 
Fields inherited from interface org.jbpm.api.DeploymentQuery
PROPERTY_STATE, PROPERTY_TIMESTAMP
 
Constructor Summary
DeploymentQueryImpl()
           
 
Method Summary
protected  void applyParameters(org.hibernate.Query query)
           
 DeploymentQuery deploymentId(java.lang.String deploymentId)
           
 java.lang.String hql()
           
 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()
           
 Deployment uniqueResult()
           
 
Methods inherited from class org.jbpm.pvm.internal.query.AbstractQuery
addOrderByClause, appendOrderByClause, appendWhereClause, applyPage, count, execute, execute, setCommandService, untypedList, untypedUniqueResult, writeReplace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jbpm.api.DeploymentQuery
count
 

Field Detail

deploymentId

protected java.lang.String deploymentId

suspended

protected java.lang.Boolean suspended
Constructor Detail

DeploymentQueryImpl

public DeploymentQueryImpl()
Method Detail

hql

public java.lang.String hql()
Specified by:
hql in class AbstractQuery

applyParameters

protected void applyParameters(org.hibernate.Query query)
Specified by:
applyParameters in class AbstractQuery

deploymentId

public DeploymentQuery deploymentId(java.lang.String deploymentId)
Specified by:
deploymentId in interface DeploymentQuery

notSuspended

public DeploymentQuery notSuspended()
Specified by:
notSuspended in interface DeploymentQuery

suspended

public DeploymentQuery suspended()
Specified by:
suspended in interface DeploymentQuery

orderAsc

public DeploymentQuery orderAsc(java.lang.String property)
Specified by:
orderAsc in interface DeploymentQuery

orderDesc

public DeploymentQuery orderDesc(java.lang.String property)
Specified by:
orderDesc in interface DeploymentQuery

page

public DeploymentQuery page(int firstResult,
                            int maxResults)
Specified by:
page in interface DeploymentQuery

list

public java.util.List<Deployment> list()
Specified by:
list in interface DeploymentQuery

uniqueResult

public Deployment uniqueResult()
Specified by:
uniqueResult in interface DeploymentQuery


Copyright © 2010 JBoss Community. All Rights Reserved.