Part of lp.registry.interfaces.webservice View In Hierarchy
| Method | setTags | Set the milestone tags. |
| Method | getTagsData | Return MilestoneTag instances associated with milestone. |
| Method | getTags | Return the milestone tags in alphabetical order. |
| Method | userCanView | True if the given user has access to this product. |
Inherited from IAbstractMilestone:
| Choice | product | The project to which this milestone is associated |
| Choice | distribution | The distribution to which this milestone belongs. |
| Choice | productseries | The product series for which this is a milestone. |
| Choice | distroseries | The distribution series for which this is a milestone. |
| Method | createProductRelease | Create a new ProductRelease. |
| Method | closeBugsAndBlueprints | Close completed bugs and blueprints. |
| Method | destroySelf | Delete this milestone. |
Inherited from IMilestoneData (via IAbstractMilestone):
| 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 (via IAbstractMilestone, IMilestoneData):
| 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 IAbstractMilestone, IMilestoneData, 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 IAbstractMilestone, IMilestoneData, 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 (via IAbstractMilestone, IMilestoneData):
| Method | getUsedBugTagsWithOpenCounts | Return name and bug count of tags having open bugs. |
| Method | _getOfficialTagClause | Get the storm clause for finding this targets tags. |
Note that this is not a property because, while the current user is needed to store tags metadata, it is desirable to avoid using thread locals to get the current request in models.
| Parameters | tags The list of tags to be associated with milestone. | |
| user The user who is updating tags for this milestone. | ||
See above the IMilestone.setTags docstring for an explanation of why this is not a property.