Class CopyDocument
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.document.CopyDocument
-
public class CopyDocument extends Object
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description static String
ID
protected String
name
protected boolean
resetLifeCycle
protected CoreSession
session
protected DocumentRef
target
-
Constructor Summary
Constructors Constructor Description CopyDocument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModel
run(DocumentModel doc)
DocumentModel
run(DocumentRef ref)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
session
protected CoreSession session
-
target
protected DocumentRef target
-
name
protected String name
-
resetLifeCycle
protected boolean resetLifeCycle
- Since:
- 11.1
-
-
Method Detail
-
run
public DocumentModel run(DocumentModel doc)
-
run
public DocumentModel run(DocumentRef ref)
-
-