Part of lp.registry.browser.person View In Hierarchy
| Method | __init__ | Initialize the state based on the context and the user. |
| Method | getEmails | See INotificationRecipientSet. |
| Method | getRecipients | See INotificationRecipientSet. |
| Method | getRecipientPersons | See INotificationRecipientSet. |
| Method | __iter__ | See INotificationRecipientSet. |
| Method | __contains__ | See INotificationRecipientSet. |
| Method | __len__ | The number of recipients in the set. |
| Method | __nonzero__ | See INotificationRecipientSet. |
| Method | getReason | See INotificationRecipientSet. |
| Method | add | See INotificationRecipientSet. |
| Method | update | See INotificationRecipientSet. |
| Method | _reset_state | Reset the cache because the recipients changed. |
| Method | _getPrimaryReason | Return the primary reason enumeration. |
| Method | _getReasonAndHeader | Return the reason and header why the email was received. |
| Method | _getDescription | Return the description of the recipients being contacted. |
| Method | _all_recipients | Set the cache of all recipients. |
The recipients are determined by the relationship between the user and the context that they are contacting: another user, themselves, their team, another team.
| Parameters | user | The person doing the contacting. (type: an IPerson.) |
| person_or_team | The party that is the context of the email. (type: IPerson.) |
| Parameters | person_or_team | The party that is the context of the email. (type: IPerson.) |
| Parameters | person_or_team | The party that is the context of the email. (type: IPerson.) |
| Parameters | person_or_team | The party that is the context of the email. (type: IPerson.) |
INotificationRecipientSet.
This method sets the primary recipient of the email. If the primary recipient is a team without a contact address, all the members will be recipients. Calling this method more than once resets the recipients.
INotificationRecipientSet.
This method is is not relevant to this implementation because the set is generated based on the primary recipient. use the add() to set the primary recipient.