l.r.m.m.MailingList(SQLBase) : class documentation

Part of lp.registry.model.mailinglist View In Hierarchy

The mailing list for a team.

Teams may have at most one mailing list, and a mailing list is associated with exactly one team. This table manages the state changes that a team mailing list can go through, and it contains information that will be used to instruct Mailman how to create, delete, and modify mailing lists (via XMLRPC).

Method address See IMailingList.
Method archive_url See IMailingList.
Method __repr__ Undocumented
Method startConstructing See IMailingList.
Method startUpdating See IMailingList.
Method transitionToStatus See IMailingList.
Method deactivate See IMailingList.
Method reactivate See IMailingList.
Method is_public See IMailingList.
Method is_usable See IMailingList.
Method getSubscription See IMailingList.
Method getSubscribers See IMailingList.
Method subscribe See IMailingList.
Method unsubscribe See IMailingList.
Method changeAddress See IMailingList.
Method holdMessage See IMailingList.
Method getReviewableMessages See IMailingList.
Method purge See IMailingList.
Method _setAndNotifyDateActivated Set the date_activated field and fire a
Method _get_welcome_message Undocumented
Method _set_welcome_message Undocumented

Inherited from SQLBase:

Method __init__ Extended version of the SQLObjectBase constructor.
Method destroySelf Undocumented
Method __eq__ Equality operator.
Method __ne__ Inverse of __eq__.
Method __storm_invalidated__ Flush cached properties.
Class Method _get_store Undocumented
@property
def address(self):
See IMailingList.
@property
def archive_url(self):
See IMailingList.
def __repr__(self):
Undocumented
def startConstructing(self):
See IMailingList.
def startUpdating(self):
See IMailingList.
def transitionToStatus(self, target_state):
See IMailingList.
def _setAndNotifyDateActivated(self):
Set the date_activated field and fire a SQLObjectModified event.

The date_activated field is only set once - repeated calls will not change the field's value.

Similarly, the modification event only fires the first time that the field is set.

def deactivate(self):
See IMailingList.
def reactivate(self):
See IMailingList.
@property
def is_public(self):
See IMailingList.
@property
def is_usable(self):
See IMailingList.
def _get_welcome_message(self):
Undocumented
def _set_welcome_message(self, text):
Undocumented
def getSubscription(self, person):
See IMailingList.
def getSubscribers(self):
See IMailingList.
def subscribe(self, person, address=None):
See IMailingList.
def unsubscribe(self, person):
See IMailingList.
def changeAddress(self, person, address):
See IMailingList.
def holdMessage(self, message):
See IMailingList.
def getReviewableMessages(self, message_id_filter=None):
See IMailingList.
def purge(self):
See IMailingList.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.