|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.web.rest.OnmsRestService
org.opennms.web.rest.NotificationRestService
@Component @PerRequest @Scope(value="prototype") public class NotificationRestService
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.opennms.web.rest.OnmsRestService |
|---|
OnmsRestService.ComparisonOperation |
| Field Summary |
|---|
| Fields inherited from class org.opennms.web.rest.OnmsRestService |
|---|
DEFAULT_LIMIT |
| Constructor Summary | |
|---|---|
NotificationRestService()
|
|
| Method Summary | |
|---|---|
String |
getCount()
getCount |
OnmsNotification |
getNotification(String notifId)
getNotification |
OnmsNotificationCollection |
getNotifications()
getNotifications |
void |
updateNotification(String notifId,
Boolean ack)
updateNotification |
void |
updateNotifications(MultivaluedMapImpl formProperties)
updateNotifications |
| Methods inherited from class org.opennms.web.rest.OnmsRestService |
|---|
addFiltersToCriteria, addOrdering, addOrdering, convertNameToPropertyName, getDistinctIdCriteria, log, setLimitOffset, setLimitOffset, setLimitOffset, setProperties, throwException |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotificationRestService()
| Method Detail |
|---|
@Transactional public OnmsNotification getNotification(String notifId)
getNotification
notifId - a String object.
OnmsNotification object.@Transactional public String getCount()
getCount
String object.@Transactional public OnmsNotificationCollection getNotifications()
getNotifications
OnmsNotificationCollection object.
@Transactional
public void updateNotification(String notifId,
Boolean ack)
updateNotification
notifId - a String object.ack - a Boolean object.@Transactional public void updateNotifications(MultivaluedMapImpl formProperties)
updateNotifications
formProperties - a MultivaluedMapImpl object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||