Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webengine.gwt.helper
Class GWTHelper

java.lang.Object
  extended by org.nuxeo.ecm.webengine.gwt.helper.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 net.sf.json.JSONArray getHierarchicalVocabulary(java.lang.String vocabularyName)
           
static net.sf.json.JSONArray getVocabulary(java.lang.String vocabularyName)
           
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
 

Method Detail

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)

getVocabulary

public static net.sf.json.JSONArray getVocabulary(java.lang.String vocabularyName)

getHierarchicalVocabulary

public static net.sf.json.JSONArray getHierarchicalVocabulary(java.lang.String vocabularyName)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.