org.araneaframework.backend.list.helper
Class BaseListSqlHelper.CountSqlCallback
java.lang.Object
org.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseListSqlHelper.CountSqlCallback
public BaseListSqlHelper.CountSqlCallback()
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