org.jbpm.pvm.internal.query
Class ProcessInstanceQueryImpl
java.lang.Object
org.jbpm.pvm.internal.query.AbstractQuery
org.jbpm.pvm.internal.query.ProcessInstanceQueryImpl
- All Implemented Interfaces:
- java.io.Serializable, Command<java.lang.Object>, ProcessInstanceQuery
public class ProcessInstanceQueryImpl
- extends AbstractQuery
- implements ProcessInstanceQuery
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
| 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 |
processDefinitionId
protected java.lang.String processDefinitionId
processInstanceId
protected java.lang.String processInstanceId
processInstanceKey
protected java.lang.String processInstanceKey
suspended
protected java.lang.Boolean suspended
ProcessInstanceQueryImpl
public ProcessInstanceQueryImpl()
uniqueResult
public ProcessInstance uniqueResult()
- Specified by:
uniqueResult in interface ProcessInstanceQuery
list
public java.util.List<ProcessInstance> list()
- Specified by:
list in interface ProcessInstanceQuery
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
orderAsc
public ProcessInstanceQuery orderAsc(java.lang.String property)
- Specified by:
orderAsc in interface ProcessInstanceQuery
orderDesc
public ProcessInstanceQuery orderDesc(java.lang.String property)
- Specified by:
orderDesc in interface ProcessInstanceQuery
page
public ProcessInstanceQuery page(int firstResult,
int maxResults)
- Specified by:
page in interface ProcessInstanceQuery
processInstanceId
public ProcessInstanceQuery processInstanceId(java.lang.String processInstanceId)
- Specified by:
processInstanceId in interface ProcessInstanceQuery
processDefinitionId
public ProcessInstanceQuery processDefinitionId(java.lang.String processDefinitionId)
- Specified by:
processDefinitionId in interface ProcessInstanceQuery
suspended
public ProcessInstanceQuery suspended()
- Specified by:
suspended in interface ProcessInstanceQuery
processInstanceKey
public ProcessInstanceQuery processInstanceKey(java.lang.String processInstanceKey)
- Specified by:
processInstanceKey in interface ProcessInstanceQuery
notSuspended
public ProcessInstanceQuery notSuspended()
- Specified by:
notSuspended in interface ProcessInstanceQuery
Copyright © 2010 JBoss Community. All Rights Reserved.