net.mlw.vlh.adapter.jdbc.spring
Class SpringDaoValueListAdapter
java.lang.Object
net.mlw.vlh.adapter.AbstractValueListAdapter
net.mlw.vlh.adapter.jdbc.AbstractJdbcAdapter
net.mlw.vlh.adapter.jdbc.spring.SpringDaoValueListAdapter
- All Implemented Interfaces:
- ValueListAdapter
- public class SpringDaoValueListAdapter
- extends AbstractJdbcAdapter
net.mlw.vlh.adapter.jdbc.spring.SpringDaoValueListAdapter
- Version:
- $Revision: 1.2 $ $Date: 2005/10/17 11:42:36 $
- Author:
- Matthew L. Wilson
Methods inherited from class net.mlw.vlh.adapter.jdbc.AbstractJdbcAdapter |
getConnectionCreator, getDataSource, getSql, getSqlPagingSupport, getStatementBuilder, getValidator, getValueList, isShowSql, setConnectionCreator, setDataSource, setShowSql, setSql, setSqlPagingSupport, setStatementBuilder, setValidator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringDaoValueListAdapter
public SpringDaoValueListAdapter()
processResultSet
public List processResultSet(String name,
ResultSet result,
int numberPerPage,
ValueListInfo info)
throws SQLException
- Description copied from class:
AbstractJdbcAdapter
- This method takes the result and puts the VOs in the List.
- Specified by:
processResultSet
in class AbstractJdbcAdapter
- Parameters:
result
- The ResultSet to interate through.info
- is ussually constant during this process, you can use it for
passing additional parameters from controler. (Like in
DefaultWrapperAdapter)
- Returns:
- The List of VOs.
- Throws:
SQLException
- See Also:
AbstractJdbcAdapter.processResultSet(java.lang.String, java.sql.ResultSet, int, net.mlw.vlh.ValueListInfo)
getRowMapper
public org.springframework.jdbc.core.RowMapper getRowMapper()
- Returns:
- Returns the rowMapper.
setRowMapper
public void setRowMapper(org.springframework.jdbc.core.RowMapper rowMapper)
- Parameters:
rowMapper
- The rowMapper to set.
Copyright © 2003-2006 mlavilson. All Rights Reserved.