@Component(value="notificationRestService") public class NotificationRestService extends OnmsRestService
NotificationRestService class.
OnmsRestService.ComparisonOperationDEFAULT_LIMIT| Constructor and Description | 
|---|
NotificationRestService()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getCount()
getCount 
 | 
NotificationSummary | 
getInfo(javax.ws.rs.core.SecurityContext securityContext)  | 
OnmsNotification | 
getNotification(Integer notifId)
getNotification 
 | 
OnmsNotificationCollection | 
getNotifications(javax.ws.rs.core.UriInfo uriInfo)
getNotifications 
 | 
javax.ws.rs.core.Response | 
updateNotification(javax.ws.rs.core.SecurityContext securityContext,
                  Integer notifId,
                  Boolean ack)
updateNotification 
 | 
javax.ws.rs.core.Response | 
updateNotifications(javax.ws.rs.core.SecurityContext securityContext,
                   MultivaluedMapImpl params)
updateNotifications 
 | 
applyQueryFilters, applyQueryFilters, getBadRequestResponse, getBeanWrapperForClass, getException, getException, getNumericValue, getRedirectUri, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlock@Transactional public OnmsNotification getNotification(Integer notifId)
getNotification
notifId - a String object.OnmsNotification object.public NotificationSummary getInfo(@Context javax.ws.rs.core.SecurityContext securityContext)
@Transactional public OnmsNotificationCollection getNotifications(@Context javax.ws.rs.core.UriInfo uriInfo)
getNotifications
OnmsNotificationCollection object.@Transactional
public javax.ws.rs.core.Response updateNotification(@Context
                                                                   javax.ws.rs.core.SecurityContext securityContext,
                                                                   Integer notifId,
                                                                   Boolean ack)
updateNotification
@Transactional
public javax.ws.rs.core.Response updateNotifications(@Context
                                                                    javax.ws.rs.core.SecurityContext securityContext,
                                                                    MultivaluedMapImpl params)
updateNotifications
params - a MultivaluedMapImpl object.Copyright © 2020. All rights reserved.