Part of lp.registry.interfaces.product View In Hierarchy
Known implementations: lp.registry.model.product.Product
The Launchpad Registry describes the open source world as ProjectGroups and Products. Each ProjectGroup may be responsible for several Products. For example, the Mozilla Project has Firefox, Thunderbird and The Mozilla App Suite as Products, among others.
Inherited from IHasBugSupervisor:
Method | setBugSupervisor | Set the bug contact and create a bug subscription. |
Inherited from IOfficialBugTagTargetRestricted (via IProductEditRestricted):
Method | addOfficialBugTag | Add tag to the official bug tags of this target. |
Method | removeOfficialBugTag | Remove tag from the official bug tags of this target. |
Inherited from IProductDriverRestricted:
Method | newSeries | Creates a new IProductSeries for this IProduct . |
Inherited from IProductPublic:
Int | id | Undocumented |
Attribute | drivers | Presents the drivers of this project as a list. A list is required because there might be a project driver and also a driver appointed in the overarching project group. |
Text | homepage_content | The content of this project's home page. Edit this and it will be displayed for all the world to see. It is NOT a wiki so you cannot undo changes. |
Bool | autoupdate | Whether or not this project's attributes are updated automatically. |
Bool | private_bugs | Whether or not bugs reported into this project are private by default. |
Attribute | sourcepackages | List of packages for this product |
Attribute | distrosourcepackages | List of distribution packages for this product |
Attribute | ubuntu_packages | List of distribution packages for this product in Ubuntu |
Attribute | development_focusID | The development focus ID. |
Attribute | name_with_project | Returns the product name prefixed by the project name, if a project is associated with this product; otherwise, simply returns the product name. |
Attribute | translatable_packages | A list of the source packages for this product that can be translated sorted by distroseries.name and sourcepackage.name. |
Attribute | translatable_series | A list of the series of this product for which we have translation templates. |
Attribute | obsolete_translatable_series | A list of the series of this product with obsolete translation |
Attribute | primary_translatable | The best guess we have for what new translators will want to translate for a given product: the latest series for which we have templates, and failing that, an Ubuntu package. |
Attribute | translationgroups | The list of applicable translation groups for a product. There can be several: one from the product, and potentially one from the project, too. |
Attribute | aggregatetranslationpermission | The translation permission that applies to translations in this product, based on the permissions that apply to the product as well as its project. |
Attribute | license_status | Whether the license is OPENSOURCE, UNREVIEWED, or PROPRIETARY. |
Method | redeemSubscriptionVoucher | Redeem a voucher and extend the subscription expiration date. |
Method | getPackage | Return a package in that distroseries for this product. |
Method | getSeries | Return the series for this product for the given name, or None. |
Method | getRelease | Return the release for this product that has the version given. |
Method | getMilestonesAndReleases | Return all the milestones and releases for this product. |
Method | packagedInDistros | Returns the distributions this product has been packaged in. |
Method | userCanEdit | Can the user edit this product? |
Method | getLinkedBugWatches | Return all the bug watches that are linked to this Product. |
Method | getTimeline | Return basic timeline data useful for creating a diagram. |
Inherited from IBugTarget (via IProductPublic):
Attribute | bugtargetdisplayname | A display name for this bug target |
Attribute | bugtargetname | The target as shown in mail notifications. |
Method | createBug | Create a new bug on this target. |
Inherited from IHasBugs (via IProductPublic, IBugTarget):
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 ICanGetMilestonesDirectly (via IProductPublic):
Method | getMilestone | Return a milestone with the given name for this object, or None. |
Inherited from IHasAppointedDriver (via IProductPublic):
Choice | driver | Undocumented |
Inherited from IHasBranches (via IProductPublic):
Method | getBranches | Returns all branches with the given lifecycle status. |
Inherited from IHasBranchVisibilityPolicy (via IProductPublic):
Method | getBranchVisibilityTeamPolicies | The branch visibility team policy items. |
Method | getBaseBranchVisibilityRule | Return the BranchVisibilityRule that applies to everyone. |
Method | getBranchVisibilityRuleForTeam | Return the defined visibility rule for the team. |
Method | getBranchVisibilityRuleForBranch | Return the most specific visibility rule for a branch. |
Method | isUsingInheritedBranchVisibilityPolicy | Return True if using policy from the inherited context. |
Method | setBranchVisibilityTeamPolicy | Set the policy for the team. |
Method | removeTeamFromBranchVisibilityPolicy | Remove the team from the policy list. |
Inherited from IHasExternalBugTracker (via IProductPublic):
Method | getExternalBugTracker | Return the external bug tracker used by this bug tracker. |
Inherited from IHasIcon (via IProductPublic):
Attribute | icon | The 14x14 icon. |
Inherited from IHasLogo (via IProductPublic):
Attribute | logo | The 64x64 logo. |
Inherited from IHasMentoringOffers (via IProductPublic):
Attribute | mentoring_offers | The list of mentoring offers related to this object. |
Inherited from IHasMergeProposals (via IProductPublic):
Method | getMergeProposals | Returns all merge proposals of a given status. |
Inherited from IHasMilestones (via IProductPublic):
Bool | has_milestones | Undocumented |
Inherited from IHasMugshot (via IProductPublic):
Attribute | mugshot | The 192x192 mugshot. |
Inherited from IHasOwner (via IProductPublic):
Attribute | owner | The object's owner, which is an IPerson. |
Inherited from IHasSprints (via IProductPublic):
Attribute | coming_sprints | A list of up to 5 events currently on, or soon to be on, that are relevant to this context. |
Attribute | sprints | All sprints relevant to this context. |
Attribute | past_sprints | Sprints that occured in the past. |
Inherited from ITranslationPolicy (via IProductPublic):
Choice | translationgroup | The translation group that helps review translations for this project or distribution. The group's role depends on the permissions policy selected below. |
Choice | translationpermission | The policy this project or distribution uses to balance openness and control for their translations. |
Inherited from IKarmaContext (via IProductPublic):
Method | getTopContributorsGroupedByCategory | Return a dict mapping categories to the top contributors (and their |
Method | getTopContributors | Return the people with the highest amount of Karma, and their |
Inherited from ILaunchpadUsage (via IProductPublic):
Bool | official_answers | Undocumented |
Bool | official_blueprints | Undocumented |
Bool | official_codehosting | Undocumented |
Bool | official_malone | Undocumented |
Bool | official_rosetta | Undocumented |
Bool | official_anything | Undocumented |
Bool | enable_bug_expiration | Undocumented |
Inherited from IMakesAnnouncements (via IProductPublic):
Method | announce | Create a Announcement for this project. |
Inherited from IHasAnnouncements (via IProductPublic, IMakesAnnouncements):
Method | getAnnouncement | Return the requested announcement. |
Method | getAnnouncements | Return a list of announcements visible to this user. |
Inherited from IHasOfficialBugTags (via IProductPublic, IOfficialBugTagTargetPublic):
Method | getUsedBugTags | Return the tags used by the context as a sorted list of strings. |
Method | getUsedBugTagsWithOpenCounts | Return name and bug count of tags having open bugs. |
Method | _getOfficialTagClause | Get the storm clause for finding this targets tags. |
Inherited from ISpecificationTarget (via IProductPublic):
Method | getSpecification | Returns the specification with the given name, for this target, |
Inherited from IHasSpecifications (via IProductPublic, ISpecificationTarget):
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. |
Method | specifications | Specifications for this target. |
Inherited from IHasRecipes (via IProductPublic):
Method | getRecipes | Returns all recipes associated with the object. |
Inherited from IHasCodeImports (via IProductPublic):
Method | newCodeImport | Create a new code import. |
Inherited from IServiceUsage (via IProductPublic):
Choice | answers_usage | Where does this pillar have an Answers forum? |
Choice | blueprints_usage | Where does this pillar host blueprints? |
Choice | codehosting_usage | Where does this pillar host code? |
Choice | translations_usage | Where does this pillar do translations? |
Choice | bug_tracking_usage | Where does this pillar track bugs? |
Bool | uses_launchpad | Undocumented |
Inherited from IRootContext:
Attribute | title | The title of the root context object. |
Inherited from IStructuralSubscriptionTarget:
Method | getSubscriptions | Return all the subscriptions with the specified levels. |
Attribute | parent_subscription_target | The target's parent, or None if one doesn't exist. |
Method | userCanAlterSubscription | Check if a user can change a subscription for a person. |
Method | addSubscription | Add a subscription for this structure. |
Method | userCanAlterBugSubscription | Check if a user can change a bug subscription for a person. |
Method | addBugSubscription | Add a bug subscription for this structure. |
Method | removeBugSubscription | Remove a subscription to bugs from this structure. |
Method | getSubscription | Return the subscription for person , if it exists. |
Method | getBugNotificationsRecipients | Return the set of bug subscribers to this target. |
Attribute | target_type_display | The type of the target, for display. |
Method | userHasBugSubscriptions | Is user subscribed, directly or via a team, to bug mail? |