Class MonitoringLocationsRestService


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

      • MonitoringLocationsRestService

        public MonitoringLocationsRestService()
    • Method Detail

      • getMonitoringLocation

        @GET
        @Path("{monitoringLocation}")
        @Produces({"application/xml","application/json","application/atom+xml"})
        public OnmsMonitoringLocation getMonitoringLocation​(@PathParam("monitoringLocation")
                                                            String monitoringLocation)
      • addMonitoringLocation

        @POST
        @Consumes({"application/xml","application/json","application/atom+xml"})
        @Transactional
        public javax.ws.rs.core.Response addMonitoringLocation​(@Context
                                                               javax.ws.rs.core.UriInfo uriInfo,
                                                               OnmsMonitoringLocation monitoringLocation)
      • updateMonitoringLocation

        @PUT
        @Path("{monitoringLocation}")
        @Consumes("application/x-www-form-urlencoded")
        @Transactional
        public javax.ws.rs.core.Response updateMonitoringLocation​(@PathParam("monitoringLocation")
                                                                  String monitoringLocation,
                                                                  MultivaluedMapImpl params)
      • deleteMonitoringLocation

        @DELETE
        @Path("{monitoringLocation}")
        @Transactional
        public javax.ws.rs.core.Response deleteMonitoringLocation​(@PathParam("monitoringLocation")
                                                                  String monitoringLocation)