[Erp5-report] r30622 - /erp5/trunk/products/ERP5Type/Interactor/Interactor.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Sun Nov 15 09:53:02 CET 2009
Author: jp
Date: Sun Nov 15 09:53:02 2009
New Revision: 30622
URL: http://svn.erp5.org?rev=30622&view=rev
Log:
Added comments.
Modified:
erp5/trunk/products/ERP5Type/Interactor/Interactor.py
Modified: erp5/trunk/products/ERP5Type/Interactor/Interactor.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Interactor/Interactor.py?rev=30622&r1=30621&r2=30622&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Interactor/Interactor.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Interactor/Interactor.py [utf8] Sun Nov 15 09:53:02 2009
@@ -115,13 +115,24 @@
class Interactor:
"""
- Interactor base class.
+ Interactor base class.
+
+ TODO:
+ - implement uninstall in a generic way
+ at the Interactor base class level
"""
def install(self):
+ """
+ Install the interactions. This method must be subclassed.
+ """
raise NotImplementedError
def uninstall(self):
+ """
+ Uninstall the interactions. Default implementation is provided
+ by Interactor base class.
+ """
raise NotImplementedError
# Interaction implementation
More information about the Erp5-report
mailing list