org.opennms.web.rest
Class NotificationRestService

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

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


Nested Class Summary
 
Nested classes/interfaces inherited from class org.opennms.web.rest.OnmsRestService
OnmsRestService.ComparisonOperation
 
Constructor Summary
NotificationRestService()
           
 
Method Summary
 String getCount()
           
 OnmsNotification getNotification(String notifId)
           
 OnmsNotificationCollection getNotifications()
           
 void updateNotification(String notifId, Boolean ack)
           
 void updateNotifications(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

NotificationRestService

public NotificationRestService()
Method Detail

getNotification

@Transactional
public OnmsNotification getNotification(String notifId)

getCount

@Transactional
public String getCount()

getNotifications

@Transactional
public OnmsNotificationCollection getNotifications()

updateNotification

@Transactional
public void updateNotification(String notifId,
                                             Boolean ack)

updateNotifications

@Transactional
public void updateNotifications(MultivaluedMapImpl formProperties)


Copyright © 2009. All Rights Reserved.