You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by md...@apache.org on 2012/04/11 21:49:31 UTC
svn commit: r1324955 -
/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/NodeStateEditor.java
Author: mduerig
Date: Wed Apr 11 19:49:30 2012
New Revision: 1324955
URL: http://svn.apache.org/viewvc?rev=1324955&view=rev
Log:
OAK-18: Define Oak API
Javadoc
Modified:
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/NodeStateEditor.java
Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/NodeStateEditor.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/NodeStateEditor.java?rev=1324955&r1=1324954&r2=1324955&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/NodeStateEditor.java (original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/NodeStateEditor.java Wed Apr 11 19:49:30 2012
@@ -66,7 +66,9 @@ public interface NodeStateEditor {
* Move the node state located at {@code sourcePath} to a node
* state at {@code destPath}. Do noting if either the source
* does not exist, the parent of the destination does not exist
- * of the destination exists already.
+ * or the destination exists already. Both paths must resolve
+ * to node states located in the subtree below the transient
+ * state this editor is acting upon.
*
* @param sourcePath source path relative to this node state
* @param destPath destination path relative to this node state
@@ -77,7 +79,9 @@ public interface NodeStateEditor {
* Copy the node state located at {@code sourcePath} to a node
* state at {@code destPath}. Do noting if either the source
* does not exist, the parent of the destination does not exist
- * of the destination exists already.
+ * or the destination exists already. Both paths must resolve
+ * to node states located in the subtree below the transient
+ * state this editor is acting upon.
*
* @param sourcePath source path relative to this node state
* @param destPath destination path relative to this node state