net.mlw.vlh.adapter.jdbc.dynabean
Class DefaultDynaBeanAdapter

java.lang.Object
  extended bynet.mlw.vlh.adapter.AbstractValueListAdapter
      extended bynet.mlw.vlh.adapter.jdbc.AbstractJdbcAdapter
          extended bynet.mlw.vlh.adapter.jdbc.AbstractDynaJdbcAdapter
              extended bynet.mlw.vlh.adapter.jdbc.dynabean.DefaultDynaBeanAdapter
All Implemented Interfaces:
ValueListAdapter

public class DefaultDynaBeanAdapter
extends AbstractDynaJdbcAdapter

This ValueListAdapter returns a ValueList of DynaBean(s).

Version:
$Revision: 1.6 $ $Date: 2005/08/19 16:06:29 $
Author:
Matthew L. Wilson, Andrej Zachar
See Also:
AbstractDynaJdbcAdapter, AbstractJdbcAdapter

Field Summary
 
Fields inherited from interface net.mlw.vlh.ValueListAdapter
DO_FILTER, DO_FOCUS, DO_NOTHING, DO_PAGE, DO_SORT
 
Constructor Summary
DefaultDynaBeanAdapter()
           
 
Method Summary
 List processResultSet(String name, ResultSet result, int numberPerPage, ValueListInfo info)
          This method takes the result and puts the VOs in the List.
 
Methods inherited from class net.mlw.vlh.adapter.jdbc.AbstractDynaJdbcAdapter
isLowerCase, isUseName, setLowerCase, setUseName
 
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 net.mlw.vlh.adapter.AbstractValueListAdapter
getAdapterType, getDefaultNumberPerPage, getDefaultSortColumn, getDefaultSortDirectionInteger, setAdapterType, setDefaultNumberPerPage, setDefaultSortColumn, setDefaultSortDirection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDynaBeanAdapter

public DefaultDynaBeanAdapter()
Method Detail

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


Copyright © 2003-2006 mlavilson. All Rights Reserved.