Part of lp.translations.model.potemplate View In Hierarchy
Method | restrictProductSeries | Undocumented |
Method | restrictDistroSeries | Undocumented |
Method | restrictSourcePackageName | Undocumented |
Method | restrictCurrent | Select based on POTemplate.iscurrent . |
Method | restrictName | Select based on POTemplate.name . |
Method | joinPOFile | Join POFile into the collection. |
Method | joinOuterPOFile | Outer-join POFile into the collection. |
Inherited from Collection:
Method | __init__ | Construct a collection, possibly based on another one. |
Method | refine | Return a copy of self with further restrictions, tables etc. |
Method | use | Return a copy of this collection that uses the given store. |
Method | joinInner | Convenience method: inner-join cls into the query. |
Method | joinOuter | Outer-join cls into the query. |
Method | select | Return a result set containing the requested values . |
Method | _parseTablesArg | Turn tables argument into a list. |
POTemplate.iscurrent
.Parameters | current_value | The value for iscurrent that you are
looking for. Defaults to True, meaning this will restrict
to current templates. If False, will select obsolete
templates instead. |
Returns | A TranslationTemplatesCollection based on this one,
but restricted to ones with the desired iscurrent value. |
POTemplate.name
.Parameters | template | The value for name that you are looking for. |
Returns | A TranslationTemplatesCollection based on this one but
restricted to ones with the desired `name value. |
POFile
into the collection.Returns | A TranslationTemplatesCollection with an added inner
join to POFile . |
POFile
into the collection.Returns | A TranslationTemplatesCollection with an added outer
join to POFile . |