[CMF-checkins] CVS: CMF/CMFCore/interfaces - portal_memberdata.py:1.8.2.1

Yvo Schubbe schubbe at web.de
Tue Sep 9 08:58:42 EDT 2003


Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv2963/CMFCore/interfaces

Modified Files:
      Tag: yuppie-deleteMembers-branch
	portal_memberdata.py 
Log Message:
Prepare for deleteMembers:
- interface and docstring cleanup

=== CMF/CMFCore/interfaces/portal_memberdata.py 1.8 => 1.8.2.1 ===
--- CMF/CMFCore/interfaces/portal_memberdata.py:1.8	Mon Sep  1 11:18:35 2003
+++ CMF/CMFCore/interfaces/portal_memberdata.py	Tue Sep  9 07:58:41 2003
@@ -47,23 +47,38 @@
         The result is designed to be iterated over in a dtml-in
         '''
 
-    ## pruneMemberDataContents__roles__ = ()  # Private.
     def pruneMemberDataContents():
-        '''
-        Compare the user IDs stored in the member data
-        tool with the list in the actual underlying acl_users
-        and delete anything not in acl_users
-        '''
+        """ Delete member data of all members not listet in acl_users.
+
+        Compare the user IDs stored in the member data tool with the list in
+        the actual underlying acl_users and delete anything not in acl_users.
+
+        Permission -- Python only
+        """
 
-    ## searchMemberData__roles__ = ()  # Private.
     def searchMemberData(search_param, search_term, attributes=()):
-        '''
+        """ Search members.
+
         Returns a sequence of dictionaries containing data for members
         that match the query as expressed by search_param and search_term.
         The contents of each member data mapping can be influenced by
         passing in a sequence of desired attributes, by default the only
         data returned is the username and the email address.
-        '''
+
+        Permission -- Python only
+
+        Returns -- Sequence of dictionaries
+        """
+
+    def registerMemberData(m, id):
+        """ Add the given member data to the _members btree.
+
+        This is done as late as possible to avoid side effect transactions and
+        to reduce the necessary number of entries.
+
+        Permission -- Python only
+        """
+
 
 class MemberData(Interface):
     """ MemberData interface.




More information about the CMF-checkins mailing list