l.r.b.RegistryDeleteViewMixin : class documentation

Part of lp.registry.browser View In Hierarchy

Known subclasses: lp.registry.browser.milestone.MilestoneDeleteView, lp.registry.browser.productrelease.ProductReleaseDeleteView, lp.registry.browser.productseries.ProductSeriesDeleteView

A mixin class that provides common behaviour for registry deletions.
Method cancel_url The context's URL.
Method _getBugtasks Return the list `IBugTask`s associated with the target.
Method _getProductRelease The IProductRelease associated with the milestone.
Method _getProductReleaseFiles The list of `IProductReleaseFile`s related to the milestone.
Method _unsubscribe_structure Removed the subscriptions from structure.
Method _remove_series_bugs_and_specifications Untarget the associated bugs and specifications.
Method _deleteProductSeries Remove the series and delete/unlink related objects.
Method _deleteMilestone Delete a milestone and unlink related objects.
Method _deleteRelease Delete a release and it's files.
@property
def cancel_url(self):
The context's URL.
def _getBugtasks(self, target, ignore_privacy=False):
Return the list `IBugTask`s associated with the target.
def _getProductRelease(self, milestone):
The IProductRelease associated with the milestone.
def _getProductReleaseFiles(self, milestone):
The list of `IProductReleaseFile`s related to the milestone.
def _unsubscribe_structure(self, structure):
Removed the subscriptions from structure.
def _remove_series_bugs_and_specifications(self, series):
Untarget the associated bugs and specifications.
def _deleteProductSeries(self, series):
Remove the series and delete/unlink related objects.

All subordinate milestones, releases, and files will be deleted. Milestone bugs and blueprints will be untargeted. Series bugs and blueprints will be untargeted. Series and milestone structural subscriptions are unsubscribed. Series branches are unlinked.

def _deleteMilestone(self, milestone):
Delete a milestone and unlink related objects.
def _deleteRelease(self, release):
Delete a release and it's files.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.