org.opennms.netmgt.dao.castor
Class DefaultSurveillanceViewConfigDao
java.lang.Object
org.opennms.netmgt.dao.castor.AbstractCastorConfigDao<org.opennms.netmgt.config.surveillanceViews.SurveillanceViewConfiguration,SurveillanceViewConfig>
org.opennms.netmgt.dao.castor.DefaultSurveillanceViewConfigDao
- All Implemented Interfaces:
- SurveillanceViewConfigDao, org.springframework.beans.factory.InitializingBean
public class DefaultSurveillanceViewConfigDao
- extends AbstractCastorConfigDao<org.opennms.netmgt.config.surveillanceViews.SurveillanceViewConfiguration,SurveillanceViewConfig>
- implements SurveillanceViewConfigDao
|
Method Summary |
org.opennms.netmgt.config.surveillanceViews.View |
getDefaultView()
|
org.opennms.netmgt.config.surveillanceViews.View |
getView(java.lang.String viewName)
|
java.util.Map<java.lang.String,org.opennms.netmgt.config.surveillanceViews.View> |
getViewMap()
Use this method to get a Map of view names to marshalled classes based on the generated View class
from the XSD. |
org.opennms.netmgt.config.surveillanceViews.Views |
getViews()
Use this method to get the generated Views class generated by the XSD. |
SurveillanceViewConfig |
translateConfig(org.opennms.netmgt.config.surveillanceViews.SurveillanceViewConfiguration castorConfig)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSurveillanceViewConfigDao
public DefaultSurveillanceViewConfigDao()
translateConfig
public SurveillanceViewConfig translateConfig(org.opennms.netmgt.config.surveillanceViews.SurveillanceViewConfiguration castorConfig)
- Specified by:
translateConfig in class AbstractCastorConfigDao<org.opennms.netmgt.config.surveillanceViews.SurveillanceViewConfiguration,SurveillanceViewConfig>
getView
public org.opennms.netmgt.config.surveillanceViews.View getView(java.lang.String viewName)
- Specified by:
getView in interface SurveillanceViewConfigDao
getViews
public org.opennms.netmgt.config.surveillanceViews.Views getViews()
- Use this method to get the generated Views class generated by the XSD.
- Specified by:
getViews in interface SurveillanceViewConfigDao
getViewMap
public java.util.Map<java.lang.String,org.opennms.netmgt.config.surveillanceViews.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 org.opennms.netmgt.config.surveillanceViews.View getDefaultView()
- Specified by:
getDefaultView in interface SurveillanceViewConfigDao
Copyright © 2007. All Rights Reserved.