Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
plone.app.contentrules.actions.notify.NotifyActionExecutor Class Reference

List of all members.

Public Member Functions

def __init__
def __call__

Public Attributes

 context
 element
 event

Detailed Description

The executor for this action.

This is registered as an adapter in configure.zcml

Definition at line 47 of file notify.py.


Constructor & Destructor Documentation

def plone.app.contentrules.actions.notify.NotifyActionExecutor.__init__ (   self,
  context,
  element,
  event 
)

Definition at line 55 of file notify.py.

00055 
00056     def __init__(self, context, element, event):
00057         self.context = context
00058         self.element = element
00059         self.event = event

Here is the caller graph for this function:


Member Function Documentation

Definition at line 60 of file notify.py.

00060 
00061     def __call__(self):
00062         request = self.context.REQUEST
00063         message = PloneMessageFactory(self.element.message)
00064         message_type = self.element.message_type
00065         IStatusMessage(request).addStatusMessage(message, type=message_type)
00066         return True 
        

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 56 of file notify.py.

Definition at line 57 of file notify.py.

Definition at line 58 of file notify.py.


The documentation for this class was generated from the following file: