Package org.opennms.netmgt.dao.jaxb
Class DefaultOnmsReportConfigDao
- java.lang.Object
-
- org.opennms.core.xml.AbstractJaxbConfigDao<OpennmsReports,java.util.List<Report>>
-
- org.opennms.netmgt.dao.jaxb.DefaultOnmsReportConfigDao
-
- All Implemented Interfaces:
OnmsReportConfigDao
,org.springframework.beans.factory.InitializingBean
public class DefaultOnmsReportConfigDao extends AbstractJaxbConfigDao<OpennmsReports,java.util.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 java.util.List<DateParm>
getDateParms(java.lang.String id)
getDateParmsjava.lang.String
getHtmlStylesheetLocation(java.lang.String id)
getHtmlStylesheetLocationjava.util.List<IntParm>
getIntParms(java.lang.String id)
getIntParmsjava.lang.String
getLogo(java.lang.String id)
getLogoParameters
getParameters(java.lang.String id)
getParametersjava.lang.String
getPdfStylesheetLocation(java.lang.String id)
getPdfStylesheetLocationjava.util.List<StringParm>
getStringParms(java.lang.String id)
getStringParmsjava.lang.String
getSvgStylesheetLocation(java.lang.String id)
getSvgStylesheetLocationjava.lang.String
getType(java.lang.String id)
getTypejava.util.List<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 java.lang.String getHtmlStylesheetLocation(java.lang.String id)
getHtmlStylesheetLocation
- Specified by:
getHtmlStylesheetLocation
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- a
String
object.
-
getPdfStylesheetLocation
public java.lang.String getPdfStylesheetLocation(java.lang.String id)
getPdfStylesheetLocation
- Specified by:
getPdfStylesheetLocation
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- a
String
object.
-
getSvgStylesheetLocation
public java.lang.String getSvgStylesheetLocation(java.lang.String id)
getSvgStylesheetLocation
- Specified by:
getSvgStylesheetLocation
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- a
String
object.
-
getLogo
public java.lang.String getLogo(java.lang.String id)
getLogo
- Specified by:
getLogo
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- a
String
object.
-
getType
public java.lang.String getType(java.lang.String id)
getType
- Specified by:
getType
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- a
String
object.
-
getParameters
public Parameters getParameters(java.lang.String id)
getParameters
- Specified by:
getParameters
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- a
Parameters
object.
-
getDateParms
public java.util.List<DateParm> getDateParms(java.lang.String id)
getDateParms
- Specified by:
getDateParms
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- an array of
DateParm
objects.
-
getStringParms
public java.util.List<StringParm> getStringParms(java.lang.String id)
getStringParms
- Specified by:
getStringParms
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- an array of
StringParm
objects.
-
getIntParms
public java.util.List<IntParm> getIntParms(java.lang.String id)
getIntParms
- Specified by:
getIntParms
in interfaceOnmsReportConfigDao
- Parameters:
id
- aString
object.- Returns:
- an array of
IntParm
objects.
-
translateConfig
public java.util.List<Report> translateConfig(OpennmsReports config)
translateConfig
- Specified by:
translateConfig
in classAbstractJaxbConfigDao<OpennmsReports,java.util.List<Report>>
- Parameters:
config
- a K object.- Returns:
- a V object.
-
-