org.itracker.persistence.dao
Class ReportDAOImpl

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<Report>
              extended by org.itracker.persistence.dao.ReportDAOImpl
All Implemented Interfaces:
BaseDAO<Report>, ReportDAO, org.springframework.beans.factory.InitializingBean

public class ReportDAOImpl
extends BaseHibernateDAOImpl<Report>
implements ReportDAO


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
ReportDAOImpl()
           
 
Method Summary
 List<Report> findAll()
          Finds all existing reports.
 Report findByPrimaryKey(Integer id)
          Finds a report by id.
 
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

ReportDAOImpl

public ReportDAOImpl()
Method Detail

findByPrimaryKey

public Report findByPrimaryKey(Integer id)
Description copied from interface: ReportDAO
Finds a report by id.

Specified by:
findByPrimaryKey in interface ReportDAO
Parameters:
id - system ID
Returns:
report instance or null if none exists with the given id

findAll

public List<Report> findAll()
Description copied from interface: ReportDAO
Finds all existing reports.

Specified by:
findAll in interface ReportDAO
Returns:
list of reports in unspecified order


Copyright © 2002-2012 itracker. All Rights Reserved.