[Zope3-checkins] SVN: Zope3/trunk/src/zope/wfmc/interfaces.py Added
some additional details to the interfaces.
Jim Fulton
jim at zope.com
Thu Feb 24 09:22:34 EST 2005
Log message for revision 29281:
Added some additional details to the interfaces.
Changed:
U Zope3/trunk/src/zope/wfmc/interfaces.py
-=-
Modified: Zope3/trunk/src/zope/wfmc/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/wfmc/interfaces.py 2005-02-24 11:07:54 UTC (rev 29280)
+++ Zope3/trunk/src/zope/wfmc/interfaces.py 2005-02-24 14:22:34 UTC (rev 29281)
@@ -24,6 +24,24 @@
id = interface.Attribute("Process-definition identifier")
+ __name__ = interface.Attribute("Name")
+
+ description = interface.Attribute("Description")
+
+ participants = interface.Attribute(
+ """Process participants
+
+ This is a mapping from participant id to participant definitions
+ """
+ )
+
+ applications = interface.Attribute(
+ """Process applications
+
+ This is a mapping from application id to participant definitions
+ """
+ )
+
def defineActivities(**activities):
"""Add activity definitions to the collection of defined activities
@@ -158,6 +176,10 @@
"""Application definition
"""
+ __name__ = interface.Attribute("Name")
+
+ description = interface.Attribute("Description")
+
parameters = interface.Attribute(
"A sequence of parameter definitions")
@@ -179,6 +201,10 @@
"""Workflow participant
"""
+ __name__ = interface.Attribute("Name")
+
+ description = interface.Attribute("Description")
+
class IWorkItem(interface.Interface):
"""Work items
"""
More information about the Zope3-Checkins
mailing list