Class PopDocumentList
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected OperationContext
ctx
static String
ID
-
Constructor Summary
Constructors Constructor Description PopDocumentList()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
ctx
protected OperationContext ctx
-
-
Constructor Detail
-
PopDocumentList
public PopDocumentList()
-
-
Method Detail
-
run
public DocumentModelList run() throws OperationException
- Throws:
OperationException
-
-