|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WikiEngine
| Method Summary | |
|---|---|
String |
convert(WikiPage page,
PortletURL viewPageURL,
PortletURL editPageURL,
String attachmentURLPrefix)
Returns the content of the given page converted to HTML using the view and edit URLs to build links. |
Map<String,Boolean> |
getOutgoingLinks(WikiPage page)
Returns a map of the links included in the given page. |
void |
setInterWikiConfiguration(String interWikiConfiguration)
Set the configuration to support quick links to other wikis. |
void |
setMainConfiguration(String mainConfiguration)
Sets the main wiki configuration as a String. |
boolean |
validate(long nodeId,
String content)
Returns true if the content of a wiki page for this engine
is valid. |
| Method Detail |
|---|
String convert(WikiPage page,
PortletURL viewPageURL,
PortletURL editPageURL,
String attachmentURLPrefix)
throws PageContentException
page - the wiki pageviewPageURL - the URL to view the pageeditPageURL - the URL to edit the pageattachmentURLPrefix - the URL prefix to use for attachments to the
page
PageContentException - if a page content exception occurred
Map<String,Boolean> getOutgoingLinks(WikiPage page)
throws PageContentException
page - the page
PageContentException - if a page content exception occurredvoid setInterWikiConfiguration(String interWikiConfiguration)
interWikiConfiguration - the configuration to support quick links to
other wikisvoid setMainConfiguration(String mainConfiguration)
mainConfiguration - the main configuration of the wiki engine
boolean validate(long nodeId,
String content)
true if the content of a wiki page for this engine
is valid.
nodeId - the ID of the wiki page nodecontent - the page content
|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||