org.nuxeo.ecm.webengine.util
Class GWTHelper
java.lang.Object
org.nuxeo.ecm.webengine.util.GWTHelper
public class GWTHelper
- extends java.lang.Object
- Author:
- Bogdan Stefanescu
Method Summary |
static net.sf.json.JSONObject |
doc2JSon(DocumentModel doc)
|
static net.sf.json.JSONObject |
doc2JSon(DocumentModel doc,
java.lang.String... schemas)
|
static net.sf.json.JSONArray |
getChildren(CoreSession session)
|
static net.sf.json.JSONArray |
getChildren(CoreSession session,
DocumentModel doc)
|
static net.sf.json.JSONArray |
getChildren(CoreSession session,
DocumentModel doc,
java.lang.String parentRef)
|
static net.sf.json.JSONArray |
getChildren(CoreSession session,
DocumentRef docRef)
|
static net.sf.json.JSONArray |
getChildren(CoreSession session,
DocumentRef docRef,
java.lang.String parentRef)
|
static net.sf.json.JSONArray |
getChildrenFiles(CoreSession session,
DocumentModel doc,
java.lang.String parentRef)
|
static net.sf.json.JSONArray |
getChildrenFiles(CoreSession session,
DocumentRef docRef,
java.lang.String parentRef)
|
static net.sf.json.JSONArray |
getChildrenFolders(CoreSession session,
DocumentModel doc,
java.lang.String parentRef)
|
static net.sf.json.JSONArray |
getChildrenFolders(CoreSession session,
DocumentRef docRef,
java.lang.String parentRef)
|
static java.lang.String |
toJSon(DocumentModel doc)
|
static java.lang.String |
toJSon(DocumentModel doc,
java.lang.String... schemas)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toJSon
public static java.lang.String toJSon(DocumentModel doc)
getChildren
public static net.sf.json.JSONArray getChildren(CoreSession session)
getChildren
public static net.sf.json.JSONArray getChildren(CoreSession session,
DocumentRef docRef)
getChildren
public static net.sf.json.JSONArray getChildren(CoreSession session,
DocumentRef docRef,
java.lang.String parentRef)
getChildren
public static net.sf.json.JSONArray getChildren(CoreSession session,
DocumentModel doc)
getChildren
public static net.sf.json.JSONArray getChildren(CoreSession session,
DocumentModel doc,
java.lang.String parentRef)
getChildrenFiles
public static net.sf.json.JSONArray getChildrenFiles(CoreSession session,
DocumentRef docRef,
java.lang.String parentRef)
getChildrenFiles
public static net.sf.json.JSONArray getChildrenFiles(CoreSession session,
DocumentModel doc,
java.lang.String parentRef)
getChildrenFolders
public static net.sf.json.JSONArray getChildrenFolders(CoreSession session,
DocumentRef docRef,
java.lang.String parentRef)
getChildrenFolders
public static net.sf.json.JSONArray getChildrenFolders(CoreSession session,
DocumentModel doc,
java.lang.String parentRef)
toJSon
public static java.lang.String toJSon(DocumentModel doc,
java.lang.String... schemas)
doc2JSon
public static net.sf.json.JSONObject doc2JSon(DocumentModel doc)
doc2JSon
public static net.sf.json.JSONObject doc2JSon(DocumentModel doc,
java.lang.String... schemas)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.