Class MCRRestDerivates

java.lang.Object
org.mycore.restapi.v2.MCRRestDerivates

@Path("/objects/{mcrid}/derivates") public class MCRRestDerivates extends Object
  • Field Details

    • LOGGER

      public static final Logger LOGGER
  • Constructor Details

    • MCRRestDerivates

      public MCRRestDerivates()
  • Method Details

    • listDerivates

      @GET @Produces({"application/xml","application/json;charset=UTF-8"}) public jakarta.ws.rs.core.Response listDerivates() throws IOException
      Throws:
      IOException
    • getDerivate

      @GET @Produces({"application/xml","application/json;charset=UTF-8"}) @Path("/{derid}") public jakarta.ws.rs.core.Response getDerivate(@PathParam("derid") MCRObjectID derid) throws IOException
      Throws:
      IOException
    • updateDerivate

      @PUT @Consumes({"application/xml","application/json;charset=UTF-8"}) @Path("/{derid}") public jakarta.ws.rs.core.Response updateDerivate(@PathParam("derid") MCRObjectID derid, InputStream xmlSource) throws IOException
      Throws:
      IOException
    • deleteDerivate

      @DELETE @Path("/{derid}") public jakarta.ws.rs.core.Response deleteDerivate(@PathParam("derid") MCRObjectID derid)
    • createDefaultDerivate

      @POST public jakarta.ws.rs.core.Response createDefaultDerivate()
    • createDerivate

      @POST @Consumes("application/x-www-form-urlencoded") public jakarta.ws.rs.core.Response createDerivate(@BeanParam MCRRestDerivates.DerivateMetadata der)
    • patchDerivate

      @PATCH @Consumes("application/x-www-form-urlencoded") @Path("/{derid}") public jakarta.ws.rs.core.Response patchDerivate(@BeanParam MCRRestDerivates.DerivateMetadata der, @PathParam("derid") MCRObjectID derid)
    • testUpdateDerivate

      @PUT @Path("/{derid}/try") public jakarta.ws.rs.core.Response testUpdateDerivate(@PathParam("derid") MCRObjectID id) throws IOException
      Throws:
      IOException
    • testDeleteDerivate

      @DELETE @Path("/{derid}/try") public jakarta.ws.rs.core.Response testDeleteDerivate(@PathParam("derid") MCRObjectID id) throws IOException
      Throws:
      IOException