info.magnolia.nodebuilder
Class AbstractNodeOperation
java.lang.Object
info.magnolia.nodebuilder.AbstractNodeOperation
- All Implemented Interfaces:
- NodeOperation
- Direct Known Subclasses:
- RecursiveOp
public abstract class AbstractNodeOperation
- extends Object
- implements NodeOperation
Abstract implementation of NodeOperation. Mainly implementing then(NodeOperation...)
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractNodeOperation
public AbstractNodeOperation()
exec
public void exec(Content context,
ErrorHandler errorHandler)
- Specified by:
exec
in interface NodeOperation
doExec
protected abstract Content doExec(Content context,
ErrorHandler errorHandler)
throws javax.jcr.RepositoryException
- Returns:
- the node that should now be used as the context for subsequent operations
- Throws:
javax.jcr.RepositoryException
then
public NodeOperation then(NodeOperation... childrenOps)
- Specified by:
then
in interface NodeOperation
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.