public class CreateDocument extends Object
| Modifier and Type | Field and Description | 
|---|---|
protected Properties | 
content  | 
static String | 
ID  | 
protected String | 
name  | 
protected CoreSession | 
session  | 
protected String | 
type  | 
| Constructor and Description | 
|---|
CreateDocument()  | 
| Modifier and Type | Method and Description | 
|---|---|
DocumentModel | 
run(DocumentModel doc)  | 
DocumentModel | 
run(DocumentRef doc)  | 
public static final String ID
protected CoreSession session
protected Properties content
public CreateDocument()
public DocumentModel run(DocumentModel doc) throws IOException
IOExceptionpublic DocumentModel run(DocumentRef doc) throws IOException
IOExceptionCopyright © 2019 Nuxeo. All rights reserved.