Part of lp.registry.interfaces.mailinglist View In Hierarchy
| Method | getMessageByMessageID | Return the held message with the matching Message-ID. |
| Method | getHeldMessagesWithStatus | Return a sequence of message holds matching status. |
| Method | acknowledgeMessagesWithStatus | Acknowledge all the MessageApprovals with the matching status. |
| Parameters | message_id | The RFC 2822 Message-ID header. |
| Returns | The matching IMessageApproval or None if no match was found. | |
| Parameters | status | A PostedMessageStatus enum value. |
| Returns | An iterator over all the matching held messages. (type: sequence of MessageApproval) | |
This changes the statuses APPROVAL_PENDING to APPROVED, REJECTION_PENDING to REJECTED and DISCARD_PENDING to DISCARD. It is illegal to call this function when the status is not one of these states.
| Parameters | status | A PostedMessageStatus enum value. |