org.nuxeo.ecm.automation.core.operations
Class FetchContextDocument
java.lang.Object
org.nuxeo.ecm.automation.core.operations.FetchContextDocument
public class FetchContextDocument
- extends Object
Generic fetch document operation that can be used on any context that has a
document as the input. This operation is taking the context input and it is
returning it as a document If the input is not a document an exception is
thrown
- Author:
- Bogdan Stefanescu
ID
public static final String ID
- See Also:
- Constant Field Values
FetchContextDocument
public FetchContextDocument()
run
public DocumentModel run(DocumentModel doc)
throws Exception
- Throws:
Exception
run
public DocumentModelList run(DocumentModelList docs)
throws Exception
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.