Part of lp.translations.interfaces.pofile View In Hierarchy
Method | getDummy | Return a dummy pofile for the given po template and language. |
Method | getPOFilesByPathAndOrigin | Find `IPOFile`s with 'path' in productseries or source package. |
Method | getBatch | Read up to batch_size `POFile`s, starting at given id. |
Method | getPOFilesWithTranslationCredits | Get POFiles with potential translation credits messages. |
Method | getPOFilesTouchedSince | Return IDs for PO files that might have been updated since date . |
Find `IPOFile`s with 'path' in productseries or source package. We filter the `IPOFile` objects to check only the ones related to the given arguments 'productseries', 'distroseries' and 'sourcepackagename'. :return: A Storm result set of matching `POFile`s.
Read up to batch_size `POFile`s, starting at given id. Returns a sequence of consecutive `POFile`s (ordered by id), starting the smallest id that is no greater than starting_id. The number of items in the sequence will only be less than batch_size if the end of the table has been reached.