jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1324955 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/NodeStateEditor.java
Date Wed, 11 Apr 2012 19:49:31 GMT
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



Mime
View raw message