org.jbpm.pvm.internal.query
Class HistoryProcessInstanceQueryImpl
java.lang.Object
org.jbpm.pvm.internal.query.AbstractQuery
org.jbpm.pvm.internal.query.HistoryProcessInstanceQueryImpl
- All Implemented Interfaces:
- java.io.Serializable, Command<java.lang.Object>, HistoryProcessInstanceQuery
public class HistoryProcessInstanceQueryImpl
- extends AbstractQuery
- implements HistoryProcessInstanceQuery
- Author:
- Tom Baeyens, Alejandro Guizar
- 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
state
protected java.lang.String state
processInstanceId
protected java.lang.String processInstanceId
processInstanceKey
protected java.lang.String processInstanceKey
ended
protected boolean ended
endedBefore
protected java.util.Date endedBefore
endedAfter
protected java.util.Date endedAfter
HistoryProcessInstanceQueryImpl
public HistoryProcessInstanceQueryImpl()
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
list
public java.util.List<HistoryProcessInstance> list()
- Specified by:
list in interface HistoryProcessInstanceQuery
uniqueResult
public HistoryProcessInstance uniqueResult()
- Specified by:
uniqueResult in interface HistoryProcessInstanceQuery
processInstanceId
public HistoryProcessInstanceQuery processInstanceId(java.lang.String processInstanceId)
- Specified by:
processInstanceId in interface HistoryProcessInstanceQuery
orderAsc
public HistoryProcessInstanceQuery orderAsc(java.lang.String property)
- Specified by:
orderAsc in interface HistoryProcessInstanceQuery
orderDesc
public HistoryProcessInstanceQuery orderDesc(java.lang.String property)
- Specified by:
orderDesc in interface HistoryProcessInstanceQuery
page
public HistoryProcessInstanceQuery page(int firstResult,
int maxResults)
- Specified by:
page in interface HistoryProcessInstanceQuery
processDefinitionId
public HistoryProcessInstanceQuery processDefinitionId(java.lang.String processDefinitionId)
- Specified by:
processDefinitionId in interface HistoryProcessInstanceQuery
processInstanceKey
public HistoryProcessInstanceQuery processInstanceKey(java.lang.String processInstanceKey)
- Specified by:
processInstanceKey in interface HistoryProcessInstanceQuery
state
public HistoryProcessInstanceQuery state(java.lang.String state)
- Specified by:
state in interface HistoryProcessInstanceQuery
ended
public HistoryProcessInstanceQuery ended()
- Specified by:
ended in interface HistoryProcessInstanceQuery
endedBefore
public HistoryProcessInstanceQuery endedBefore(java.util.Date threshold)
- Specified by:
endedBefore in interface HistoryProcessInstanceQuery
endedAfter
public HistoryProcessInstanceQuery endedAfter(java.util.Date threshold)
- Specified by:
endedAfter in interface HistoryProcessInstanceQuery
Copyright © 2010 JBoss Community. All Rights Reserved.