net.mlw.vlh.adapter.ibatis.sqlmaps
Class Ibatis20Adapter
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.ibatis.support.SqlMapClientDaoSupport
net.mlw.vlh.adapter.ibatis.sqlmaps.Ibatis20Adapter
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, ValueListAdapter
- public class Ibatis20Adapter
- extends org.springframework.orm.ibatis.support.SqlMapClientDaoSupport
- implements ValueListAdapter
This adapter wraps the functionality of iBATIS SQL Maps.
"iBATIS SQL Maps provides a very simple and flexible means
of moving data between your Java objects and a relational
database. Use the full power of real SQL without a single
line of JDBC code!" -http://www.ibatis.com/common/sqlmaps.html
- Version:
- $Revision: 1.4 $ $Date: 2004/12/14 20:15:25 $
- Author:
- Matthew L. Wilson
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Methods inherited from class org.springframework.orm.ibatis.support.SqlMapClientDaoSupport |
checkDaoConfig, getDataSource, getSqlMapClient, getSqlMapClientTemplate, setDataSource, setSqlMapClient, setSqlMapClientTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ibatis20Adapter
public Ibatis20Adapter()
getAdapterType
public int getAdapterType()
- Description copied from interface:
ValueListAdapter
- This method tells the Service what still needs to be done on the
Collection before returning the data.
- Specified by:
getAdapterType
in interface ValueListAdapter
- Returns:
- A bitwise or combination of DO_NOTHING,
DO_SORT, DO_PAGE and DO_FILTER. For example:
public int getAdapterType()
{
return DO_SORT | DO_PAGE;
}
getValueList
public ValueList getValueList(String name,
ValueListInfo info)
- Description copied from interface:
ValueListAdapter
- Gets a ValueList
- Specified by:
getValueList
in interface ValueListAdapter
- Parameters:
info
- The ValueList
informationname
- The name of the ValueList
- Returns:
- The
ValueList
- See Also:
ValueListAdapter.getValueList(java.lang.String, net.mlw.vlh.ValueListInfo)
Copyright © 2003-2006 mlavilson. All Rights Reserved.