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

DefaultSurveillanceService class.

Since:
1.8.1
Version:
$Id: $
Author:
Mathew Brozowski, DJ Gregor, Jeff Gehlbach, Mathew Brozowski, DJ Gregor, Jeff Gehlbach, Mathew Brozowski, DJ Gregor, Jeff Gehlbach

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

getSurveillanceData

Specified by:
getSurveillanceData in interface SurveillanceService
Returns:
a SurveillanceData object.

getAlarmsForSet

public Alarm[] getAlarmsForSet(SurveillanceSet set)

getAlarmsForSet

Specified by:
getAlarmsForSet in interface SurveillanceService
Parameters:
set - a SurveillanceSet object.
Returns:
an array of Alarm objects.

getNodeNames

public String[] getNodeNames(SurveillanceSet set)

getNodeNames

Specified by:
getNodeNames in interface SurveillanceService
Parameters:
set - a SurveillanceSet object.
Returns:
an array of String objects.

getResources

public String[][] getResources(SurveillanceSet set)

getResources

Specified by:
getResources in interface SurveillanceService
Parameters:
set - a SurveillanceSet object.
Returns:
an array of String objects.

getUsername

protected String getUsername()

getUsername

Returns:
a String object.

isDashboardRole

protected boolean isDashboardRole()

isDashboardRole

Returns:
a boolean.

getChildResources

public String[][] getChildResources(String id)

getChildResources

Specified by:
getChildResources in interface SurveillanceService
Parameters:
id - a String object.
Returns:
an array of String objects.

getPrefabGraphs

public String[][] getPrefabGraphs(String id)

getPrefabGraphs

Specified by:
getPrefabGraphs in interface SurveillanceService
Parameters:
id - a String object.
Returns:
an array of String objects.

getNotificationsForSet

public Notification[] getNotificationsForSet(SurveillanceSet set)

getNotificationsForSet

Specified by:
getNotificationsForSet in interface SurveillanceService
Parameters:
set - a SurveillanceSet object.
Returns:
an array of Notification objects.

getRtcForSet

public NodeRtc[] getRtcForSet(SurveillanceSet set)

getRtcForSet

Specified by:
getRtcForSet in interface SurveillanceService
Parameters:
set - a SurveillanceSet object.
Returns:
an array of NodeRtc objects.

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception

afterPropertiesSet

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception - if any.

setNodeDao

public void setNodeDao(NodeDao nodeDao)

setNodeDao

Parameters:
nodeDao - a NodeDao object.

setNotificationDao

public void setNotificationDao(NotificationDao notifDao)

setNotificationDao

Parameters:
notifDao - a NotificationDao object.

setResourceDao

public void setResourceDao(ResourceDao resourceDao)

setResourceDao

Parameters:
resourceDao - a ResourceDao object.

setGraphDao

public void setGraphDao(GraphDao graphDao)

setGraphDao

Parameters:
graphDao - a GraphDao object.

getWebSurveillanceService

public SurveillanceService getWebSurveillanceService()

getWebSurveillanceService

Returns:
a SurveillanceService object.

setWebSurveillanceService

public void setWebSurveillanceService(SurveillanceService webSurveillanceService)

setWebSurveillanceService

Parameters:
webSurveillanceService - a SurveillanceService object.

getSurveillanceViewConfigDao

public SurveillanceViewConfigDao getSurveillanceViewConfigDao()

getSurveillanceViewConfigDao

Returns:
a SurveillanceViewConfigDao object.

setSurveillanceViewConfigDao

public void setSurveillanceViewConfigDao(SurveillanceViewConfigDao surveillanceViewConfigDao)

setSurveillanceViewConfigDao

Parameters:
surveillanceViewConfigDao - a SurveillanceViewConfigDao object.

getCategoryDao

public CategoryDao getCategoryDao()

getCategoryDao

Returns:
a CategoryDao object.

setCategoryDao

public void setCategoryDao(CategoryDao categoryDao)

setCategoryDao

Parameters:
categoryDao - a CategoryDao object.

getAlarmDao

public AlarmDao getAlarmDao()

getAlarmDao

Returns:
a AlarmDao object.

setAlarmDao

public void setAlarmDao(AlarmDao alarmDao)

setAlarmDao

Parameters:
alarmDao - a AlarmDao object.

getRtcService

public RtcService getRtcService()

getRtcService

Returns:
a RtcService object.

setRtcService

public void setRtcService(RtcService rtcService)

setRtcService

Parameters:
rtcService - a RtcService object.

getGroupDao

public GroupDao getGroupDao()

getGroupDao

Returns:
a GroupDao object.

setGroupDao

public void setGroupDao(GroupDao groupDao)

setGroupDao

Parameters:
groupDao - a GroupDao object.

getOutageDao

public OutageDao getOutageDao()

getOutageDao

Returns:
a OutageDao object.

setOutageDao

public void setOutageDao(OutageDao outageDao)

setOutageDao

Parameters:
outageDao - a OutageDao object.


Copyright © 2011. All Rights Reserved.