Package org.opennms.netmgt.dao.jaxb
Class DefaultOnmsReportConfigDao
- java.lang.Object
-
- org.opennms.core.xml.AbstractJaxbConfigDao<OpennmsReports,List<Report>>
-
- org.opennms.netmgt.dao.jaxb.DefaultOnmsReportConfigDao
-
- All Implemented Interfaces:
OnmsReportConfigDao
,org.springframework.beans.factory.InitializingBean
public class DefaultOnmsReportConfigDao extends AbstractJaxbConfigDao<OpennmsReports,List<Report>> implements OnmsReportConfigDao
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.core.xml.AbstractJaxbConfigDao
AbstractJaxbConfigDao.JaxbReloadCallback
-
-
Constructor Summary
Constructors Constructor Description DefaultOnmsReportConfigDao()
Constructor for DefaultOnmsReportConfigDao.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DateParm>
getDateParms(String id)
getDateParmsString
getHtmlStylesheetLocation(String id)
getHtmlStylesheetLocationList<IntParm>
getIntParms(String id)
getIntParmsString
getLogo(String id)
getLogoParameters
getParameters(String id)
getParametersString
getPdfStylesheetLocation(String id)
getPdfStylesheetLocationList<StringParm>
getStringParms(String id)
getStringParmsString
getSvgStylesheetLocation(String id)
getSvgStylesheetLocationString
getType(String id)
getTypeList<Report>
translateConfig(OpennmsReports config)
translateConfig-
Methods inherited from class org.opennms.core.xml.AbstractJaxbConfigDao
addOnReloadedCallback, afterPropertiesSet, getConfigResource, getContainer, getDescription, getReloadCheckInterval, loadConfig, setConfigResource, setReloadCheckInterval
-
-
-
-
Method Detail
-
getHtmlStylesheetLocation
public String getHtmlStylesheetLocation(String id)
getHtmlStylesheetLocation
- Specified by:
getHtmlStylesheetLocation
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- a
String
object.
-
getPdfStylesheetLocation
public String getPdfStylesheetLocation(String id)
getPdfStylesheetLocation
- Specified by:
getPdfStylesheetLocation
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- a
String
object.
-
getSvgStylesheetLocation
public String getSvgStylesheetLocation(String id)
getSvgStylesheetLocation
- Specified by:
getSvgStylesheetLocation
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- a
String
object.
-
getLogo
public String getLogo(String id)
getLogo
- Specified by:
getLogo
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- a
String
object.
-
getType
public String getType(String id)
getType
- Specified by:
getType
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- a
String
object.
-
getParameters
public Parameters getParameters(String id)
getParameters
- Specified by:
getParameters
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- a
Parameters
object.
-
getDateParms
public List<DateParm> getDateParms(String id)
getDateParms
- Specified by:
getDateParms
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- an array of
DateParm
objects.
-
getStringParms
public List<StringParm> getStringParms(String id)
getStringParms
- Specified by:
getStringParms
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- an array of
StringParm
objects.
-
getIntParms
public List<IntParm> getIntParms(String id)
getIntParms
- Specified by:
getIntParms
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- an array of
IntParm
objects.
-
translateConfig
public List<Report> translateConfig(OpennmsReports config)
translateConfig
- Specified by:
translateConfig
in classAbstractJaxbConfigDao<OpennmsReports,List<Report>>
- Parameters:
config
- a K object.- Returns:
- a V object.
-
-