public class JSONDocumentHelper extends Object
Constructor and Description |
---|
JSONDocumentHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
getDocAsJson(DocumentModel doc) |
static String |
getDocAsJson(String[] schemas,
DocumentModel doc) |
static String |
getDocsListAsJson(DocumentModel... docs) |
static String |
getDocsListAsJson(String[] schemas,
DocumentModel... docs) |
public static String getDocAsJson(String[] schemas, DocumentModel doc) throws Exception
Exception
public static String getDocAsJson(DocumentModel doc) throws Exception
Exception
public static String getDocsListAsJson(String[] schemas, DocumentModel... docs) throws Exception
Exception
public static String getDocsListAsJson(DocumentModel... docs) throws Exception
Exception
Copyright © 2014 Nuxeo SA. All rights reserved.