Package org.opennms.web.svclayer.support
Class DefaultStatisticsReportService
- java.lang.Object
-
- org.opennms.web.svclayer.support.DefaultStatisticsReportService
-
- All Implemented Interfaces:
StatisticsReportService
,org.springframework.beans.factory.InitializingBean
public class DefaultStatisticsReportService extends Object implements StatisticsReportService, org.springframework.beans.factory.InitializingBean
Web service layer implementation for statistics reports.- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- DJ Gregor
-
-
Constructor Summary
Constructors Constructor Description DefaultStatisticsReportService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
afterPropertiesSetStatisticsReportModel
getReport(StatisticsReportCommand command, org.springframework.validation.BindingResult errors)
getReportResourceDao
getResourceDao()
getResourceDaoStatisticsReportDao
getStatisticsReportDao()
getStatisticsReportDaoList<StatisticsReport>
getStatisticsReports()
getStatisticsReportsvoid
setResourceDao(ResourceDao resourceDao)
setResourceDaovoid
setStatisticsReportDao(StatisticsReportDao statisticsReportDao)
setStatisticsReportDao
-
-
-
Method Detail
-
getStatisticsReports
public List<StatisticsReport> getStatisticsReports()
getStatisticsReports
- Specified by:
getStatisticsReports
in interfaceStatisticsReportService
- Returns:
- a
List
object.
-
getReport
public StatisticsReportModel getReport(StatisticsReportCommand command, org.springframework.validation.BindingResult errors)
getReport
- Specified by:
getReport
in interfaceStatisticsReportService
- Parameters:
command
- aorg.opennms.web.command.StatisticsReportCommand
object.errors
- aBindingResult
object.- Returns:
- a
StatisticsReportModel
object.
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
- if any.
-
getStatisticsReportDao
public StatisticsReportDao getStatisticsReportDao()
getStatisticsReportDao
- Returns:
- a
StatisticsReportDao
object.
-
setStatisticsReportDao
public void setStatisticsReportDao(StatisticsReportDao statisticsReportDao)
setStatisticsReportDao
- Parameters:
statisticsReportDao
- aStatisticsReportDao
object.
-
getResourceDao
public ResourceDao getResourceDao()
getResourceDao
- Returns:
- a
ResourceDao
object.
-
setResourceDao
public void setResourceDao(ResourceDao resourceDao)
setResourceDao
- Parameters:
resourceDao
- aResourceDao
object.
-
-