org.itracker.persistence.dao
Class NotificationDAOImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.itracker.persistence.dao.BaseHibernateDAOImpl<Notification>
              extended by org.itracker.persistence.dao.NotificationDAOImpl
All Implemented Interfaces:
BaseDAO<Notification>, NotificationDAO, org.springframework.beans.factory.InitializingBean

public class NotificationDAOImpl
extends BaseHibernateDAOImpl<Notification>
implements NotificationDAO


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
NotificationDAOImpl()
           
 
Method Summary
 Notification findById(Integer id)
           
 List<Notification> findByIssueId(Integer issueId)
          Finds all Notifications for an Issue.
 
Methods inherited from class org.itracker.persistence.dao.BaseHibernateDAOImpl
delete, detach, merge, refresh, save, saveOrUpdate
 
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.itracker.persistence.dao.BaseDAO
delete, detach, merge, refresh, save, saveOrUpdate
 

Constructor Detail

NotificationDAOImpl

public NotificationDAOImpl()
Method Detail

findById

public Notification findById(Integer id)
Specified by:
findById in interface NotificationDAO

findByIssueId

public List<Notification> findByIssueId(Integer issueId)
Description copied from interface: NotificationDAO
Finds all Notifications for an Issue.

Specified by:
findByIssueId in interface NotificationDAO
Returns:
list of notification for the given issue, in unspecified order


Copyright © 2002-2012 itracker. All Rights Reserved.