[Zope-CVS] SVN: ldapadapter/trunk/interfaces.py Updated interfaces.

Florent Guillaume fg at nuxeo.com
Sat Oct 9 09:47:25 EDT 2004


Log message for revision 27828:
  Updated interfaces.
  


Changed:
  U   ldapadapter/trunk/interfaces.py


-=-
Modified: ldapadapter/trunk/interfaces.py
===================================================================
--- ldapadapter/trunk/interfaces.py	2004-10-09 13:46:57 UTC (rev 27827)
+++ ldapadapter/trunk/interfaces.py	2004-10-09 13:47:25 UTC (rev 27828)
@@ -66,6 +66,29 @@
 
 class ILDAPConnection(Interface):
     """LDAP connection to a server, bound to a user."""
+
+    def add(dn, entry):
+        """Add an entry.
+
+        - dn is a unicode dn.
+
+        - entry is a mapping whose values are lists.
+        """
+
+    def delete(dn):
+        """Delete an entry.
+
+        dn is a unicode dn.
+        """
+
+    def modify(dn, entry):
+        """Modify an entry.
+
+        - dn is a unicode dn.
+
+        - entry is the subset of attributes we want to modify.
+        """
+
     def search(base, scope='one', filter='(objectclass=*)', attrs=None):
         """Search an LDAP server.
 



More information about the Zope-CVS mailing list