Class RelatedUtil
java.lang.Object
org.exoplatform.wiki.service.related.RelatedUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic WikiPageParamsgetPageParams(String path) get wiki page params from the path made bygetPath(WikiPageParams)static StringgetPath(WikiPageParams params) convert wiki page info to path string.static List<JsonRelatedData>pageToJson(List<Page> pages)
-
Method Details
-
pageToJson
-
getPath
convert wiki page info to path string.
The format: [wiki type]/[wiki owner]/[page id]- Parameters:
params- the wiki page params (type, owner and page name)- Returns:
- the page path
-
getPageParams
get wiki page params from the path made bygetPath(WikiPageParams)- Parameters:
path- made bygetPath(WikiPageParams)- Returns:
- Wiki page params
- Throws:
Exception- if an error occurs.
-