Package org.mycore.wcms2.resources
Class MCRWCMSNavigationResource
java.lang.Object
org.mycore.wcms2.resources.MCRWCMSNavigationResource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget()
getContent
(String webpagePath) protected MCRWCMSContentManager
getTemplates
(jakarta.servlet.ServletContext servletContext) Returns a json object containing all available templates.void
jakarta.ws.rs.core.Response
-
Constructor Details
-
MCRWCMSNavigationResource
public MCRWCMSNavigationResource()
-
-
Method Details
-
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
-