|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WikiEngine
Method Summary | |
---|---|
java.lang.String |
convert(com.liferay.portlet.wiki.model.WikiPage page,
javax.portlet.PortletURL portletURL)
Convert the content of the given page to HTML using the portletURL to build links. |
java.util.Map<java.lang.String,java.lang.Boolean> |
getOutgoingLinks(com.liferay.portlet.wiki.model.WikiPage page)
Get a map with the links included in the given page. |
void |
setInterWikiConfiguration(java.lang.String interWikiConfiguration)
Set the configuraton to support quick links to other wikis. |
void |
setMainConfiguration(java.lang.String mainConfiguration)
Set the main wiki configuraiton as a String. |
boolean |
validate(long nodeId,
java.lang.String content)
Validate the content of a wiki page for this engine. |
Method Detail |
---|
java.lang.String convert(com.liferay.portlet.wiki.model.WikiPage page, javax.portlet.PortletURL portletURL) throws com.liferay.portlet.wiki.PageContentException
page
- a wiki pageportletURL
- a portlet URL
com.liferay.portlet.wiki.PageContentException
- when there is an error parsing the page
contentjava.util.Map<java.lang.String,java.lang.Boolean> getOutgoingLinks(com.liferay.portlet.wiki.model.WikiPage page) throws com.liferay.portlet.wiki.PageContentException
page
- WikiPage to examine
com.liferay.portlet.wiki.PageContentException
void setInterWikiConfiguration(java.lang.String interWikiConfiguration)
interWikiConfiguration
- void setMainConfiguration(java.lang.String mainConfiguration)
mainConfiguration
- boolean validate(long nodeId, java.lang.String content)
nodeId
- content
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |