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
setupAction(self, dmd) Some actions need to configure themselves with properties from the dmd. | source code
executeOnTarget(self, notification, signal, target) | 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`

Class Variables | [hide private]
| id = `'email'`
| name = `'Email'`
| actionContentInfo = `IEmailActionContentInfo`

Method Details | [hide private]

### __init__(self) (Constructor) | source code
Overrides: object.__init__ (inherited documentation)

### 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)

### 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?