Package org.mycore.restapi.v2
Class MCRRestDerivates
java.lang.Object
org.mycore.restapi.v2.MCRRestDerivates
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
deleteDerivate
(MCRObjectID derid) jakarta.ws.rs.core.Response
getDerivate
(MCRObjectID derid) jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
updateDerivate
(MCRObjectID derid, InputStream xmlSource)
-
Field Details
-
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
-