info.magnolia.nodebuilder
Class AbstractNodeOperation

java.lang.Object
  extended by info.magnolia.nodebuilder.AbstractNodeOperation
All Implemented Interfaces:
NodeOperation
Direct Known Subclasses:
RecursiveOp

Deprecated. since 5.2.4 - use AbstractNodeOperation instead.

public abstract class AbstractNodeOperation
extends Object
implements NodeOperation

Abstract implementation of NodeOperation. Mainly implementing then(NodeOperation...).


Constructor Summary
AbstractNodeOperation()
          Deprecated.  
 
Method Summary
protected abstract  Content doExec(Content context, ErrorHandler errorHandler)
          Deprecated.  
 void exec(Content context, ErrorHandler errorHandler)
          Deprecated.  
 NodeOperation then(NodeOperation... childrenOps)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractNodeOperation

public AbstractNodeOperation()
Deprecated. 
Method Detail

exec

public void exec(Content context,
                 ErrorHandler errorHandler)
Deprecated. 
Specified by:
exec in interface NodeOperation

doExec

protected abstract Content doExec(Content context,
                                  ErrorHandler errorHandler)
                           throws javax.jcr.RepositoryException
Deprecated. 
Returns:
the node that should now be used as the context for subsequent operations
Throws:
javax.jcr.RepositoryException

then

public NodeOperation then(NodeOperation... childrenOps)
Deprecated. 
Specified by:
then in interface NodeOperation


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.