public class DocumentFactory extends Object
Modifier and Type | Method and Description |
---|---|
static DocumentObject |
newDocument(WebContext ctx,
DocumentModel doc) |
static DocumentObject |
newDocument(WebContext ctx,
DocumentRef ref) |
static DocumentObject |
newDocument(WebContext ctx,
String path) |
static DocumentObject |
newDocumentRoot(WebContext ctx,
DocumentModel doc) |
static DocumentObject |
newDocumentRoot(WebContext ctx,
DocumentRef ref) |
static DocumentObject |
newDocumentRoot(WebContext ctx,
String path) |
public static DocumentObject newDocumentRoot(WebContext ctx, String path)
public static DocumentObject newDocumentRoot(WebContext ctx, DocumentRef ref)
public static DocumentObject newDocumentRoot(WebContext ctx, DocumentModel doc)
public static DocumentObject newDocument(WebContext ctx, String path)
public static DocumentObject newDocument(WebContext ctx, DocumentRef ref)
public static DocumentObject newDocument(WebContext ctx, DocumentModel doc)
Copyright © 2015 Nuxeo SA. All rights reserved.