Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.core.operations.stack
Class PopDocument

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

public class PopDocument
extends Object

Pop a document from the context stack and restore the input from the poped document. If on the top of the stack there is no document an exception is thrown This operation contains dynamic logic so it should be handled in a special way by the UI tools to validate the chain (a Pop operation can succeed only if the last push operation has the same type as the pop)

Author:
Bogdan Stefanescu

Field Summary
static String ID
           
 
Constructor Summary
PopDocument()
           
 
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 String ID
See Also:
Constant Field Values
Constructor Detail

PopDocument

public PopDocument()
Method Detail

run

public DocumentModel run()
                  throws Exception
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.