org.opennms.web.svclayer.support
Class DefaultSurveillanceService

java.lang.Object
  extended by org.opennms.web.svclayer.support.DefaultSurveillanceService
All Implemented Interfaces:
SurveillanceService

public class DefaultSurveillanceService
extends java.lang.Object
implements SurveillanceService

Author:
David Hustace, Mathew Brozowski

Nested Class Summary
 class DefaultSurveillanceService.SurveillanceView
           
 
Constructor Summary
DefaultSurveillanceService()
           
 
Method Summary
 SimpleWebTable createSurveillanceTable()
           
 SimpleWebTable createSurveillanceTable(java.lang.String surveillanceViewName, ProgressMonitor progressMonitor)
          Creates a custom table object containing intersected rows and columns and categories.
 org.opennms.netmgt.dao.CategoryDao getCategoryDao()
           
 java.lang.String getHeaderRefreshSeconds(java.lang.String viewName)
           
 org.opennms.netmgt.dao.NodeDao getNodeDao()
           
 org.opennms.netmgt.dao.SurveillanceViewConfigDao getSurveillanceConfigDao()
           
 java.util.List<java.lang.String> getViewNames()
           
 boolean isViewName(java.lang.String viewName)
           
 void setCategoryDao(org.opennms.netmgt.dao.CategoryDao categoryDao)
           
 void setNodeDao(org.opennms.netmgt.dao.NodeDao nodeDao)
           
 void setSurveillanceConfigDao(org.opennms.netmgt.dao.SurveillanceViewConfigDao surveillanceConfigDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSurveillanceService

public DefaultSurveillanceService()
Method Detail

createSurveillanceTable

public SimpleWebTable createSurveillanceTable()

createSurveillanceTable

public SimpleWebTable createSurveillanceTable(java.lang.String surveillanceViewName,
                                              ProgressMonitor progressMonitor)
Creates a custom table object containing intersected rows and columns and categories.

Specified by:
createSurveillanceTable in interface SurveillanceService

getNodeDao

public org.opennms.netmgt.dao.NodeDao getNodeDao()

setNodeDao

public void setNodeDao(org.opennms.netmgt.dao.NodeDao nodeDao)

getCategoryDao

public org.opennms.netmgt.dao.CategoryDao getCategoryDao()

setCategoryDao

public void setCategoryDao(org.opennms.netmgt.dao.CategoryDao categoryDao)

getSurveillanceConfigDao

public org.opennms.netmgt.dao.SurveillanceViewConfigDao getSurveillanceConfigDao()

setSurveillanceConfigDao

public void setSurveillanceConfigDao(org.opennms.netmgt.dao.SurveillanceViewConfigDao surveillanceConfigDao)

getHeaderRefreshSeconds

public java.lang.String getHeaderRefreshSeconds(java.lang.String viewName)
Specified by:
getHeaderRefreshSeconds in interface SurveillanceService

isViewName

public boolean isViewName(java.lang.String viewName)
Specified by:
isViewName in interface SurveillanceService

getViewNames

public java.util.List<java.lang.String> getViewNames()
Specified by:
getViewNames in interface SurveillanceService


Copyright © 2007. All Rights Reserved.