directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r818154 - in /directory/apacheds/branches/apacheds-schema/core-api/src/main/java/org/apache/directory/server/core/schema: SchemaPartition.java registries/synchronizers/RegistrySynchronizerAdaptor.java
Date Wed, 23 Sep 2009 16:15:23 GMT
Author: elecharny
Date: Wed Sep 23 16:15:22 2009
New Revision: 818154

URL: http://svn.apache.org/viewvc?rev=818154&view=rev
Log:
Modified the rename() parameters
Added some javadoc

Modified:
    directory/apacheds/branches/apacheds-schema/core-api/src/main/java/org/apache/directory/server/core/schema/SchemaPartition.java
    directory/apacheds/branches/apacheds-schema/core-api/src/main/java/org/apache/directory/server/core/schema/registries/synchronizers/RegistrySynchronizerAdaptor.java

Modified: directory/apacheds/branches/apacheds-schema/core-api/src/main/java/org/apache/directory/server/core/schema/SchemaPartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/core-api/src/main/java/org/apache/directory/server/core/schema/SchemaPartition.java?rev=818154&r1=818153&r2=818154&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/core-api/src/main/java/org/apache/directory/server/core/schema/SchemaPartition.java
(original)
+++ directory/apacheds/branches/apacheds-schema/core-api/src/main/java/org/apache/directory/server/core/schema/SchemaPartition.java
Wed Sep 23 16:15:22 2009
@@ -396,14 +396,20 @@
     }
 
 
-    /* (non-Javadoc)
-     * @see org.apache.directory.server.core.partition.Partition#rename(org.apache.directory.server.core.interceptor.context.RenameOperationContext)
+    /**
+     * {@inheritDoc}
      */
     public void rename( RenameOperationContext opContext ) throws Exception
     {
         boolean cascade = opContext.hasRequestControl( CascadeControl.CONTROL_OID );
-        synchronizer.rename( opContext, opContext.getEntry(), cascade );
+        
+        // First update the registries
+        synchronizer.rename( opContext, cascade );
+        
+        // Update the schema partition
         wrapped.rename( opContext );
+        
+        // Update the SSSE operational attributes
         updateSchemaModificationAttributes( opContext );
     }
 

Modified: directory/apacheds/branches/apacheds-schema/core-api/src/main/java/org/apache/directory/server/core/schema/registries/synchronizers/RegistrySynchronizerAdaptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/core-api/src/main/java/org/apache/directory/server/core/schema/registries/synchronizers/RegistrySynchronizerAdaptor.java?rev=818154&r1=818153&r2=818154&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/core-api/src/main/java/org/apache/directory/server/core/schema/registries/synchronizers/RegistrySynchronizerAdaptor.java
(original)
+++ directory/apacheds/branches/apacheds-schema/core-api/src/main/java/org/apache/directory/server/core/schema/registries/synchronizers/RegistrySynchronizerAdaptor.java
Wed Sep 23 16:15:22 2009
@@ -316,7 +316,11 @@
 
 
     /**
-     * {@inheritDoc}
+     * Rename a Schema Object.
+     *
+     * @param opContext The contect contaoning the rename informations
+     * @param doCascadeModify unused
+     * @throws Exception If the rename failed
      */
     public void rename( RenameOperationContext opContext, boolean doCascadeModify ) 
         throws Exception



Mime
View raw message