Package org.opennms.web.svclayer.support
Class DefaultSurveillanceService
- java.lang.Object
-
- org.opennms.web.svclayer.support.DefaultSurveillanceService
-
- All Implemented Interfaces:
SurveillanceService
public class DefaultSurveillanceService extends Object implements SurveillanceService
DefaultSurveillanceService class.
- Since:
- 1.8.1
- Author:
- David Hustace, Mathew Brozowski, Jeff Gehlbach
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultSurveillanceService.SurveillanceView
-
Constructor Summary
Constructors Constructor Description DefaultSurveillanceService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleWebTable
createSurveillanceTable()
createSurveillanceTableSimpleWebTable
createSurveillanceTable(String surveillanceViewName, ProgressMonitor progressMonitor)
createSurveillanceTableCategoryDao
getCategoryDao()
getCategoryDaoInteger
getHeaderRefreshSeconds(String viewName)
getHeaderRefreshSecondsNodeDao
getNodeDao()
getNodeDaoSurveillanceViewConfigDao
getSurveillanceConfigDao()
getSurveillanceConfigDaoList<String>
getViewNames()
getViewNamesboolean
isViewName(String viewName)
isViewNamevoid
setCategoryDao(CategoryDao categoryDao)
setCategoryDaovoid
setNodeDao(NodeDao nodeDao)
setNodeDaovoid
setSurveillanceConfigDao(SurveillanceViewConfigDao surveillanceConfigDao)
setSurveillanceConfigDao
-
-
-
Method Detail
-
createSurveillanceTable
public SimpleWebTable createSurveillanceTable()
createSurveillanceTable
- Returns:
- a
SimpleWebTable
object.
-
createSurveillanceTable
public SimpleWebTable createSurveillanceTable(String surveillanceViewName, ProgressMonitor progressMonitor)
createSurveillanceTable
Creates a custom table object containing intersected rows and columns and categories.- Specified by:
createSurveillanceTable
in interfaceSurveillanceService
- Parameters:
surveillanceViewName
- aString
object.progressMonitor
- aProgressMonitor
object.- Returns:
- a
SimpleWebTable
object.
-
setNodeDao
public void setNodeDao(NodeDao nodeDao)
setNodeDao
- Parameters:
nodeDao
- aNodeDao
object.
-
getCategoryDao
public CategoryDao getCategoryDao()
getCategoryDao
- Returns:
- a
CategoryDao
object.
-
setCategoryDao
public void setCategoryDao(CategoryDao categoryDao)
setCategoryDao
- Parameters:
categoryDao
- aCategoryDao
object.
-
getSurveillanceConfigDao
public SurveillanceViewConfigDao getSurveillanceConfigDao()
getSurveillanceConfigDao
- Returns:
- a
SurveillanceViewConfigDao
object.
-
setSurveillanceConfigDao
public void setSurveillanceConfigDao(SurveillanceViewConfigDao surveillanceConfigDao)
setSurveillanceConfigDao
- Parameters:
surveillanceConfigDao
- aSurveillanceViewConfigDao
object.
-
getHeaderRefreshSeconds
public Integer getHeaderRefreshSeconds(String viewName)
getHeaderRefreshSeconds
- Specified by:
getHeaderRefreshSeconds
in interfaceSurveillanceService
- Parameters:
viewName
- aString
object.- Returns:
- a
String
object.
-
isViewName
public boolean isViewName(String viewName)
isViewName
- Specified by:
isViewName
in interfaceSurveillanceService
- Parameters:
viewName
- aString
object.- Returns:
- a boolean.
-
getViewNames
public List<String> getViewNames()
getViewNames
- Specified by:
getViewNames
in interfaceSurveillanceService
- Returns:
- a
List
object.
-
-