org.hdpagination.dataaccess.orm.hibernate2
Class NotProcessResultHBN2QueryCallback
java.lang.Object
org.hdpagination.dataaccess.orm.hibernate2.AbstractHBN2QueryCallback
org.hdpagination.dataaccess.orm.hibernate2.NotProcessResultHBN2QueryCallback
- All Implemented Interfaces:
- java.io.Serializable, QueryCallback, HBN2QueryCallback
public abstract class NotProcessResultHBN2QueryCallback
- extends AbstractHBN2QueryCallback
A subclass of AbstractHBN2QueryCallback providing default implementation of
processQueriedResult(List queriedResult) method without processing of
returned result from calling net.sf.hibernate.Query.list() method.
- Since:
- 1.0
- Author:
- Liangfeng Ren
- See Also:
- Serialized Form
|
Method Summary |
java.util.List |
processQueriedResult(java.util.List queriedResult)
Do nothing, just return input |
abstract void |
setValues(net.sf.hibernate.Query query)
Operate on Query instance to bind parameters |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotProcessResultHBN2QueryCallback
public NotProcessResultHBN2QueryCallback(java.lang.String queryStmt)
- Parameters:
queryStmt - HQL statement
NotProcessResultHBN2QueryCallback
public NotProcessResultHBN2QueryCallback(java.lang.String queryStmt,
java.lang.String orderBy)
- Parameters:
queryStmt - HQL statementorderBy - column that will be added to the 'order by' clause of HQL statement
NotProcessResultHBN2QueryCallback
public NotProcessResultHBN2QueryCallback(java.lang.String queryStmt,
java.lang.String orderBy,
boolean ascending)
- Parameters:
queryStmt - HQL statementorderBy - column that will be added to the 'order by' clause of HQL statementascending - if sorted by ascending order
processQueriedResult
public java.util.List processQueriedResult(java.util.List queriedResult)
- Do nothing, just return input
- Specified by:
processQueriedResult in interface HBN2QueryCallback- Specified by:
processQueriedResult in class AbstractHBN2QueryCallback
- Returns:
setValues
public abstract void setValues(net.sf.hibernate.Query query)
throws net.sf.hibernate.HibernateException
- Description copied from interface:
HBN2QueryCallback
- Operate on
Query instance to bind parameters
- Specified by:
setValues in interface HBN2QueryCallback- Specified by:
setValues in class AbstractHBN2QueryCallback
- Throws:
net.sf.hibernate.HibernateException
Copyright © 2008 HDPagination All Rights Reserved.