org.nuxeo.ecm.automation.core.operations.stack
Class PopDocument
java.lang.Object
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
ID
public static final String ID
- See Also:
- Constant Field Values
PopDocument
public PopDocument()
run
public DocumentModel run()
throws Exception
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.