Computed Recipient Rules
Several computed recipients rule can be stored within a subscription
container.
XXX : has to be tested !
Methods
|
|
__init__
_createExpressionContext
getExpression
getRecipients
getRoles
|
|
__init__
|
__init__ (
self,
id,
title='',
)
Init the expression attrs
|
|
_createExpressionContext
|
_createExpressionContext ( self, context )
Create an expression context for expression evaluation
|
|
getExpression
|
getExpression ( self, context )
|
|
getRecipients
|
getRecipients (
self,
event_type,
object,
infos,
)
Get the recipients.
Returns a mapping with members and emails as keys.
|
|
getRoles
|
getRoles ( self )
Returns the roles for which the recipient rule is going to work
|
|