Commit b10830ef authored by Jérome Perrin's avatar Jérome Perrin

interfaces should not have a "self" argument in method signatures


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34414 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c0771cfb
......@@ -89,6 +89,6 @@ class IBusinessProcess(IBusinessCompletable, IBusinessBuildable):
cause of a root applied rule in the simulation
"""
def getTradePhaseList(self):
def getTradePhaseList():
"""Returns list of all trade_phase of this Business Process
"""
......@@ -66,7 +66,7 @@ class IDivergenceController(Interface):
or a list thereof
"""
def getDivergenceList(self, movement=None):
def getDivergenceList(movement=None):
"""
Returns a list of divergences of the movements provided
in delivery_or_movement.
......
......@@ -37,7 +37,7 @@ class IRule(IMovementCollectionUpdater):
Documents which implement IRule can be used to
expand applied rules in ERP5 simulation.
"""
def constructNewAppliedRule(self, context, id=None,
def constructNewAppliedRule(context, id=None,
activate_kw=None, **kw):
"""
Create a new applied rule in the context.
......
......@@ -78,7 +78,7 @@ class IVariated(Interface):
omit_individual_variation --
"""
def getVariationBaseCategoryItemList(self, display_id='title_or_id',
def getVariationBaseCategoryItemList(display_id='title_or_id',
omit_optional_variation=0, omit_individual_variation=0):
"""
returns a list of (base_category.id, base_category.display_id())
......@@ -94,7 +94,7 @@ class IVariated(Interface):
omit_individual_variation --
"""
def getVariationCategoryList(self, base_category_list=(),
def getVariationCategoryList(base_category_list=(),
omit_optional_variation=0, omit_individual_variation=0):
"""
returns a list or relative URLs which defines
......@@ -238,7 +238,7 @@ class IVariated(Interface):
"""
# Serialization API
def getVariationText(self):
def getVariationText():
"""
returns a human readable, computer parsable,
non ambiguous string representation of the variation
......
......@@ -81,7 +81,7 @@ class IVariationRange(Interface):
XXX - missing default display ID
"""
def getMatrixVariationRangeBaseCategoryList(self):
def getMatrixVariationRangeBaseCategoryList():
"""
return possible variation dimensions for a matrix
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment