org.opennms.dashboard.server
Class DefaultSurveillanceService

java.lang.Object
  extended by org.opennms.dashboard.server.DefaultSurveillanceService
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, SurveillanceService, org.springframework.beans.factory.InitializingBean

@Transactional(readOnly=true)
public class DefaultSurveillanceService
extends Object
implements SurveillanceService, org.springframework.beans.factory.InitializingBean

Author:
Mathew Brozowski, DJ Gregor, Jeff Gehlbach

Constructor Summary
DefaultSurveillanceService()
           
 
Method Summary
 void afterPropertiesSet()
           
 AlarmDao getAlarmDao()
           
 Alarm[] getAlarmsForSet(SurveillanceSet set)
           
 CategoryDao getCategoryDao()
           
 String[][] getChildResources(String id)
           
 GroupDao getGroupDao()
           
 String[] getNodeNames(SurveillanceSet set)
           
 Notification[] getNotificationsForSet(SurveillanceSet set)
           
 OutageDao getOutageDao()
           
 String[][] getPrefabGraphs(String id)
           
 String[][] getResources(SurveillanceSet set)
           
 NodeRtc[] getRtcForSet(SurveillanceSet set)
           
 RtcService getRtcService()
           
 SurveillanceData getSurveillanceData()
           
 SurveillanceViewConfigDao getSurveillanceViewConfigDao()
           
protected  String getUsername()
           
 SurveillanceService getWebSurveillanceService()
           
protected  boolean isDashboardRole()
           
 void setAlarmDao(AlarmDao alarmDao)
           
 void setCategoryDao(CategoryDao categoryDao)
           
 void setGraphDao(GraphDao graphDao)
           
 void setGroupDao(GroupDao groupDao)
           
 void setNodeDao(NodeDao nodeDao)
           
 void setNotificationDao(NotificationDao notifDao)
           
 void setOutageDao(OutageDao outageDao)
           
 void setResourceDao(ResourceDao resourceDao)
           
 void setRtcService(RtcService rtcService)
           
 void setSurveillanceViewConfigDao(SurveillanceViewConfigDao surveillanceViewConfigDao)
           
 void setWebSurveillanceService(SurveillanceService webSurveillanceService)
           
 
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

getSurveillanceData

public SurveillanceData getSurveillanceData()
Specified by:
getSurveillanceData in interface SurveillanceService

getAlarmsForSet

public Alarm[] getAlarmsForSet(SurveillanceSet set)
Specified by:
getAlarmsForSet in interface SurveillanceService

getNodeNames

public String[] getNodeNames(SurveillanceSet set)
Specified by:
getNodeNames in interface SurveillanceService

getResources

public String[][] getResources(SurveillanceSet set)
Specified by:
getResources in interface SurveillanceService

getUsername

protected String getUsername()

isDashboardRole

protected boolean isDashboardRole()

getChildResources

public String[][] getChildResources(String id)
Specified by:
getChildResources in interface SurveillanceService

getPrefabGraphs

public String[][] getPrefabGraphs(String id)
Specified by:
getPrefabGraphs in interface SurveillanceService

getNotificationsForSet

public Notification[] getNotificationsForSet(SurveillanceSet set)
Specified by:
getNotificationsForSet in interface SurveillanceService

getRtcForSet

public NodeRtc[] getRtcForSet(SurveillanceSet set)
Specified by:
getRtcForSet in interface SurveillanceService

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

setNodeDao

public void setNodeDao(NodeDao nodeDao)

setNotificationDao

public void setNotificationDao(NotificationDao notifDao)

setResourceDao

public void setResourceDao(ResourceDao resourceDao)

setGraphDao

public void setGraphDao(GraphDao graphDao)

getWebSurveillanceService

public SurveillanceService getWebSurveillanceService()

setWebSurveillanceService

public void setWebSurveillanceService(SurveillanceService webSurveillanceService)

getSurveillanceViewConfigDao

public SurveillanceViewConfigDao getSurveillanceViewConfigDao()

setSurveillanceViewConfigDao

public void setSurveillanceViewConfigDao(SurveillanceViewConfigDao surveillanceViewConfigDao)

getCategoryDao

public CategoryDao getCategoryDao()

setCategoryDao

public void setCategoryDao(CategoryDao categoryDao)

getAlarmDao

public AlarmDao getAlarmDao()

setAlarmDao

public void setAlarmDao(AlarmDao alarmDao)

getRtcService

public RtcService getRtcService()

setRtcService

public void setRtcService(RtcService rtcService)

getGroupDao

public GroupDao getGroupDao()

setGroupDao

public void setGroupDao(GroupDao groupDao)

getOutageDao

public OutageDao getOutageDao()

setOutageDao

public void setOutageDao(OutageDao outageDao)


Copyright © 2009. All Rights Reserved.