[CMF-checkins] CVS: CMF/CMFCore/interfaces - portal_memberdata.py:1.5.12.2 portal_metadata.py:1.3.50.2 portal_workflow.py:1.10.12.3
Yvo Schubbe
schubbe@web.de
Fri, 20 Dec 2002 11:39:30 -0500
Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv21305/CMFCore/interfaces
Modified Files:
Tag: yuppie-collector096-branch
portal_memberdata.py portal_metadata.py portal_workflow.py
Log Message:
more interface cleanups:
- added interface tests and made them pass
=== CMF/CMFCore/interfaces/portal_memberdata.py 1.5.12.1 => 1.5.12.2 ===
--- CMF/CMFCore/interfaces/portal_memberdata.py:1.5.12.1 Thu Dec 19 13:20:07 2002
+++ CMF/CMFCore/interfaces/portal_memberdata.py Fri Dec 20 11:39:30 2002
@@ -10,7 +10,7 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-""" Membership data storage tool interface.
+""" Memberdata storage tool interface.
$Id$
"""
=== CMF/CMFCore/interfaces/portal_metadata.py 1.3.50.1 => 1.3.50.2 ===
--- CMF/CMFCore/interfaces/portal_metadata.py:1.3.50.1 Thu Dec 19 17:09:03 2002
+++ CMF/CMFCore/interfaces/portal_metadata.py Fri Dec 20 11:39:30 2002
@@ -10,7 +10,7 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-""" Metadata tool interface.
+""" Metadata registration tool interface.
$Id$
"""
@@ -27,6 +27,7 @@
"""
CMF metadata policies interface.
"""
+ id = Attribute('id', 'Must be set to "portal_metadata"')
#
# Site-wide queries.
=== CMF/CMFCore/interfaces/portal_workflow.py 1.10.12.2 => 1.10.12.3 ===
--- CMF/CMFCore/interfaces/portal_workflow.py:1.10.12.2 Thu Dec 19 17:09:20 2002
+++ CMF/CMFCore/interfaces/portal_workflow.py Fri Dec 20 11:39:30 2002
@@ -164,7 +164,7 @@
'''
# security.declarePrivate('doActionFor')
- def doActionFor(ob, action, *args, **kw):
+ def doActionFor(ob, action, comment=''):
'''
Invoked by the portal_workflow tool.
Allows the user to request a workflow action. This method
@@ -179,7 +179,7 @@
'''
# security.declarePrivate('getInfoFor')
- def getInfoFor(ob, name, default, *args, **kw):
+ def getInfoFor(ob, name, default):
'''
Invoked by the portal_workflow tool.
Allows the user to request information provided by the