Class AcknowledgmentRestService


  • @Component("acknowledgmentRestService")
    public class AcknowledgmentRestService
    extends OnmsRestService
    ReST service for Acknowledgments of alarms/notifications.
    Since:
    1.8.1
    Version:
    $Id: $
    Author:
    David Hustace
    • Constructor Detail

      • AcknowledgmentRestService

        public AcknowledgmentRestService()
    • Method Detail

      • getAcknowledgment

        @Transactional
        public OnmsAcknowledgment getAcknowledgment​(java.lang.Integer acknowledgmentId)

        getAcknowledgment

        Parameters:
        acknowledgmentId - a Integer object.
        Returns:
        a OnmsAcknowledgment object.
      • getCount

        @Transactional
        public java.lang.String getCount()

        getCount

        Returns:
        a String object.
      • acknowledge

        @Transactional
        public javax.ws.rs.core.Response acknowledge​(@Context
                                                     javax.ws.rs.core.SecurityContext securityContext,
                                                     javax.ws.rs.core.MultivaluedMap<java.lang.String,​java.lang.String> formParams)

        acknowledgeAlarm

        Parameters:
        alarmId - a String object.
        action - a String object.
        Returns:
        a Response object.