[Erp5-report] r28673 - /erp5/trunk/products/ERP5/interfaces/variated.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Aug 31 09:18:06 CEST 2009


Author: jerome
Date: Mon Aug 31 09:18:03 2009
New Revision: 28673

URL: http://svn.erp5.org?rev=28673&view=rev
Log:
private accessors are not part of the interface.
remove unnecessary 'pass' statement in method bodies.


Modified:
    erp5/trunk/products/ERP5/interfaces/variated.py

Modified: erp5/trunk/products/ERP5/interfaces/variated.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/variated.py?rev=28673&r1=28672&r2=28673&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/variated.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/variated.py [utf8] Mon Aug 31 09:18:03 2009
@@ -47,25 +47,13 @@
       a discrete variation (ie. a list of category
       memberships)
     """
-    pass
-
-  def _setVariationCategoryList(node_list):
-    """
-      modifies the discrete variation of an
-      variated instance by providing a list
-      of relative URLs
-    """
-    pass
 
   def setVariationCategoryList(node_list):
     """
       modifies the discrete variation of an
       variated instance by providing a list
       of relative URLs
-
-      reindexes the object
     """
-    pass
 
   def getVariationBaseCategoryList(node_list):
     """
@@ -73,15 +61,6 @@
       which are used to define discrete variations
       for this instance
     """
-    pass
-
-  def _setVariationBaseCategoryList(node_list):
-    """
-      modifies the list of base category ids
-      which are used to define discrete variations
-      for this instance
-    """
-    pass
 
   def setVariationBaseCategoryList(node_list):
     """
@@ -89,26 +68,17 @@
       which are used to define discrete variations
       for this instance
     """
-    pass
 
   # General Variation accessors
   def getVariationValue():
     """
       Returns a VariationValue object. 
     """
-    pass
-
-  def _setVariationValue(value):
-    """
-      Private setter for VariationValue.
-    """
-    pass
 
   def setVariationValue(value):
     """
       Sets the VariationValue.
     """
-    pass
 
 
   # The following methods are intended to access the
@@ -123,7 +93,6 @@
       returns a list of categories which are acceptable
       as discrete variation values
     """
-    pass
 
   def getVariationRangeCategoryItemList(base_category_list=(),
                           display_id='getTitle', base=1, current_category=None):
@@ -131,14 +100,12 @@
       returns a list of (category.id, category.display_id()) which are acceptable
       as discrete variation values
     """
-    pass
 
   def getVariationRangeBaseCategoryList(base_category_list=(), base=1):
     """
       returns a list of base categories which are acceptable
       as discrete variation values
     """
-    pass
 
   def getVariationRangeBaseCategoryItemList(base_category_list=(),
                           display_id='getTitle', base=1, current_category=None):
@@ -146,4 +113,3 @@
       returns a list of base category items which are acceptable
       as discrete variation values
     """
-    pass




More information about the Erp5-report mailing list