Index: oak-mk/src/main/java/org/apache/jackrabbit/mk/model/NodeBuilder.java IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>MacRoman =================================================================== --- oak-mk/src/main/java/org/apache/jackrabbit/mk/model/NodeBuilder.java (revision 1307346) +++ oak-mk/src/main/java/org/apache/jackrabbit/mk/model/NodeBuilder.java (revision ) @@ -40,6 +40,24 @@ void setChildNode(String name, NodeState childNode); /** + * Move the named childnode to the new parent at {@code dest}. + * + * @param name child node name + * @param destName destination of the move + * @param dest name of this node at the target of the move + */ + void moveTo(String name, String destName, NodeBuilder dest); + + /** + * Copy the named childnode to the new parent at {@code dest}. + * + * @param name child node name + * @param destName destination of the copy + * @param dest name of this node at the target of the copy + */ + void copyTo(String name, String destName, NodeBuilder dest); + + /** * Returns an immutable node state that matches the current state of * the builder. *