Package Products :: Package ZenModel :: Module actions :: Class EmailAction
[hide private]
[frames] | no frames]

Class EmailAction

source code

      object --+    
               |    
     IActionBase --+
                   |
      object --+   |
               |   |
TargetableAction --+
                   |
                  EmailAction

Instance Methods [hide private]
 
__init__(self) source code
 
getDefaultData(self, dmd) source code
 
setupAction(self, dmd)
Some actions need to configure themselves with properties from the dmd.
source code
 
executeBatch(self, notification, signal, targets) source code
 
getActionableTargets(self, target) source code
 
_stripTags(self, data)
A quick html => plaintext converter that retains and displays anchor hrefs
source code
 
updateContent(self, content=None, data=None) source code

Inherited from IActionBase: configure, generateJavascriptContent, getInfo

Inherited from TargetableAction: execute, getTargets, handleExecuteError

Class Variables [hide private]
  id = 'email'
  name = 'Email'
  actionContentInfo = IEmailActionContentInfo
  shouldExecuteInBatch = True
Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: object.__init__
(inherited documentation)

getDefaultData(self, dmd)

source code 
Overrides: IActionBase.getDefaultData

setupAction(self, dmd)

source code 

Some actions need to configure themselves with properties from the dmd. This is their opportunity to do so.

Overrides: TargetableAction.setupAction
(inherited documentation)

executeBatch(self, notification, signal, targets)

source code 
Overrides: TargetableAction.executeBatch

getActionableTargets(self, target)

source code 
Parameters:
  • target (UserSettings or GroupSettings.) - This is an object that implements the IProvidesEmailAddresses interface.

_stripTags(self, data)

source code 

A quick html => plaintext converter that retains and displays anchor hrefs

stolen from the old zenactions.

To Do: needs to be updated for the new data structure?