Part of lp.registry.interfaces.person View In Hierarchy
We need this special interface so we can allow people to specify a contact email address for a team upon its creation.
TextLine | contactemail | This is the email address we'll send all notifications to this team. If no contact address is chosen, notifications directed to this team will be sent to all team members. After finishing the team creation, a new message will be sent to this address with instructions on how to finish its registration. |
Inherited from IPersonPublic (via ITeam, IPerson):
Int | id | Undocumented |
Object | account | Undocumented |
Int | accountID | Undocumented |
PasswordField | password | Undocumented |
IconImageUpload | icon | A small image of exactly 14x14 pixels and at most 5kb in size, that can be used to identify this team. The icon will be displayed whenever the team name is listed - for example in listings of bugs or on a person's membership table. |
Int | iconID | Undocumented |
Int | logoID | Undocumented |
Int | mugshotID | Undocumented |
Choice | creation_rationale | Undocumented |
TextLine | creation_comment | This comment may be displayed verbatim in a web page, so it has to follow some structural constraints, that is, it must be of the form: 'when %(action_details)s' (e.g 'when the foo package was imported into Ubuntu Breezy'). The only exception to this is when we allow users to create Launchpad profiles through the /people/+newperson page. |
Attribute | registrant | The user who created this profile. |
Attribute | oauth_access_tokens | Non-expired access tokens |
Attribute | oauth_request_tokens | Non-expired request tokens |
Choice | account_status | Undocumented |
Text | account_status_comment | Undocumented |
Attribute | karma_category_caches | The caches of karma scores, by karma category. |
Bool | is_valid_person | Undocumented |
Attribute | activesignatures | Retrieve own Active CoC Signatures. |
Attribute | inactivesignatures | Retrieve own Inactive CoC Signatures. |
Attribute | signedcocs | List of Signed Code Of Conduct |
Attribute | inactive_gpg_keys | List of inactive OpenPGP keys in LP Context, ordered by ID |
Attribute | teams_with_icons | Iterable of all Teams that this person is active in that have icons |
Attribute | guessedemails | List of emails with status NEW. These email addresses probably came from a gina or POFileImporter run. |
Attribute | unvalidatedemails | Emails this person added in Launchpad but are not yet validated. |
Attribute | specifications | Any specifications related to this person, either because the are a subscriber, or an assignee, or a drafter, or the creator. Sorted newest-first. |
Attribute | assigned_specs | Specifications assigned to this person, sorted newest first. |
Attribute | assigned_specs_in_progress | Specifications assigned to this person whose implementation is started but not yet completed, sorted newest first. |
Attribute | team_mentorships | All the offers of mentoring which are relevant to this team. |
Int | teamownerID | Undocumented |
TextLine | safe_email_or_blank | The person's preferred email if they haveone and do not choose to hide it. Otherwisethe empty string. |
Bool | verbose_bugnotifications | Undocumented |
Int | merged | When a Person is merged into another Person, this attribute is set on the Person referencing the destination Person. If this is set to None, then this Person has not been merged into another and is still valid |
Attribute | title | Person Page Title |
Attribute | entitlements | List of Entitlements for this person or team. |
Attribute | structural_subscriptions | The structural subscriptions for this person. |
Attribute | visibilityConsistencyWarning | Warning that a private team may leak membership info. |
Method | personCannotHaveIcon | Only Persons can have icons. |
Method | convertToTeam | Convert this person into a team owned by the given team_owner. |
Method | createRecipe | Create a SourcePackageRecipe owned by this person. |
Method | getRecipe | Return the person's recipe with the given name. |
Method | getArchiveSubscriptionURLs | Return private archive URLs that this person can see. |
Method | getArchiveSubscriptionURL | Get a text line that is suitable to be used for a sources.list |
Method | getInvitedMemberships | Return all TeamMemberships of this team with the INVITED status. |
Method | getInactiveMemberships | Return all inactive TeamMemberships of this team. |
Method | getProposedMemberships | Return all TeamMemberships of this team with the PROPOSED status. |
Method | getBugSubscriberPackages | Return the packages for which this person is a bug subscriber. |
Method | setContactAddress | Set the given email address as this team's contact address. |
Method | setPreferredEmail | Set the given email address as this person's preferred one. |
Method | findPathToTeam | Return the teams providing membership to the given team. |
Method | isTeam | Deprecated. Use IPerson.is_team instead. |
Attribute | mailing_list | The team's mailing list, if it has one, otherwise None. |
Method | getProjectsAndCategoriesContributedTo | Return a list of dicts with projects and the contributions made |
Method | getOwnedOrDrivenPillars | Return the pillars that this person directly owns or drives. |
Method | getOwnedProjects | Projects owned by this person or teams to which she belongs. |
Method | getAllCommercialSubscriptionVouchers | Return all commercial subscription vouchers. |
Method | getRedeemableCommercialSubscriptionVouchers | Return the set of redeemable vouchers. |
Method | assignKarma | Assign karma for the action named <action_name> to this person. |
Method | latestKarma | Return the latest karma actions for this person. |
Method | iterTopProjectsContributedTo | Iterate over the top projects contributed to. |
Method | inTeam | Is this person is a member or the owner of team ? |
Method | clearInTeamCache | Clears the person's inTeam cache. |
Method | getLatestMaintainedPackages | Return `SourcePackageRelease`s maintained by this person. |
Method | getLatestUploadedButNotMaintainedPackages | Return `SourcePackageRelease`s created by this person but |
Method | getLatestUploadedPPAPackages | Return `SourcePackageRelease`s uploaded by this person to any PPA. |
Method | isUploader | Return whether this person is an uploader for distribution. |
Method | validateAndEnsurePreferredEmail | Ensure this person has a preferred email. |
Method | hasParticipationEntryFor | Return True when this person is a member of the given team. |
Method | getAdministratedTeams | Return the teams that this person/team is an administrator of. |
Method | getTeamAdminsEmailAddresses | Return a set containing the email addresses of all administrators |
Method | getLatestApprovedMembershipsForPerson | Return the <limit> latest approved membrships for this person. |
Method | getPathsToTeams | Return the paths to all teams related to this person. |
Method | addLanguage | Add a language to this person's preferences. |
Method | removeLanguage | Remove a language from this person's preferences. |
Method | isBugContributor | Is the person a contributer to bugs in Launchpad? |
Method | isBugContributorInTarget | Is the person a contributor to bugs in target ? |
Method | autoSubscribeToMailingList | Subscribe this person to a mailing list. |
Method | getPPAByName | Return a PPA with the given name if it exists. |
Inherited from IHasBranches (via ITeam, IPerson, IPersonPublic):
Method | getBranches | Returns all branches with the given lifecycle status. |
Inherited from IHasSpecifications (via ITeam, IPerson, IPersonPublic):
Attribute | all_specifications | A list of all specifications, regardless of status or approval or completion, for this object. |
Attribute | has_any_specifications | A true or false indicator of whether or not this object has any specifications associated with it, regardless of their status. |
Attribute | valid_specifications | A list of all specifications that are not obsolete. |
Attribute | latest_specifications | The latest 5 specifications registered for this context. |
Attribute | latest_completed_specifications | The 5 specifications most recently completed for this context. |
Inherited from IHasMentoringOffers (via ITeam, IPerson, IPersonPublic):
Attribute | mentoring_offers | The list of mentoring offers related to this object. |
Inherited from IHasMergeProposals (via ITeam, IPerson, IPersonPublic):
Method | getMergeProposals | Returns all merge proposals of a given status. |
Inherited from IHasLogo (via ITeam, IPerson, IPersonPublic):
Attribute | logo | The 64x64 logo. |
Inherited from IHasMugshot (via ITeam, IPerson, IPersonPublic):
Attribute | mugshot | The 192x192 mugshot. |
Inherited from IHasRequestedReviews (via ITeam, IPerson, IPersonPublic):
Method | getRequestedReviews | Returns merge proposals where a person was asked to review. |
Inherited from IObjectWithLocation (via ITeam, IPerson, IPersonPublic):
Attribute | location | An ILocation for this object. |
Inherited from IPrivacy (via ITeam, IPerson, IPersonPublic):
Bool | private | Private objects are visible to members or subscribers. |
Inherited from IHasBugs (via ITeam, IPerson, IPersonPublic):
Attribute | open_bugtasks | A list of open bugTasks for this target. |
Attribute | closed_bugtasks | A list of closed bugTasks for this target. |
Attribute | inprogress_bugtasks | A list of in-progress bugTasks for this target. |
Attribute | high_bugtasks | A list of high importance BugTasks for this target. |
Attribute | critical_bugtasks | A list of critical BugTasks for this target. |
Attribute | new_bugtasks | A list of New BugTasks for this target. |
Attribute | unassigned_bugtasks | A list of unassigned BugTasks for this target. |
Attribute | all_bugtasks | A list of all BugTasks ever reported for this target. |
Attribute | has_bugtasks | True if a BugTask has ever been reported for this target. |
Method | searchTasks | Search the IBugTasks reported on this entity. |
Method | getBugCounts | Return a dict with the number of bugs in each possible status. |
Inherited from IHasRecipes (via ITeam, IPerson, IPersonPublic):
Method | getRecipes | Returns all recipes associated with the object. |
Inherited from IPersonViewRestricted (via ITeam, IPerson):
TextLine | unique_displayname | Undocumented |
Attribute | active_member_count | The number of real people who are members of this team. |
Attribute | all_member_count | The total number of real people who are members of this team, including subteams. |
Attribute | deactivated_member_count | Number of deactivated members |
Attribute | expired_member_count | Number of EXPIRED members. |
Attribute | inactive_member_count | Number of inactive members |
Attribute | invited_member_count | Number of members with INVITED status |
Attribute | proposed_member_count | Number of PROPOSED members |
Attribute | mapped_participants_count | The number of mapped participants |
Attribute | unmapped_participants_count | The number of unmapped participants |
Method | getMappedParticipants | List of participants with coordinates. |
Method | getMappedParticipantsBounds | Return a dict of the bounding longitudes latitudes, and centers. |
Method | getMembersWithPreferredEmails | Returns a result set of persons with precached addresses. |
Method | getMembersWithPreferredEmailsCount | Returns the count of persons/teams with preferred emails. |
Method | getDirectAdministrators | Return this team's administrators. |
Method | getMembersByStatus | Return the people whose membership on this team match :status:. |
Inherited from IPersonEditRestricted (via ITeam, IPerson):
Method | join | Join the given team if its subscriptionpolicy is not RESTRICTED. |
Method | leave | Leave the given team. |
Method | setLocationVisibility | Specify the visibility of a person's location and time zone. |
Method | setMembershipData | Set the attributes of the person's membership on this team. |
Method | addMember | Add the given person as a member of this team. |
Method | acceptInvitationToBeMemberOf | Accept an invitation to become a member of the given team. |
Method | declineInvitationToBeMemberOf | Decline an invitation to become a member of the given team. |
Method | renewTeamMembership | Renew the TeamMembership for this person on the given team. |
Inherited from IPersonSpecialRestricted (via ITeam, IPerson):
Method | deactivateAccount | Deactivate this person's Launchpad account. |
Method | reactivate | Reactivate this person and its account. |
Inherited from IPersonModerate (via ITeam, IPerson):
Method | deactivateAllMembers | Deactivate all the members of this team. |
Inherited from IHasStanding (via ITeam, IPerson):
Choice | personal_standing | The standing of a person for non-member mailing list posting privileges. |
Text | personal_standing_reason | The reason the person's standing is what it is. |
Inherited from ISetLocation (via ITeam, IPerson):
Method | setLocation | Specify the location and time zone of a person. |
Inherited from IRootContext (via ITeam, IPerson):
Attribute | title | The title of the root context object. |
Inherited from ITeamPublic (via ITeam):
Method | defaultRenewalPeriodIsRequiredForSomeTeams | Teams may specify a default renewal period. |
Attribute | defaultexpirationdate | The date, according to team's default values, in which a newly approved membership will expire. |
Attribute | defaultrenewedexpirationdate | The date, according to team's default values, in which a just-renewed membership will expire. |