l.b.b.b.BugViewMixin : class documentation

Part of lp.bugs.browser.bug View In Hierarchy

Known subclasses: lp.bugs.browser.bug.BugSubscriptionPortletView, lp.bugs.browser.bug.BugView, lp.bugs.browser.bugtask.BugTaskView

Mix-in class to share methods between bug and portlet views.
Method is_duplicate_active Undocumented
Method subscription_info Undocumented
Method direct_subscribers Return the list of direct subscribers.
Method duplicate_subscribers Return the list of subscribers from duplicates.
Method getSubscriptionClassForUser Return a set of CSS class names based on subscription status.
Method regular_attachments The list of bug attachments that are not patches.
Method patches The list of bug attachments that are patches.
Method current_bugtask Return the current IBugTask.
Method specifications Undocumented
Method _bug_attachments Get a dict of attachment type -> attachments list.
@cachedproperty
def is_duplicate_active(self):
Undocumented
@cachedproperty
def subscription_info(self):
Undocumented
@cachedproperty
def direct_subscribers(self):
Return the list of direct subscribers.
@cachedproperty
def duplicate_subscribers(self):
Return the list of subscribers from duplicates.

This includes all subscribers who are also direct or indirect subscribers.

def getSubscriptionClassForUser(self, subscribed_person):
Return a set of CSS class names based on subscription status.

For example, "subscribed-false dup-subscribed-true".

@cachedproperty
def _bug_attachments(self):
Get a dict of attachment type -> attachments list.
@property
def regular_attachments(self):
The list of bug attachments that are not patches.
@property
def patches(self):
The list of bug attachments that are patches.
@property
def current_bugtask(self):
Return the current IBugTask.

'current' is determined by simply looking in the ILaunchBag utility.

@property
def specifications(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2018-09-26 00:00:11.