org.in2.simpleBoard.dao.hibernate
Class BoardDaoHibernate

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.appfuse.dao.hibernate.GenericDaoHibernate<Board,java.lang.Long>
              extended by org.in2.simpleBoard.dao.hibernate.BoardDaoHibernate
All Implemented Interfaces:
org.appfuse.dao.GenericDao<Board,java.lang.Long>, BoardDao, org.springframework.beans.factory.InitializingBean

public class BoardDaoHibernate
extends org.appfuse.dao.hibernate.GenericDaoHibernate<Board,java.lang.Long>
implements BoardDao


Field Summary
 
Fields inherited from class org.appfuse.dao.hibernate.GenericDaoHibernate
log
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
BoardDaoHibernate()
           
 
Method Summary
 java.util.List<Board> findAllBoard()
           
 java.util.List<Board> findByBoard(Board board)
           
 Board findByBoardId(java.lang.Long boardId)
           
 java.util.List<Board> findByCategory(Category category)
           
 java.util.List<Board> findByCategoryId(java.lang.Long categoryId)
           
 java.util.List<Board> findByDate(java.util.Date date)
           
 java.util.List<Board> findByUser(Person user)
           
 java.util.List<Board> findByUserId(java.lang.Long userId)
           
 
Methods inherited from class org.appfuse.dao.hibernate.GenericDaoHibernate
exists, get, getAll, remove, save
 
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
 
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
 
Methods inherited from interface org.appfuse.dao.GenericDao
exists, get, getAll, remove, save
 

Constructor Detail

BoardDaoHibernate

public BoardDaoHibernate()
Method Detail

findByUser

public java.util.List<Board> findByUser(Person user)
Specified by:
findByUser in interface BoardDao

findByUserId

public java.util.List<Board> findByUserId(java.lang.Long userId)
Specified by:
findByUserId in interface BoardDao

findByCategory

public java.util.List<Board> findByCategory(Category category)
Specified by:
findByCategory in interface BoardDao

findAllBoard

public java.util.List<Board> findAllBoard()
Specified by:
findAllBoard in interface BoardDao

findByCategoryId

public java.util.List<Board> findByCategoryId(java.lang.Long categoryId)
Specified by:
findByCategoryId in interface BoardDao

findByBoard

public java.util.List<Board> findByBoard(Board board)
Specified by:
findByBoard in interface BoardDao

findByBoardId

public Board findByBoardId(java.lang.Long boardId)
Specified by:
findByBoardId in interface BoardDao

findByDate

public java.util.List<Board> findByDate(java.util.Date date)
Specified by:
findByDate in interface BoardDao


Copyright © 2007. All Rights Reserved.