Class MCRWCMSNavigationResource

java.lang.Object
org.mycore.wcms2.resources.MCRWCMSNavigationResource

@Path("wcms/navigation") public class MCRWCMSNavigationResource extends Object
  • Constructor Details

    • MCRWCMSNavigationResource

      public MCRWCMSNavigationResource()
  • Method Details

    • get

      @GET @Produces("application/json") public String get()
    • getContent

      @GET @Path("content") @Produces("application/json") public String getContent(@QueryParam("webpagePath") String webpagePath) throws Exception
      Throws:
      Exception
    • save

      @POST @Path("save") @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response save(String json) throws Exception
      Throws:
      Exception
    • getTemplates

      @GET @Path("templates") @Produces("application/json") public String getTemplates(@Context jakarta.servlet.ServletContext servletContext) throws Exception
      Returns a json object containing all available templates.
      Throws:
      Exception
    • move

      @POST @Path("move") public void move(@QueryParam("from") String from, @QueryParam("to") String to) throws Exception
      Throws:
      Exception
    • getContentManager

      protected MCRWCMSContentManager getContentManager()