Class NotificationRestService


  • @Component("notificationRestService")
    public class NotificationRestService
    extends OnmsRestService

    NotificationRestService class.

    Since:
    1.8.1
    Version:
    $Id: $
    Author:
    ranger
    • Constructor Detail

      • NotificationRestService

        public NotificationRestService()
    • Method Detail

      • getCount

        @Transactional
        public String getCount()

        getCount

        Returns:
        a String object.
      • getInfo

        public NotificationSummary getInfo​(@Context
                                           javax.ws.rs.core.SecurityContext securityContext)
      • updateNotification

        @Transactional
        public javax.ws.rs.core.Response updateNotification​(@Context
                                                            javax.ws.rs.core.SecurityContext securityContext,
                                                            Integer notifId,
                                                            Boolean ack)

        updateNotification

        Parameters:
        notifId - a String object.
        ack - a Boolean object.
      • updateNotifications

        @Transactional
        public javax.ws.rs.core.Response updateNotifications​(@Context
                                                             javax.ws.rs.core.SecurityContext securityContext,
                                                             MultivaluedMapImpl params)

        updateNotifications

        Parameters:
        params - a MultivaluedMapImpl object.