l.t.m.p.POTemplateSubset : class documentation

Part of lp.translations.model.potemplate View In Hierarchy

No class docstring
Method __init__ Create a new POTemplateSubset object.
Method __iter__ See IPOTemplateSubset.
Method __len__ See IPOTemplateSubset.
Method __getitem__ See IPOTemplateSubset.
Method title See IPOTemplateSubset.
Method isNameUnique See IPOTemplateSubset.
Method new See IPOTemplateSubset.
Method getPOTemplateByName See IPOTemplateSubset.
Method getPOTemplatesByTranslationDomain See IPOTemplateSubset.
Method getPOTemplateByPath See IPOTemplateSubset.
Method getAllOrderByDateLastUpdated See IPOTemplateSet.
Method getClosestPOTemplate See IPOTemplateSubset.
Method findUniquePathlessMatch See IPOTemplateSubset.
Method _build_query Construct the storm query.
Method _copyPOFilesFromSharingTemplates Undocumented
Method _getSuperSet Return the set of all POTemplates for this series and package.
def __init__(self, sourcepackagename=None, from_sourcepackagename=None, distroseries=None, productseries=None, iscurrent=None, ordered_by_names=False):
Create a new POTemplateSubset object.

The set of POTemplate depends on the arguments you pass to this constructor. The sourcepackagename, from_sourcepackagename, distroseries and productseries are just filters for that set. In addition, iscurrent sets the filter for the iscurrent flag.

def _build_query(self, additional_clause=None, ordered=True, do_prejoin=True):
Construct the storm query.
def __iter__(self):
See IPOTemplateSubset.
def __len__(self):
See IPOTemplateSubset.
def __getitem__(self, name):
See IPOTemplateSubset.
@property
def title(self):
See IPOTemplateSubset.
def _copyPOFilesFromSharingTemplates(self, template):
Undocumented
def _getSuperSet(self):
Return the set of all POTemplates for this series and package.
def isNameUnique(self, name):
See IPOTemplateSubset.
def new(self, name, translation_domain, path, owner, copy_pofiles=True):
See IPOTemplateSubset.
def getPOTemplateByName(self, name):
See IPOTemplateSubset.
def getPOTemplatesByTranslationDomain(self, translation_domain):
See IPOTemplateSubset.
def getPOTemplateByPath(self, path):
See IPOTemplateSubset.
def getAllOrderByDateLastUpdated(self):
See IPOTemplateSet.
def getClosestPOTemplate(self, path):
See IPOTemplateSubset.
def findUniquePathlessMatch(self, filename):
See IPOTemplateSubset.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.