[Zope-CVS] CVS: Products/EventListenerTool/interfaces - IEventListenerRule.py:1.3 IEventListenerTool.py:1.2

Chris McDonough chrism@zope.com
Mon, 3 Mar 2003 13:17:26 -0500


Update of /cvs-repository/Products/EventListenerTool/interfaces
In directory cvs.zope.org:/tmp/cvs-serv19978/interfaces

Modified Files:
	IEventListenerRule.py IEventListenerTool.py 
Log Message:
Merging suresh's edit changes.


=== Products/EventListenerTool/interfaces/IEventListenerRule.py 1.2 => 1.3 ===
--- Products/EventListenerTool/interfaces/IEventListenerRule.py:1.2	Wed Jan  8 14:37:06 2003
+++ Products/EventListenerTool/interfaces/IEventListenerRule.py	Mon Mar  3 13:17:20 2003
@@ -15,6 +15,11 @@
     o When an event passing the filter is received, the rule invokes
       one or more actions (see 'listActions').
     """
+    def edit( moniker, condition, actions ):
+
+        """ Edit the rule.
+        """
+    
     def getMoniker():
 
         """ Return the string representation of the event interface.


=== Products/EventListenerTool/interfaces/IEventListenerTool.py 1.1.1.1 => 1.2 ===
--- Products/EventListenerTool/interfaces/IEventListenerTool.py:1.1.1.1	Fri Jan  3 14:33:21 2003
+++ Products/EventListenerTool/interfaces/IEventListenerTool.py	Mon Mar  3 13:17:20 2003
@@ -30,6 +30,13 @@
         o Raise KeyError if a rule with that ID already exists.
         """
 
+    def editRule( rule_id, moniker, condition, actions ):
+
+        """ Edit a rule from the tool.
+
+        o Raise KeyError if no such rule exists.
+        """
+
     def deleteRule( rule_id ):
 
         """ Remove a rule from the tool.