directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r660836 - in /directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core: CoreSession.java interceptor/context/ReplaceOperationContext.java
Date Wed, 28 May 2008 06:54:27 GMT
Author: akarasulu
Date: Tue May 27 23:54:26 2008
New Revision: 660836

URL: http://svn.apache.org/viewvc?rev=660836&view=rev
Log:
deleting unused op context and adding more operation methods to CoreSession

Removed:
    directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/ReplaceOperationContext.java
Modified:
    directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/CoreSession.java

Modified: directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/CoreSession.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/CoreSession.java?rev=660836&r1=660835&r2=660836&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/CoreSession.java
(original)
+++ directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/CoreSession.java
Tue May 27 23:54:26 2008
@@ -21,13 +21,22 @@
 
 
 import java.net.SocketAddress;
+import java.util.List;
 import java.util.Set;
 
 import javax.naming.ldap.Control;
 
 import org.apache.directory.server.core.authn.LdapPrincipal;
+import org.apache.directory.server.core.entry.ServerEntry;
 import org.apache.directory.server.core.interceptor.context.OperationContext;
 import org.apache.directory.shared.ldap.constants.AuthenticationLevel;
+import org.apache.directory.shared.ldap.entry.Modification;
+import org.apache.directory.shared.ldap.filter.ExprNode;
+import org.apache.directory.shared.ldap.filter.SearchScope;
+import org.apache.directory.shared.ldap.message.AliasDerefMode;
+import org.apache.directory.shared.ldap.name.LdapDN;
+import org.apache.directory.shared.ldap.name.Rdn;
+import org.apache.directory.shared.ldap.schema.AttributeTypeOptions;
 
 
 /**
@@ -148,4 +157,52 @@
      * associated with a real LDAP service
      */
     SocketAddress getServiceAddress();
+    
+    
+    // -----------------------------------------------------------------------
+    // Operation Methods
+    // -----------------------------------------------------------------------
+
+
+    void add( ServerEntry entry ) throws Exception;
+    
+    
+    void compare( LdapDN dn, String oid, Object value ) throws Exception;
+    
+    
+    void delete( LdapDN dn ) throws Exception;
+    
+    
+    void lookup( LdapDN dn ) throws Exception;
+
+    
+    void modify( LdapDN dn, List<Modification> mods ) throws Exception;
+    
+
+    void modify( LdapDN dn, List<Modification> mods, boolean collateral ) throws Exception;
+    
+
+    void move( LdapDN dn, LdapDN newParent ) throws Exception;
+    
+    
+    void moveAndRename( LdapDN dn, LdapDN newParent, Rdn newRdn, boolean deleteOldRdn ) throws
Exception;
+    
+    
+    void rename( LdapDN dn, Rdn newRdn, boolean deleteOldRdn ) throws Exception;
+    
+    
+    void list( LdapDN dn, AliasDerefMode aliasDerefMode, Set<AttributeTypeOptions>
returningAttributes ) 
+        throws Exception;
+    
+    
+    void list( LdapDN dn, AliasDerefMode aliasDerefMode, 
+        Set<AttributeTypeOptions> returningAttributes, int sizeLimit, int timeLimit
) throws Exception;
+    
+    
+    void search( LdapDN dn, SearchScope scope, ExprNode filter, AliasDerefMode aliasDerefMode,

+        Set<AttributeTypeOptions> returningAttributes ) throws Exception;
+    
+    
+    void search( LdapDN dn, SearchScope scope, ExprNode filter, AliasDerefMode aliasDerefMode,

+        Set<AttributeTypeOptions> returningAttributes, int sizeLimit, int timeLimit
) throws Exception;
 }



Mime
View raw message