Class AssetRecordResource


  • @Component("assetRecordResource")
    @Path("assetRecord")
    @Transactional
    public class AssetRecordResource
    extends OnmsRestService
    • Constructor Detail

      • AssetRecordResource

        public AssetRecordResource()
    • Method Detail

      • getAssetRecord

        @GET
        @Produces({"application/xml","application/json"})
        public OnmsAssetRecord getAssetRecord​(@PathParam("nodeCriteria")
                                              String nodeCriteria)

        getAssetRecord

        Parameters:
        nodeCriteria - a String object.
        Returns:
        a OnmsAssetRecord object.
      • updateAssetRecord

        @PUT
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response updateAssetRecord​(@PathParam("nodeCriteria")
                                                           String nodeCriteria,
                                                           @Context
                                                           javax.servlet.http.HttpServletRequest request,
                                                           MultivaluedMapImpl params)

        updateAssetRecord

        Parameters:
        nodeCriteria - a String object.
        params - a MultivaluedMapImpl object.
        Returns:
        a Response object.