net.webapp2.forum.dao
Class SqlmapPostDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.ibatis.support.SqlMapClientDaoSupport
          extended by net.webapp2.forum.dao.SqlmapPostDao
All Implemented Interfaces:
PostDao, InitializingBean

public class SqlmapPostDao
extends SqlMapClientDaoSupport
implements PostDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
SqlmapPostDao()
           
 
Method Summary
 Post load(Integer id)
           
 Post loadReply(int id)
           
 void save(Post post)
           
 
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
 

Constructor Detail

SqlmapPostDao

public SqlmapPostDao()
Method Detail

save

public void save(Post post)
Specified by:
save in interface PostDao

load

public Post load(Integer id)
Specified by:
load in interface PostDao

loadReply

public Post loadReply(int id)
Specified by:
loadReply in interface PostDao


Copyright © 2006 WebApp2 Network All Rights Reserved.