org.araneaframework.backend.list.helper
Class BaseListSqlHelper.ItemRangeSqlCallback

java.lang.Object
  extended byorg.araneaframework.backend.list.helper.BaseListSqlHelper.ItemRangeSqlCallback
All Implemented Interfaces:
ConnectionCallback
Enclosing class:
BaseListSqlHelper

public class BaseListSqlHelper.ItemRangeSqlCallback
extends Object
implements ConnectionCallback

The itme range query callback that returns List of items.

Author:
Rein RaudjƤrv

Field Summary
protected  ResultReader reader
           
 
Constructor Summary
BaseListSqlHelper.ItemRangeSqlCallback(ResultReader reader)
           
 
Method Summary
 Object doInConnection(Connection con)
          Executes the item range query and returns the reuslts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reader

protected ResultReader reader
Constructor Detail

BaseListSqlHelper.ItemRangeSqlCallback

public BaseListSqlHelper.ItemRangeSqlCallback(ResultReader reader)
Parameters:
reader - ResultSet reader that processes the data and returns items as List.
Method Detail

doInConnection

public Object doInConnection(Connection con)
                      throws SQLException
Executes the item range query and returns the reuslts.

Specified by:
doInConnection in interface ConnectionCallback
Parameters:
con - active CCI Connection
Returns:
list items as List object.
Throws:
SQLException