l.c.b.b.ProductBranchesView(ProductBranchListingView, SortSeriesMixin, ProductDownloadFileMixin, BranchMirrorMixin) : class documentation

Part of lp.code.browser.branchlisting View In Hierarchy

Initial view for products on the code virtual host.
Method initial_values Override this in your subclass if you want any widgets to have
Method initial_branches Return the series branches, followed by most recently changed.
Method has_development_focus_branch Is there a branch assigned as development focus?
Method _getSeriesBranches Get the series branches for the product, dev focus first.
Method _branches Return the series branches, followed by most recently changed.

Inherited from ProductBranchListingView:

Method development_focus_branch Undocumented
Method no_branch_message This may also be overridden in derived classes to provide
Method can_configure_branches Whether or not the user can configure branches.
Method _getCollection Override this to say what branches will be in the listing.

Inherited from BranchListingView (via ProductBranchListingView):

Method show_git_link Undocumented
Method template Undocumented
Method selected_lifecycle_status Undocumented
Method branches All branches related to this target, sorted for display.
Method getVisibleBranchesForUser Get branches visible to the user.
Method hasAnyBranchesVisibleByUser Does the context have any branches that are visible to the user?
Method branch_count The number of total branches the user can see.
Method is_branch_count_zero Is the number of total branches the user can see zero?.
Method branch_listing_sort_values The enum items we should present in the 'sort_by' widget.
Method sort_by_field The zope.schema field for the 'sort_by' widget.
Method sort_by The value of the sort_by widget, or None if none was present.
Method setUpWidgets Set up the 'sort_by' widget with only the applicable choices.
Method default_information_type The default information type for new branches.
Method default_information_type_title The title of the default information type for new branches.
Method default_information_type_is_private The title of the default information type for new branches.

Inherited from LaunchpadFormView (via ProductBranchListingView, BranchListingView):

Method __init__ Undocumented
Method initialize Undocumented
Method render Return the body of the response.
Method extendFields Allow subclasses to extend the form fields.
Method setUpFields Undocumented
Method help_links Dictionary mapping field names to help links.
Method adapters Provide custom adapters for use when setting up the widgets.
Method action_url Set the default action URL for the form.
Method has_available_actions Does the view have any available actions that will render?
Method addError Add a form wide error.
Method getFieldError Get the error associated with a particular field.
Method setFieldError Set the error associated with a particular field.
Static Method validate_none Do not do any validation.
Method validate_widgets Validate the named form widgets.
Method error_count Undocumented
Method ajax_failure_handler Called by the form if validate() finds any errors.
Method validate Validate the form.
Method validate_cancel Noop validation in case we cancel.
Method focusedElementScript Helper function to construct the script element content.
Method isSingleLineLayout Undocumented
Method isMultiLineLayout Undocumented
Method isCheckBoxLayout Undocumented
Method showOptionalMarker Should the (Optional) marker be shown?
Method _processNotifications Add any notification messages to the response headers.
Method _abort Abort the form edit.
Method _validate Check all widgets and perform any custom validation.

Inherited from FeedsMixin (via ProductBranchListingView, BranchListingView):

Method feed_links Undocumented

Inherited from SortSeriesMixin:

Method sorted_series_list Return a sorted list of series.
Method sorted_active_series_list Like sorted_series_list() but filters out OBSOLETE series.
Method _sorted_filtered_list Return a sorted, filtered list of series.

Inherited from ProductDownloadFileMixin:

Method product Product with all series, release and file data cached.
Method deleteFiles Delete the selected files from the set of releases.
Method getReleases Find the releases with download files for view.
Method processDeleteFiles If the 'delete_files' button was pressed, process the deletions.
Method latest_release_with_download_files Return the latest release with download files.
Method has_download_files Undocumented

Inherited from BranchMirrorMixin:

Method mirror_location Check the mirror location to see if it is a private one.
@property
def initial_values(self):
Override this in your subclass if you want any widgets to have initial values.
def _getSeriesBranches(self):
Get the series branches for the product, dev focus first.
@cachedproperty
def initial_branches(self):
Return the series branches, followed by most recently changed.
def _branches(self, lifecycle_status):
Return the series branches, followed by most recently changed.
@property
def has_development_focus_branch(self):
Is there a branch assigned as development focus?
API Documentation for Launchpad, generated by pydoctor at 2020-08-12 00:00:04.