org.opennms.netmgt.dao.castor
Class DefaultOnmsReportConfigDao

java.lang.Object
  extended by org.opennms.netmgt.dao.castor.AbstractCastorConfigDao<OpennmsReports,List<Report>>
      extended by org.opennms.netmgt.dao.castor.DefaultOnmsReportConfigDao
All Implemented Interfaces:
OnmsReportConfigDao, org.springframework.beans.factory.InitializingBean

public class DefaultOnmsReportConfigDao
extends AbstractCastorConfigDao<OpennmsReports,List<Report>>
implements OnmsReportConfigDao

DefaultOnmsReportConfigDao class.

Version:
$Id: $
Author:
ranger

Nested Class Summary
 
Nested classes/interfaces inherited from class org.opennms.netmgt.dao.castor.AbstractCastorConfigDao
AbstractCastorConfigDao.CastorReloadCallback
 
Constructor Summary
DefaultOnmsReportConfigDao()
          Constructor for DefaultOnmsReportConfigDao.
 
Method Summary
 DateParm[] getDateParms(String id)
          getDateParms
 String getHtmlStylesheetLocation(String id)
          getHtmlStylesheetLocation
 IntParm[] getIntParms(String id)
          getIntParms
 String getLogo(String id)
          getLogo
 Parameters getParameters(String id)
          getParameters
 String getPdfStylesheetLocation(String id)
          getPdfStylesheetLocation
 StringParm[] getStringParms(String id)
          getStringParms
 String getSvgStylesheetLocation(String id)
          getSvgStylesheetLocation
 String getType(String id)
          getType
 List<Report> translateConfig(OpennmsReports castorConfig)
          translateConfig
 
Methods inherited from class org.opennms.netmgt.dao.castor.AbstractCastorConfigDao
afterPropertiesSet, createLoadedLogMessage, getConfigResource, getContainer, getDescription, getReloadCheckInterval, loadConfig, log, setConfigResource, setReloadCheckInterval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultOnmsReportConfigDao

public DefaultOnmsReportConfigDao()

Constructor for DefaultOnmsReportConfigDao.

Method Detail

getHtmlStylesheetLocation

public String getHtmlStylesheetLocation(String id)

getHtmlStylesheetLocation

Specified by:
getHtmlStylesheetLocation in interface OnmsReportConfigDao
Parameters:
id - a String object.
Returns:
a String object.

getPdfStylesheetLocation

public String getPdfStylesheetLocation(String id)

getPdfStylesheetLocation

Specified by:
getPdfStylesheetLocation in interface OnmsReportConfigDao
Parameters:
id - a String object.
Returns:
a String object.

getSvgStylesheetLocation

public String getSvgStylesheetLocation(String id)

getSvgStylesheetLocation

Specified by:
getSvgStylesheetLocation in interface OnmsReportConfigDao
Parameters:
id - a String object.
Returns:
a String object.

getLogo

public String getLogo(String id)

getLogo

Specified by:
getLogo in interface OnmsReportConfigDao
Parameters:
id - a String object.
Returns:
a String object.

getType

public String getType(String id)

getType

Specified by:
getType in interface OnmsReportConfigDao
Parameters:
id - a String object.
Returns:
a String object.

getParameters

public Parameters getParameters(String id)

getParameters

Specified by:
getParameters in interface OnmsReportConfigDao
Parameters:
id - a String object.
Returns:
a Parameters object.

getDateParms

public DateParm[] getDateParms(String id)

getDateParms

Specified by:
getDateParms in interface OnmsReportConfigDao
Parameters:
id - a String object.
Returns:
an array of DateParm objects.

getStringParms

public StringParm[] getStringParms(String id)

getStringParms

Specified by:
getStringParms in interface OnmsReportConfigDao
Parameters:
id - a String object.
Returns:
an array of StringParm objects.

getIntParms

public IntParm[] getIntParms(String id)

getIntParms

Specified by:
getIntParms in interface OnmsReportConfigDao
Parameters:
id - a String object.
Returns:
an array of IntParm objects.

translateConfig

public List<Report> translateConfig(OpennmsReports castorConfig)

translateConfig

Specified by:
translateConfig in class AbstractCastorConfigDao<OpennmsReports,List<Report>>
Parameters:
castorConfig - a K object.
Returns:
a V object.


Copyright © 2011. All Rights Reserved.