Class DefaultReportService
- java.lang.Object
-
- org.opennms.netmgt.reporting.service.DefaultReportService
-
- All Implemented Interfaces:
ReportService
,org.springframework.beans.factory.InitializingBean
public class DefaultReportService extends java.lang.Object implements ReportService, org.springframework.beans.factory.InitializingBean
DefaultReportService class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description DefaultReportService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
ReportCatalogDao
getReportCatalogDao()
getReportCatalogDaojava.lang.String
runReport(Report report, java.lang.String reportDirectory)
runReportvoid
setReportCatalogDao(ReportCatalogDao reportCatalogDao)
setReportCatalogDao
-
-
-
Method Detail
-
runReport
public java.lang.String runReport(Report report, java.lang.String reportDirectory) throws ReportRunException
runReport
- Specified by:
runReport
in interfaceReportService
- Parameters:
report
- aReport
object.reportDirectory
- aString
object.- Returns:
- a
String
object. - Throws:
ReportRunException
-
getReportCatalogDao
public ReportCatalogDao getReportCatalogDao()
getReportCatalogDao
- Returns:
- a
ReportCatalogDao
object.
-
setReportCatalogDao
public void setReportCatalogDao(ReportCatalogDao reportCatalogDao)
setReportCatalogDao
- Parameters:
reportCatalogDao
- aReportCatalogDao
object.
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
-
-