l.b.b.b.BugTaskTableRowView(LaunchpadView, BugTaskBugWatchMixin, BugTaskPrivilegeMixin) : class documentation

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

Browser class for rendering a bugtask row on the bug page.
Method __init__ Undocumented
Method api_request Undocumented
Method initialize Undocumented
Method canSeeTaskDetails Whether someone can see a task's status details.
Method getSeriesTargetName Get the series to which this task is targeted.
Method getConjoinedMasterName Get the conjoined master's name for displaying.
Method bugtask_icon Which icon should be shown for the task, if any?
Method displayEditForm Return true if the BugTask edit form should be shown.
Method status_widget_items The available status items as JSON.
Method importance_widget_items The available status items as JSON.
Method milestone_widget_items The available milestone items as JSON.
Method bugtask_canonical_url Return the canonical url for the bugtask.
Method user_can_edit_importance Can the user edit the Importance field?
Method user_can_edit_status Can the user edit the Status field?
Method user_can_edit_assignee Can the user edit the Assignee field?
Method user_can_delete_bugtask Can the user delete the bug task?
Method style_for_add_milestone Undocumented
Method style_for_edit_milestone Undocumented
Method bugtask_config Configuration for the bugtask JS widgets on the row.
Method _getSeriesTargetNameHelper Return the short name of bugtask's targeted series.
Method _visible_milestones The visible milestones for this context.

Inherited from BugTaskBugWatchMixin:

Method bug_watch_error_message Return a browser-useable error message for a bug watch.

Inherited from BugTaskPrivilegeMixin:

Method user_has_privileges Is the user privileged? That is, an admin, pillar owner, driver
def __init__(self, context, request):
Undocumented
@cachedproperty
def api_request(self):
Undocumented
def initialize(self):
Undocumented
def canSeeTaskDetails(self):
Whether someone can see a task's status details.

Return True if this is not a conjoined task, and the bug is not a duplicate, and a question was not made from this report. It is independent of whether they can change the status; you need to expand the details to see any milestone set.

def _getSeriesTargetNameHelper(self, bugtask):
Return the short name of bugtask's targeted series.
def getSeriesTargetName(self):
Get the series to which this task is targeted.
def getConjoinedMasterName(self):
Get the conjoined master's name for displaying.
@property
def bugtask_icon(self):
Which icon should be shown for the task, if any?
def displayEditForm(self):
Return true if the BugTask edit form should be shown.
@property
def status_widget_items(self):
The available status items as JSON.
@property
def importance_widget_items(self):
The available status items as JSON.
@cachedproperty
def _visible_milestones(self):
The visible milestones for this context.
@property
def milestone_widget_items(self):
The available milestone items as JSON.
def bugtask_canonical_url(self):
Return the canonical url for the bugtask.
@cachedproperty
def user_can_edit_importance(self):
Can the user edit the Importance field?

If yes, return True, otherwise return False.

@cachedproperty
def user_can_edit_status(self):
Can the user edit the Status field?

If yes, return True, otherwise return False.

@property
def user_can_edit_assignee(self):
Can the user edit the Assignee field?

If yes, return True, otherwise return False.

@cachedproperty
def user_can_delete_bugtask(self):
Can the user delete the bug task?

If yes, return True, otherwise return False.

@property
def style_for_add_milestone(self):
Undocumented
@property
def style_for_edit_milestone(self):
Undocumented
def bugtask_config(self):
Configuration for the bugtask JS widgets on the row.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.