org.opennms.web.rest
Class AlarmRestService

java.lang.Object
  extended by org.opennms.web.rest.OnmsRestService
      extended by org.opennms.web.rest.AlarmRestService

@Component
@PerRequest
@Scope(value="prototype")
public class AlarmRestService
extends OnmsRestService


Nested Class Summary
 
Nested classes/interfaces inherited from class org.opennms.web.rest.OnmsRestService
OnmsRestService.ComparisonOperation
 
Constructor Summary
AlarmRestService()
           
 
Method Summary
 String getCount()
           
 OnmsAlarm getNotification(String alarmId)
           
 OnmsAlarmCollection getNotifications()
           
 void updateAlarm(String alarmId, Boolean ack)
           
 void updateAlarms(MultivaluedMapImpl formProperties)
           
 
Methods inherited from class org.opennms.web.rest.OnmsRestService
addFiltersToCriteria, addOrdering, convertNameToPropertyName, log, setLimitOffset, setLimitOffset, setProperties, throwException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlarmRestService

public AlarmRestService()
Method Detail

getNotification

@Transactional
public OnmsAlarm getNotification(String alarmId)

getCount

@Transactional
public String getCount()

getNotifications

@Transactional
public OnmsAlarmCollection getNotifications()

updateAlarm

@Transactional
public void updateAlarm(String alarmId,
                                      Boolean ack)

updateAlarms

@Transactional
public void updateAlarms(MultivaluedMapImpl formProperties)


Copyright © 2009. All Rights Reserved.