info.joseluismartin.dao.hibernate
Class HibernateReportDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by info.joseluismartin.dao.hibernate.HibernateDao<Report,Long>
              extended by info.joseluismartin.dao.hibernate.HibernateReportDao
All Implemented Interfaces:
Dao<Report,Long>, PageableDataSource<Report>, ReportDao, org.springframework.beans.factory.InitializingBean

public class HibernateReportDao
extends HibernateDao<Report,Long>
implements ReportDao

Author:
Jose A. Corbacho

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
HibernateReportDao()
           
 
Method Summary
 List<Report> getReportsByType(ReportType type)
          Get all reports of a type.
 
Methods inherited from class info.joseluismartin.dao.hibernate.HibernateDao
applyOrder, count, createOrder, delete, deleteById, enableFilter, exists, findByNamedQuery, get, get, getAll, getAll, getAllDistinct, getCriteriaBuilderMap, getEntityClass, getKeys, getPage, initialize, initialize, isCachePageQueries, save, setCachePageQueries, setCriteriaBuilderMap, setEntityClass
 
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 info.joseluismartin.dao.Dao
delete, deleteById, exists, findByNamedQuery, get, get, getAll, getAll, initialize, initialize, save
 
Methods inherited from interface info.joseluismartin.dao.PageableDataSource
getKeys, getPage
 

Constructor Detail

HibernateReportDao

public HibernateReportDao()
Method Detail

getReportsByType

public List<Report> getReportsByType(ReportType type)
Description copied from interface: ReportDao
Get all reports of a type.

Specified by:
getReportsByType in interface ReportDao
Parameters:
type - the report type
Returns:
List with all reports of that type


Copyright © 2012 JDAL. All Rights Reserved.