Class CreateDocument
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.document.CreateDocument
-
public class CreateDocument extends Object
Create a document into the input document- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected Properties
content
static String
ID
protected String
name
protected CoreSession
session
protected String
type
-
Constructor Summary
Constructors Constructor Description CreateDocument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModel
run(DocumentModel doc)
DocumentModel
run(DocumentRef doc)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
session
protected CoreSession session
-
type
protected String type
-
name
protected String name
-
content
protected Properties content
-
-
Method Detail
-
run
public DocumentModel run(DocumentModel doc) throws IOException
- Throws:
IOException
-
run
public DocumentModel run(DocumentRef doc) throws IOException
- Throws:
IOException
-
-