|
Liferay 6.1.2-ce-ga3 | |||||||||
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)
Convert the content of the given page to HTML using the view and edit URLs to build links. |
Map<String,Boolean> |
getOutgoingLinks(WikiPage page)
Get a map with the links included in the given page. |
void |
setInterWikiConfiguration(String interWikiConfiguration)
Set the configuraton to support quick links to other wikis. |
void |
setMainConfiguration(String mainConfiguration)
Set the main wiki configuraiton as a String. |
boolean |
validate(long nodeId,
String content)
Validate the content of a wiki page for this engine. |
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 occurredMap<String,Boolean> getOutgoingLinks(WikiPage page) throws PageContentException
page
- the page
PageContentException
- if a page content exception occurredvoid setInterWikiConfiguration(String interWikiConfiguration)
void setMainConfiguration(String mainConfiguration)
boolean validate(long nodeId, String content)
nodeId
- the ID of the wiki page nodecontent
- the page content
true
if the content is valid
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |