@Component @PerRequest @Scope(value="prototype") public class NotificationRestService extends OnmsRestService
OnmsRestService.ComparisonOperationDEFAULT_LIMIT| Constructor and Description |
|---|
NotificationRestService() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCount()
getCount
|
OnmsNotification |
getNotification(String notifId)
getNotification
|
OnmsNotificationCollection |
getNotifications()
getNotifications
|
javax.ws.rs.core.Response |
updateNotification(String notifId,
Boolean ack)
updateNotification
|
javax.ws.rs.core.Response |
updateNotifications(MultivaluedMapImpl params)
updateNotifications
|
applyQueryFilters, applyQueryFilters, getBeanWrapperForClass, getException, getException, getRedirectUri, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlock@Transactional public OnmsNotification getNotification(String notifId)
getNotification
notifId - a String object.OnmsNotification object.@Transactional public OnmsNotificationCollection getNotifications()
getNotifications
OnmsNotificationCollection object.@Transactional public javax.ws.rs.core.Response updateNotification(String notifId, Boolean ack)
updateNotification
@Transactional public javax.ws.rs.core.Response updateNotifications(MultivaluedMapImpl params)
updateNotifications
params - a MultivaluedMapImpl object.Copyright © 2015. All rights reserved.