Class RestoreVersion
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.document.RestoreVersion
-
public class RestoreVersion extends Object
Restores a document to the input version document.- Since:
- 5.7.3
- Author:
- Antoine Taillefer
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
checkout
protected boolean
createVersion
static String
ID
protected CoreSession
session
-
Constructor Summary
Constructors Constructor Description RestoreVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModel
run(DocumentModel version)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
session
protected CoreSession session
-
createVersion
protected boolean createVersion
-
checkout
protected boolean checkout
-
-
Constructor Detail
-
RestoreVersion
public RestoreVersion()
-
-
Method Detail
-
run
public DocumentModel run(DocumentModel version)
-
-