Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.automation.core.operations
Class FetchContextDocument

java.lang.Object
  extended by org.nuxeo.ecm.automation.core.operations.FetchContextDocument

public class FetchContextDocument
extends java.lang.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

Field Summary
static java.lang.String ID
           
 
Constructor Summary
FetchContextDocument()
           
 
Method Summary
 DocumentModel run()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values
Constructor Detail

FetchContextDocument

public FetchContextDocument()
Method Detail

run

public DocumentModel run()
                  throws java.lang.Exception
Throws:
java.lang.Exception

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.