l.r.i.m.IMilestoneData(IHasBugs, IStructuralSubscriptionTarget, IHasOfficialBugTags) : interface documentation

Part of lp.registry.interfaces.milestone View In Hierarchy

Known subclasses: lp.registry.interfaces.milestone.IAbstractMilestone, lp.registry.interfaces.milestonetag.IProjectGroupMilestoneTag

Interface containing the data for milestones.

To be registered for views but not instantiated.

Int id Undocumented
Attribute displayname A displayname constructed from the name.
Method bugtasks Get a list of non-conjoined bugtasks visible to this user.
Method getSpecifications Return the specifications visible to this user.

Inherited from IHasBugs:

Method searchTasks Search the IBugTasks reported on this entity.
Method getBugTaskWeightFunction Return a function that is used to weight the bug tasks.

Inherited from IStructuralSubscriptionTargetRead (via 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.
Attribute bug_subscriptions All subscriptions to bugs at the METADATA level or higher.
Method userCanAlterSubscription Check if a user can change a subscription for a person.
Method userCanAlterBugSubscription Check if a user can change a bug subscription for a person.
Method getSubscription Return the subscription for person, if it exists.
Attribute target_type_display The type of the target, for display.
Method userHasBugSubscriptions Is user subscribed, directly or via a team, to bug mail?

Inherited from IStructuralSubscriptionTargetWrite (via IStructuralSubscriptionTarget):

Method addSubscription Add a subscription for this structure.
Method addBugSubscription Add a bug subscription for this structure.
Method addBugSubscriptionFilter Add a bug subscription filter for this structure.
Method removeBugSubscription Remove a subscription to bugs from this structure.

Inherited from IHasOfficialBugTags:

Method getUsedBugTagsWithOpenCounts Return name and bug count of tags having open bugs.
Method _getOfficialTagClause Get the storm clause for finding this targets tags.
id =
Undocumented
displayname =
A displayname constructed from the name.
def bugtasks(user):
Get a list of non-conjoined bugtasks visible to this user.
def getSpecifications(user):
Return the specifications visible to this user.
API Documentation for Launchpad, generated by pydoctor at 2019-10-23 00:00:07.