l.s.m.b.BinaryAndSourcePackageNameVocabulary(NamedSQLObjectHugeVocabulary) : class documentation

Part of lp.soyuz.model.binaryandsourcepackagename View In Hierarchy

A vocabulary for searching for binary and sourcepackage names.

This is useful for, e.g., reporting a bug on a 'package' when a reporter often has no idea about whether they mean a 'binary package' or a 'source package'.

The value returned by a widget using this vocabulary will be either an ISourcePackageName or an IBinaryPackageName.

Method getTermByToken See IVocabularyTokenized.

Inherited from NamedSQLObjectHugeVocabulary:

Method __init__ Undocumented
Method search Return terms where query is a subtring of the name.
Method searchForTerms Undocumented

Inherited from NamedSQLObjectVocabulary (via NamedSQLObjectHugeVocabulary):

Method toTerm See SQLObjectVocabularyBase.

Inherited from SQLObjectVocabularyBase (via NamedSQLObjectHugeVocabulary, NamedSQLObjectVocabulary):

Method __iter__ Return an iterator which provides the terms from the vocabulary.
Method __len__ Undocumented
Method __contains__ Undocumented
Method getTerm Undocumented
Method emptySelectResults Return a SelectResults object without any elements.

Inherited from FilteredVocabularyBase (via NamedSQLObjectHugeVocabulary, NamedSQLObjectVocabulary, SQLObjectVocabularyBase):

Method __getattribute__ Undocumented
Method supportedFilters Undocumented
def getTermByToken(self, token):
See IVocabularyTokenized.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.