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
IOException
public DocumentModel run(DocumentRef doc) throws IOException
IOException
Copyright © 2018 Nuxeo. All rights reserved.