c.l.d.b.BinaryAndSourcePackageNameVocabulary(NamedSQLObjectHugeVocabulary) : class documentation

Part of canonical.launchpad.database.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.

Inherited from NamedSQLObjectHugeVocabulary:

Method __init__ Undocumented
Method search Return terms where query is a subtring of the name.
Method searchForTerms Return a `CountableIterator` of `SimpleTerm`s that match the query.

Inherited from NamedSQLObjectVocabulary (via NamedSQLObjectHugeVocabulary):

Method toTerm See SQLObjectVocabularyBase.
Method getTermByToken Undocumented

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 getQuery Undocumented
Method getTerm Undocumented
Method emptySelectResults Return a SelectResults object without any elements.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.