c.l.w.t.ProductReleaseFileFormatterAPI(ObjectFormatterAPI) : class documentation

Part of canonical.launchpad.webapp.tales View In Hierarchy

Adapter for IProductReleaseFile objects to a formatted string.
Method link A hyperlinked ProductReleaseFile.
Method url Return the URL to download the file.
Method _release Undocumented
Method _getDownloadURL Return the download URL for the given LibraryFileAlias.

Inherited from ObjectFormatterAPI:

Method __init__ Undocumented
Method api_url Return the object's (partial) canonical web service URL.
Method traverse Undocumented
Method public_private_css Return the CSS class that represents the object's privacy.
Method pagetitle The page title to be used.
def link(self, view_name):
A hyperlinked ProductReleaseFile.

This consists of a download icon, the link to the ProductReleaseFile itself (with a tooltip stating its size) and links to that file's signature and MD5 hash.

def url(self, view_name=None, rootsite=None):
Return the URL to download the file.
@property
def _release(self):
Undocumented
def _getDownloadURL(self, lfa):
Return the download URL for the given LibraryFileAlias.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.