You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2011/11/07 21:32:43 UTC
svn commit: r1198918 -
/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/OperationManager.java
Author: elecharny
Date: Mon Nov 7 20:32:43 2011
New Revision: 1198918
URL: http://svn.apache.org/viewvc?rev=1198918&view=rev
Log:
Added some Javadoc
Modified:
directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/OperationManager.java
Modified: directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/OperationManager.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/OperationManager.java?rev=1198918&r1=1198917&r2=1198918&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/OperationManager.java (original)
+++ directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/OperationManager.java Mon Nov 7 20:32:43 2011
@@ -48,7 +48,20 @@ import org.apache.directory.shared.ldap.
public interface OperationManager
{
/**
- * TODO document after determining if this method should be here.
+ * Add an entry into the backend, going through the interceptor chain
+ *
+ * @param addContext The context containing the information to process the addition
+ * @throws LdapException If the addition can't be processed successfully
+ */
+ void add( AddOperationContext addContext ) throws LdapException;
+
+
+ /**
+ * Get the RooDSE entry.
+ *
+ * @param getRootDseContext The getRootDSE() context
+ * @return The rootDSE if found
+ * @throws LdapException If we can't get back the rootDSE entry
*/
Entry getRootDSE( GetRootDSEOperationContext getRootDseContext ) throws LdapException;
@@ -68,12 +81,6 @@ public interface OperationManager
/**
* TODO document after determining if this method should be here.
*/
- void add( AddOperationContext addContext ) throws LdapException;
-
-
- /**
- * TODO document after determining if this method should be here.
- */
void modify( ModifyOperationContext modifyContext ) throws LdapException;