|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HBN2QueryCallback
An interface defining the type of callback object which is generated by custom action class based on the received request parameters and passed to query engine class to execute Hibernate2 based query.
| Method Summary | |
|---|---|
java.util.List |
processQueriedResult(java.util.List queriedResult)
process the result from calling net.sf.hibernate.Query.list() method
in Hibernate2QueryTemplate.query(QueryCallback callback, int pageSize, int pageNo),
and the value(java.util.List) returned by current method will be used as the return value of
Hibernate2QueryTemplate.query(QueryCallback callback, int pageSize, int pageNo). |
void |
setValues(net.sf.hibernate.Query query)
Operate on Query instance to bind parameters |
| Methods inherited from interface org.hdpagination.core.QueryCallback |
|---|
getCountRecordsQueryStatement, getQueryOrder, getQueryStatement, setQueryOrder |
| Method Detail |
|---|
void setValues(net.sf.hibernate.Query query)
throws net.sf.hibernate.HibernateException
Query instance to bind parameters
query -
net.sf.hibernate.HibernateExceptionjava.util.List processQueriedResult(java.util.List queriedResult)
net.sf.hibernate.Query.list() method
in Hibernate2QueryTemplate.query(QueryCallback callback, int pageSize, int pageNo),
and the value(java.util.List) returned by current method will be used as the return value of
Hibernate2QueryTemplate.query(QueryCallback callback, int pageSize, int pageNo).
queriedResult -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||