c.l.w.v.NamedSQLObjectHugeVocabulary(NamedSQLObjectVocabulary) : class documentation

Part of canonical.launchpad.webapp.vocabulary View In Hierarchy

Known subclasses: canonical.launchpad.database.binaryandsourcepackagename.BinaryAndSourcePackageNameVocabulary, lp.registry.vocabularies.PillarVocabularyBase, lp.registry.vocabularies.SourcePackageNameVocabulary, lp.soyuz.model.binarypackagename.BinaryPackageNameVocabulary

Implements interfaces: canonical.launchpad.webapp.vocabulary.IHugeVocabulary

A NamedSQLObjectVocabulary that implements IHugeVocabulary.
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:

Method toTerm See SQLObjectVocabularyBase.
Method getTermByToken Undocumented

Inherited from SQLObjectVocabularyBase (via 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.
def __init__(self, context=None):
Undocumented
def search(self, query):
Return terms where query is a subtring of the name.
def searchForTerms(self, query=None):
Return a `CountableIterator` of `SimpleTerm`s that match the query.

Note that what is searched and how the match is the choice of the
IHugeVocabulary implementation.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.