Package org.opennms.netmgt.dao.jaxb
Class DefaultDatabaseReportConfigDao
- java.lang.Object
-
- org.opennms.core.xml.AbstractJaxbConfigDao<LocalReports,java.util.List<Report>>
-
- org.opennms.netmgt.dao.jaxb.DefaultDatabaseReportConfigDao
-
- All Implemented Interfaces:
DatabaseReportConfigDao
,org.springframework.beans.factory.InitializingBean
public class DefaultDatabaseReportConfigDao extends AbstractJaxbConfigDao<LocalReports,java.util.List<Report>> implements DatabaseReportConfigDao
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.core.xml.AbstractJaxbConfigDao
AbstractJaxbConfigDao.JaxbReloadCallback
-
-
Constructor Summary
Constructors Constructor Description DefaultDatabaseReportConfigDao()
Constructor for DefaultDatabaseReportConfigDao.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDisplayName(java.lang.String name)
getDisplayNamejava.util.List<Report>
getOnlineReports()
getOnlineReportsjava.util.List<Report>
getReports()
getReportsjava.lang.String
getReportService(java.lang.String name)
getReportServicejava.util.List<Report>
translateConfig(LocalReports reports)
translateConfig-
Methods inherited from class org.opennms.core.xml.AbstractJaxbConfigDao
addOnReloadedCallback, afterPropertiesSet, getConfigResource, getContainer, getDescription, getReloadCheckInterval, loadConfig, setConfigResource, setReloadCheckInterval
-
-
-
-
Method Detail
-
translateConfig
public java.util.List<Report> translateConfig(LocalReports reports)
translateConfig
- Specified by:
translateConfig
in classAbstractJaxbConfigDao<LocalReports,java.util.List<Report>>
- Parameters:
reports
- a K object.- Returns:
- a V object.
-
getReportService
public java.lang.String getReportService(java.lang.String name)
getReportService
- Specified by:
getReportService
in interfaceDatabaseReportConfigDao
- Parameters:
name
- aString
object.- Returns:
- a
String
object.
-
getDisplayName
public java.lang.String getDisplayName(java.lang.String name)
getDisplayName
- Specified by:
getDisplayName
in interfaceDatabaseReportConfigDao
- Parameters:
name
- aString
object.- Returns:
- a
String
object.
-
getReports
public java.util.List<Report> getReports()
getReports
- Specified by:
getReports
in interfaceDatabaseReportConfigDao
- Returns:
- a
List
object.
-
getOnlineReports
public java.util.List<Report> getOnlineReports()
getOnlineReports
- Specified by:
getOnlineReports
in interfaceDatabaseReportConfigDao
- Returns:
- a
List
object.
-
-