Class RecordManagement


  • @Path("record")
    public class RecordManagement
    extends Object
    Author:
    Luca Frosini (ISTI - CNR)
    • Constructor Detail

      • RecordManagement

        public RecordManagement()
    • Method Detail

      • add

        @POST
        @Consumes({"text/plain","application/json;charset=UTF-8"})
        public javax.ws.rs.core.Response add​(String json)
                                      throws Exception
        Throws:
        Exception
      • get

        @GET
        @Path("/{type}/{recordID}/")
        @Produces("application/json;charset=UTF-8")
        public javax.ws.rs.core.Response get​(@NotNull @PathParam("type")
                                             String type,
                                             @NotNull @PathParam("recordID")
                                             String recordId)
                                      throws Exception
        Throws:
        Exception