org.in2.simpleBoard.dao.hibernate
Class BoardDaoHibernate
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.appfuse.dao.hibernate.GenericDaoHibernate<Board,java.lang.Long>
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
Fields inherited from class org.appfuse.dao.hibernate.GenericDaoHibernate |
log |
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
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 |
BoardDaoHibernate
public BoardDaoHibernate()
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.