Class CopySchema
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.document.CopySchema
-
public class CopySchema extends Object
- Since:
- 8.3
-
-
Field Summary
Fields Modifier and Type Field Description protected OperationContext
context
static String
ID
protected boolean
save
protected boolean
saveDocument
protected String
schema
protected CoreSession
session
protected String
sourceId
protected String
sourcePath
-
Constructor Summary
Constructors Constructor Description CopySchema()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModel
run(DocumentModel target)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
context
protected OperationContext context
-
session
protected CoreSession session
-
schema
protected String schema
-
sourceId
protected String sourceId
-
sourcePath
protected String sourcePath
-
save
protected boolean save
-
saveDocument
protected boolean saveDocument
-
-
Method Detail
-
run
public DocumentModel run(DocumentModel target) throws OperationException
- Throws:
OperationException
-
-