info.magnolia.jcr.nodebuilder
Class NodeBuilder

java.lang.Object
  extended by info.magnolia.jcr.nodebuilder.NodeBuilder

public class NodeBuilder
extends Object

Entry point for using the node builder API. Also see the NodeBuilderTask and ModuleNodeBuilderTask classes for usage of the node builder API in ModuleVersionHandlers.

Version:
$Id$

Constructor Summary
NodeBuilder(ErrorHandler errorHandler, javax.jcr.Node root, NodeOperation... childrenOps)
           
NodeBuilder(javax.jcr.Node root, NodeOperation... childrenOps)
           
 
Method Summary
 void exec()
          Execute the operations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeBuilder

public NodeBuilder(javax.jcr.Node root,
                   NodeOperation... childrenOps)

NodeBuilder

public NodeBuilder(ErrorHandler errorHandler,
                   javax.jcr.Node root,
                   NodeOperation... childrenOps)
Method Detail

exec

public void exec()
          throws NodeOperationException
Execute the operations.

Throws:
NodeOperationException - if the given ErrorHandler decided to do so !


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.