Package org.exoplatform.wiki.service
Interface WikiRestService
-
public interface WikiRestServiceThe WikiRestService provide a service rest to get a Wiki page content. And many internal rest services to manage a wiki.- eXo level API
- Experimental
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.ResponsegetWikiPageContent(javax.servlet.ServletContext servletContext, String sessionKey, String wikiContextKey, boolean isMarkup, String data)Return the wiki page content as html or markup.
-
-
-
Method Detail
-
getWikiPageContent
javax.ws.rs.core.Response getWikiPageContent(javax.servlet.ServletContext servletContext, String sessionKey, String wikiContextKey, boolean isMarkup, String data)Return the wiki page content as html or markup.- Parameters:
sessionKey- key is used to retrieve the editor input value from the session.wikiContextKey- contain the context key which contain the syntax.isMarkup- if true then markup content is returned else html content is returneddata- contain the data as htmlservletContext- the servletContext- Returns:
- the instance of javax.ws.rs.core.Response
- eXo level API
- Experimental
-
-