info.magnolia.jcr.nodebuilder
Class AbstractNodeOperation
java.lang.Object
info.magnolia.jcr.nodebuilder.AbstractNodeOperation
- All Implemented Interfaces:
- NodeOperation
public abstract class AbstractNodeOperation
- extends Object
- implements NodeOperation
Abstract implementation of NodeOperation. Mainly implementing then(NodeOperation...)
.
- Version:
- $Id$
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(javax.jcr.Node context,
ErrorHandler errorHandler)
- Specified by:
exec
in interface NodeOperation
doExec
protected abstract javax.jcr.Node doExec(javax.jcr.Node 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-2012 Magnolia International Ltd.. All Rights Reserved.