Part of lp.translations.interfaces.translatedlanguage View In Hierarchy
IPOFile`s for (`ILanguage
, ITranslationTemplateCollection
).
This is a wrapper for Storm ResultSet that enables optimized slicing by doing it lazily on the query, thus allowing DummyPOFile objects to be returned while still not doing more than one database query.
It subclasses IFiniteSequence
so it can easily be used with the
BatchNavigator.
Method | __getitem__ | Get an element or slice of `IPOFile`s for given templates. |
Method | __getslice__ | Deprecated, and implemented through __getitem__. |
Method | __iter__ | Iterates over all `IPOFile`s for given templates. |
Method | __len__ | Provides count of `IPOTemplate`s in a template collection. |