org.opennms.netmgt.dao.castor
Class DefaultSurveillanceViewConfigDao

java.lang.Object
  extended by org.opennms.netmgt.dao.castor.AbstractCastorConfigDao<SurveillanceViewConfiguration,SurveillanceViewConfig>
      extended by org.opennms.netmgt.dao.castor.DefaultSurveillanceViewConfigDao
All Implemented Interfaces:
SurveillanceViewConfigDao, org.springframework.beans.factory.InitializingBean

public class DefaultSurveillanceViewConfigDao
extends AbstractCastorConfigDao<SurveillanceViewConfiguration,SurveillanceViewConfig>
implements SurveillanceViewConfigDao

DefaultSurveillanceViewConfigDao class.

Version:
$Id: $
Author:
ranger

Nested Class Summary
 
Nested classes/interfaces inherited from class org.opennms.netmgt.dao.castor.AbstractCastorConfigDao
AbstractCastorConfigDao.CastorReloadCallback
 
Constructor Summary
DefaultSurveillanceViewConfigDao()
          Constructor for DefaultSurveillanceViewConfigDao.
 
Method Summary
 View getDefaultView()
          getDefaultView
 View getView(String viewName)
          getView
 Map<String,View> getViewMap()
          Use this method to get a Map of view names to marshalled classes based on the generated View class from the XSD.
 Views getViews()
          Use this method to get the generated Views class generated by the XSD.
 SurveillanceViewConfig translateConfig(SurveillanceViewConfiguration 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

DefaultSurveillanceViewConfigDao

public DefaultSurveillanceViewConfigDao()

Constructor for DefaultSurveillanceViewConfigDao.

Method Detail

translateConfig

public SurveillanceViewConfig translateConfig(SurveillanceViewConfiguration castorConfig)

translateConfig

Specified by:
translateConfig in class AbstractCastorConfigDao<SurveillanceViewConfiguration,SurveillanceViewConfig>
Parameters:
castorConfig - a K object.
Returns:
a V object.

getView

public View getView(String viewName)

getView

Specified by:
getView in interface SurveillanceViewConfigDao
Parameters:
viewName - a String object.
Returns:
a View object.

getViews

public Views getViews()
Use this method to get the generated Views class generated by the XSD.

Specified by:
getViews in interface SurveillanceViewConfigDao
Returns:
a Views object.

getViewMap

public Map<String,View> getViewMap()
Use this method to get a Map of view names to marshalled classes based on the generated View class from the XSD.

Returns:
Map of View classes.

getDefaultView

public View getDefaultView()

getDefaultView

Specified by:
getDefaultView in interface SurveillanceViewConfigDao
Returns:
a View object.


Copyright © 2011. All Rights Reserved.