[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/workflow - __init__.py:1.3
Ulrich Eck
ueck@net-labs.de
Sun, 2 Feb 2003 13:57:48 -0500
Update of /cvs-repository/Zope3/src/zope/app/interfaces/workflow
In directory cvs.zope.org:/tmp/cvs-serv25114
Modified Files:
__init__.py
Log Message:
added name to IProcessInstance
=== Zope3/src/zope/app/interfaces/workflow/__init__.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/interfaces/workflow/__init__.py:1.2 Sat Feb 1 14:19:03 2003
+++ Zope3/src/zope/app/interfaces/workflow/__init__.py Sun Feb 2 13:57:46 2003
@@ -41,6 +41,10 @@
"""Return the IProcessDefinition for the name.
"""
+ def queryProcessDefinition(name, default=None):
+ """Return the IProcessDefinition for the name or default.
+ """
+
def createProcessInstance(definition_name):
"""Create a process instance from a process definition.
"""
@@ -79,9 +83,11 @@
Represents the instance of a process defined by a ProcessDefinition.
"""
+ name = Attribute("The Name of the ProcessInstance.")
+
status = Attribute("The state in which the workitem is.")
- processDefinition = Attribute("The process definition.")
+ processDefinitionName = Attribute("The process definition Name.")