info.joseluismartin.logic
Class ReportManager

java.lang.Object
  extended by info.joseluismartin.logic.PersistentManager<Report,Long>
      extended by info.joseluismartin.logic.ReportManager
All Implemented Interfaces:
PageableDataSource<Report>, PersistentService<Report,Long>, ReportService

public class ReportManager
extends PersistentManager<Report,Long>
implements ReportService

Report Serivice Implementation

Author:
Jose Luis Martin - (jlm@joseluismartin.info)

Field Summary
protected  ReportDao dao
           
 
Fields inherited from class info.joseluismartin.logic.PersistentManager
DEFAULT_DEPTH
 
Constructor Summary
ReportManager()
           
 
Method Summary
 ReportDao getReporDao()
           
 List<Report> getReportsByType(ReportType type)
          Get a list of reports matching the type
 void setReportDao(ReportDao dao)
           
 
Methods inherited from class info.joseluismartin.logic.PersistentManager
delete, delete, deleteById, deleteById, get, get, getAll, getAll, getDao, getKeys, getPage, initialize, initialize, save, save, setDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.joseluismartin.service.PersistentService
delete, delete, deleteById, deleteById, get, get, getAll, getAll, initialize, initialize, save, save
 
Methods inherited from interface info.joseluismartin.dao.PageableDataSource
getKeys, getPage
 

Field Detail

dao

protected ReportDao dao
Constructor Detail

ReportManager

public ReportManager()
Method Detail

getReportsByType

public List<Report> getReportsByType(ReportType type)
Description copied from interface: ReportService
Get a list of reports matching the type

Specified by:
getReportsByType in interface ReportService
Parameters:
type - the type of the reports
Returns:
a list of reports

getReporDao

public ReportDao getReporDao()

setReportDao

public void setReportDao(ReportDao dao)


Copyright © 2012 JDAL. All Rights Reserved.