public final class RelatedUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static WikiPageParams |
getPageParams(String path)
get wiki page params from the path made by
getPath(WikiPageParams) |
static String |
getPath(WikiPageParams params)
convert wiki page info to path string.
|
static List<JsonRelatedData> |
pageToJson(List<Page> pages) |
public static List<JsonRelatedData> pageToJson(List<Page> pages)
public static String getPath(WikiPageParams params)
params - public static WikiPageParams getPageParams(String path) throws Exception
getPath(WikiPageParams)path - made by getPath(WikiPageParams)Exception - if an error occurs.Copyright © 2003–2017 eXo Platform SAS. All rights reserved.