[Erp5-report] r26555 - /erp5/trunk/products/ERP5Type/Interface/ICategoryAccessProvider.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 21 15:01:30 CEST 2009


Author: jerome
Date: Tue Apr 21 15:01:29 2009
New Revision: 26555

URL: http://svn.erp5.org?rev=26555&view=rev
Log:
add acquired membership method in the interface

Modified:
    erp5/trunk/products/ERP5Type/Interface/ICategoryAccessProvider.py

Modified: erp5/trunk/products/ERP5Type/Interface/ICategoryAccessProvider.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Interface/ICategoryAccessProvider.py?rev=26555&r1=26554&r2=26555&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Interface/ICategoryAccessProvider.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Interface/ICategoryAccessProvider.py [utf8] Tue Apr 21 15:01:29 2009
@@ -33,9 +33,12 @@
     This interface defines the methods which must be implemented
     by a class in order to support Category accessors.
   """
-  def _getCategoryMembershipList(category, spec=(), filter=None, portal_type=(), base=0, 
-                                 keep_default=1, checked_permission=None, **kw):
+
+  def _getAcquiredCategoryMembershipList(category, spec=(), filter=None,
+      portal_type=(), base=0, keep_default=1, checked_permission=None, **kw):
     """
+    Returns the membership for this category, with acquired membership.
+
       spec -- 
 
       filter --
@@ -49,7 +52,20 @@
       kw -- 
     """
 
+  def _getCategoryMembershipList(category, spec=(), filter=None, portal_type=(), base=0,
+                                 keep_default=1, checked_permission=None, **kw):
+    """
+    Returns the membership for this category, without acquired membership.
+    """
+
   def _getDefaultCategoryMembership(category, spec=(), filter=None, portal_type=(), base=0,
                                     checked_permission=None, **kw):
     """
+    Returns the default membership for this category, without acquisition.
     """
+
+  def _getDefaultAcquiredCategoryMembership(category, spec=(), filter=None, portal_type=(), base=0,
+                                    checked_permission=None, **kw):
+    """
+    Returns the default membership for this category, with acquisition.
+    """




More information about the Erp5-report mailing list