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

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

public class BaseListSqlHelper.CountSqlCallback
extends Object
implements ConnectionCallback

The total count query callback.

Author:
Rein RaudjƤrv

Constructor Summary
BaseListSqlHelper.CountSqlCallback()
           
 
Method Summary
 Object doInConnection(Connection con)
          Executes total count query and returns the result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseListSqlHelper.CountSqlCallback

public BaseListSqlHelper.CountSqlCallback()
Method Detail

doInConnection

public Object doInConnection(Connection con)
                      throws SQLException
Executes total count query and returns the result.

Specified by:
doInConnection in interface ConnectionCallback
Parameters:
con - active CCI Connection
Returns:
the total count as Long object.
Throws:
SQLException