Part of lp.registry.browser.teammembership View In Hierarchy
Method | __init__ | Undocumented |
Method | label | Undocumented |
Method | isActive | Undocumented |
Method | isInactive | Undocumented |
Method | isAdmin | Undocumented |
Method | isProposed | Undocumented |
Method | isDeclined | Undocumented |
Method | isExpired | Undocumented |
Method | isDeactivated | Undocumented |
Method | isInvited | Undocumented |
Method | isInvitationDeclined | Undocumented |
Method | adminIsSelected | Whether the admin radiobutton should be selected. |
Method | adminIsNotSelected | Whether the not-admin radiobutton should be selected. |
Method | expiresIsSelected | Whether the expiration date radiobutton should be selected. |
Method | neverExpiresIsSelected | Whether the never-expires radiobutton should be selected. |
Method | canChangeExpirationDate | Return True if the logged in user can change the expiration date of |
Method | membershipExpires | Return True if this membership is scheduled to expire one day. |
Method | processForm | Undocumented |
Method | processActiveMember | Undocumented |
Method | processProposedMember | Undocumented |
Method | processInactiveMember | Undocumented |
Method | _setMembershipData | Set all data specified on the form, for this TeamMembership. |
Method | _getExpirationDate | Return a datetime with the expiration date selected on the form. |
Team administrators can't change the expiration date of their own membership.
Get all data from the form, together with the given status and set them for this TeamMembership object.
Returns True if we successfully set the data, False otherwise. Callsites should not commit the transaction if we return False.