Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public class PopDocumentList
extends Object

Pop a document from the context stack and restore the input from the popped 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
PopDocumentList()
           
 
Method Summary
 DocumentModelList 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

PopDocumentList

public PopDocumentList()
Method Detail

run

public DocumentModelList run()
                      throws Exception
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.