Class MCRALTOEditorResource

java.lang.Object
org.mycore.viewer.resources.MCRALTOEditorResource

@Path("/viewer/alto") public class MCRALTOEditorResource extends Object
  • Constructor Details

    • MCRALTOEditorResource

      public MCRALTOEditorResource()
  • Method Details

    • storeChangeSet

      @POST @Produces("application/json") @Consumes("application/json") @Path("/store") public MCRAltoChangePID storeChangeSet(MCRAltoChangeSet changeSet) throws UnsupportedEncodingException
      Throws:
      UnsupportedEncodingException
    • updateChangeSet

      @POST @Produces("application/json") @Consumes("application/json") @Path("/update/{pid}") public MCRAltoChangePID updateChangeSet(MCRAltoChangeSet changeSet, @PathParam("pid") String pid) throws UnsupportedEncodingException
      Throws:
      UnsupportedEncodingException
    • applyChangeSet

      @POST @Path("/apply/{pid}") public jakarta.ws.rs.core.Response applyChangeSet(@PathParam("pid") String pid)
    • deleteChangeSet

      @POST @Produces("text/plain") @Consumes @Path("/delete/{pid}") public String deleteChangeSet(@PathParam("pid") String pid)
    • listChangeSets

      @GET @Produces("application/json") @Path("/list") public List<MCRStoredChangeSet> listChangeSets(@DefaultValue("0") @QueryParam("start") long start, @DefaultValue("10") @QueryParam("count") long count, @QueryParam("derivate") String derivate, @QueryParam("session") String session)
    • count

      @GET @Produces("text/plain") @Path("/list/count") public long count()