Part of lp.services.webapp.vocabulary View In Hierarchy
Known subclasses: lp.blueprints.vocabularies.specification.SpecificationVocabulary, lp.blueprints.vocabularies.specificationdependency.SpecificationDepCandidatesVocabulary, lp.blueprints.vocabularies.specificationdependency.SpecificationDependenciesVocabulary, lp.bugs.vocabularies.BugTrackerVocabulary, lp.bugs.vocabularies.BugVocabulary, lp.bugs.vocabularies.BugWatchVocabulary, lp.code.vocabularies.branch.BranchVocabulary, lp.code.vocabularies.sourcepackagerecipe.BuildableDistroSeries, lp.registry.vocabularies.FilteredDistroSeriesVocabulary, lp.registry.vocabularies.FilteredProductSeriesVocabulary, lp.registry.vocabularies.MilestoneVocabulary, 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.UserTeamsParticipationVocabulary, lp.registry.vocabularies.ValidPersonOrTeamVocabulary, lp.services.webapp.vocabulary.NamedSQLObjectVocabulary, lp.services.worlddata.vocabularies.CountryNameVocabulary, lp.services.worlddata.vocabularies.LanguageVocabulary, lp.soyuz.vocabularies.ComponentVocabulary, lp.soyuz.vocabularies.FilteredDistroArchSeriesVocabulary, lp.soyuz.vocabularies.PackageReleaseVocabulary, lp.soyuz.vocabularies.PPAVocabulary, lp.translations.vocabularies.FilteredLanguagePackVocabularyBase, lp.translations.vocabularies.TranslationMessageVocabulary, lp.translations.vocabularies.TranslationTemplateVocabulary
So if a content class behind some form looks like:
Then the vocabulary for the widget that captures a value for bar should derive from SQLObjectVocabularyBase.
Method | __init__ | Undocumented |
Method | searchForTerms | Undocumented |
Method | search | Undocumented |
Method | toTerm | Undocumented |
Method | __iter__ | Return an iterator which provides the terms from the vocabulary. |
Method | __len__ | Undocumented |
Method | __contains__ | Undocumented |
Method | getTerm | Undocumented |
Method | getTermByToken | Undocumented |
Method | emptySelectResults | Return a SelectResults object without any elements. |
Inherited from FilteredVocabularyBase:
Method | __getattribute__ | Undocumented |
Method | supportedFilters | Undocumented |