info.magnolia.jcr.nodebuilder
Class NodeBuilder
java.lang.Object
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 ModuleVersionHandler
s.
- Version:
- $Id$
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 |
NodeBuilder
public NodeBuilder(javax.jcr.Node root,
NodeOperation... childrenOps)
NodeBuilder
public NodeBuilder(ErrorHandler errorHandler,
javax.jcr.Node root,
NodeOperation... childrenOps)
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.