@Component @PerRequest @Scope(value="prototype") public class NotificationRestService extends OnmsRestService
OnmsRestService.ComparisonOperation
DEFAULT_LIMIT
Constructor and Description |
---|
NotificationRestService() |
Modifier and Type | Method and Description |
---|---|
String |
getCount()
getCount
|
OnmsNotification |
getNotification(String notifId)
getNotification
|
OnmsNotificationCollection |
getNotifications()
getNotifications
|
void |
updateNotification(String notifId,
Boolean ack)
updateNotification
|
void |
updateNotifications(MultivaluedMapImpl params)
updateNotifications
|
applyQueryFilters, convertNameToPropertyName, getException, getException, log, 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 void updateNotification(String notifId, Boolean ack)
updateNotification
@Transactional public void updateNotifications(MultivaluedMapImpl params)
updateNotifications
params
- a MultivaluedMapImpl
object.Copyright © 2015. All Rights Reserved.