org.hdpagination.dataaccess.orm.hibernate3
Class NotProcessResultHBN3QueryCallback
java.lang.Object
org.hdpagination.dataaccess.orm.hibernate3.AbstractHBN3QueryCallback
org.hdpagination.dataaccess.orm.hibernate3.NotProcessResultHBN3QueryCallback
- All Implemented Interfaces:
- java.io.Serializable, QueryCallback, HBN3QueryCallback
public abstract class NotProcessResultHBN3QueryCallback
- extends AbstractHBN3QueryCallback
A subclass of AbstractHBN3QueryCallback providing default implementation of
processQueriedResult(List queriedResult) method without processing of
returned result from calling org.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(org.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 |
NotProcessResultHBN3QueryCallback
public NotProcessResultHBN3QueryCallback(java.lang.String queryStmt)
- Parameters:
queryStmt - HQL statement
NotProcessResultHBN3QueryCallback
public NotProcessResultHBN3QueryCallback(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
NotProcessResultHBN3QueryCallback
public NotProcessResultHBN3QueryCallback(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 HBN3QueryCallback- Specified by:
processQueriedResult in class AbstractHBN3QueryCallback
- Returns:
setValues
public abstract void setValues(org.hibernate.Query query)
- Description copied from interface:
HBN3QueryCallback
- Operate on
Query instance to bind parameters
- Specified by:
setValues in interface HBN3QueryCallback- Specified by:
setValues in class AbstractHBN3QueryCallback
Copyright © 2008 HDPagination All Rights Reserved.