public class WikiEngineRenderer
extends java.lang.Object
Constructor and Description |
---|
WikiEngineRenderer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
convert(WikiPage page,
javax.portlet.PortletURL viewPageURL,
javax.portlet.PortletURL editPageURL,
java.lang.String attachmentURLPrefix) |
java.lang.String |
diffHtml(WikiPage sourcePage,
WikiPage targetPage,
javax.portlet.PortletURL viewPageURL,
javax.portlet.PortletURL editPageURL,
java.lang.String attachmentURLPrefix) |
WikiEngine |
fetchWikiEngine(java.lang.String format) |
java.util.List<WikiPage> |
filterOrphans(java.util.List<WikiPage> pages) |
java.lang.String |
getFormatLabel(java.lang.String format,
java.util.Locale locale) |
java.util.Collection<java.lang.String> |
getFormats() |
java.lang.String |
getFormattedContent(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse,
WikiPage page,
javax.portlet.PortletURL viewPageURL,
javax.portlet.PortletURL editPageURL,
java.lang.String title,
boolean preview) |
void |
renderEditPageHTML(java.lang.String format,
javax.servlet.jsp.PageContext pageContext,
WikiNode node,
WikiPage page) |
protected void |
setWikiCacheHelper(WikiCacheHelper wikiCacheHelper) |
protected void |
setWikiEngineTracker(WikiEngineTracker wikiEngineTracker) |
public java.lang.String convert(WikiPage page, javax.portlet.PortletURL viewPageURL, javax.portlet.PortletURL editPageURL, java.lang.String attachmentURLPrefix) throws PageContentException, WikiFormatException
public java.lang.String diffHtml(WikiPage sourcePage, WikiPage targetPage, javax.portlet.PortletURL viewPageURL, javax.portlet.PortletURL editPageURL, java.lang.String attachmentURLPrefix) throws java.lang.Exception
java.lang.Exception
public WikiEngine fetchWikiEngine(java.lang.String format)
public java.util.List<WikiPage> filterOrphans(java.util.List<WikiPage> pages) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getFormatLabel(java.lang.String format, java.util.Locale locale)
public java.util.Collection<java.lang.String> getFormats()
public java.lang.String getFormattedContent(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse, WikiPage page, javax.portlet.PortletURL viewPageURL, javax.portlet.PortletURL editPageURL, java.lang.String title, boolean preview) throws java.lang.Exception
java.lang.Exception
public void renderEditPageHTML(java.lang.String format, javax.servlet.jsp.PageContext pageContext, WikiNode node, WikiPage page) throws java.io.IOException, javax.servlet.ServletException, WikiFormatException
java.io.IOException
javax.servlet.ServletException
WikiFormatException
protected void setWikiCacheHelper(WikiCacheHelper wikiCacheHelper)
protected void setWikiEngineTracker(WikiEngineTracker wikiEngineTracker)