org.exoplatform.wiki.service.related
Class RelatedUtil

java.lang.Object
  extended by org.exoplatform.wiki.service.related.RelatedUtil

public final class RelatedUtil
extends Object


Method Summary
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> pageImplToJson(List<PageImpl> pages)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

pageImplToJson

public static List<JsonRelatedData> pageImplToJson(List<PageImpl> pages)

getPath

public static String getPath(WikiPageParams params)
convert wiki page info to path string.
The format: [wiki type]/[wiki owner]/[page id]

Parameters:
params -
Returns:

getPageParams

public static WikiPageParams getPageParams(String path)
                                    throws Exception
get wiki page params from the path made by getPath(WikiPageParams)

Parameters:
path - made by getPath(WikiPageParams)
Throws:
Exception - if an error occurs.


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.