c.l.w.v.IHugeVocabulary(IVocabulary, IVocabularyTokenized) : interface documentation

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

Known implementations: canonical.launchpad.vocabularies.dbobjects.BugTrackerVocabulary, canonical.launchpad.vocabularies.dbobjects.PPAVocabulary, canonical.launchpad.webapp.vocabulary.NamedSQLObjectHugeVocabulary, lp.answers.vocabulary.FAQVocabulary, lp.blueprints.vocabularies.specificationdependency.SpecificationDepCandidatesVocabulary, lp.code.vocabularies.branch.BranchVocabularyBase, lp.registry.vocabularies.ActiveMailingListVocabulary, lp.registry.vocabularies.CommercialProjectsVocabulary, lp.registry.vocabularies.NonMergedPeopleAndTeamsVocabulary, lp.registry.vocabularies.PersonAccountToMergeVocabulary, lp.registry.vocabularies.ProductReleaseVocabulary, lp.registry.vocabularies.ProductSeriesVocabulary, lp.registry.vocabularies.ProductVocabulary, lp.registry.vocabularies.ProjectGroupVocabulary, lp.registry.vocabularies.ValidPersonOrTeamVocabulary

Interface for huge vocabularies.

Items in an IHugeVocabulary should have human readable tokens or the default UI will suck.

Attribute displayname A name for this vocabulary, to be displayed in the popup window.
Method searchForTerms Return a `CountableIterator` of `SimpleTerm`s that match the query.
displayname =
A name for this vocabulary, to be displayed in the popup window.
def searchForTerms(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.