Class MonitoringLocationsRestService


  • @Component("monitoringLocationsRestService")
    public class MonitoringLocationsRestService
    extends OnmsRestService
    • Constructor Detail

      • MonitoringLocationsRestService

        public MonitoringLocationsRestService()
    • Method Detail

      • getDefaultMonitoringLocation

        public OnmsMonitoringLocation getDefaultMonitoringLocation()
                                                            throws java.text.ParseException
        Throws:
        java.text.ParseException
      • getTotalCount

        public java.lang.String getTotalCount()
                                       throws java.text.ParseException
        Throws:
        java.text.ParseException
      • getMonitoringLocation

        public OnmsMonitoringLocation getMonitoringLocation​(java.lang.String monitoringLocation)
      • addMonitoringLocation

        @Transactional
        public javax.ws.rs.core.Response addMonitoringLocation​(@Context
                                                               javax.ws.rs.core.UriInfo uriInfo,
                                                               OnmsMonitoringLocation monitoringLocation)
      • updateMonitoringLocation

        @Transactional
        public javax.ws.rs.core.Response updateMonitoringLocation​(java.lang.String monitoringLocation,
                                                                  MultivaluedMapImpl params)
      • deleteMonitoringLocation

        @Transactional
        public javax.ws.rs.core.Response deleteMonitoringLocation​(java.lang.String monitoringLocation)