Part of canonical.launchpad.vocabularies.dbobjects View In Hierarchy
Known subclasses: canonical.launchpad.vocabularies.dbobjects.BugNominatableDistroSeriesVocabulary, canonical.launchpad.vocabularies.dbobjects.BugNominatableProductSeriesVocabulary
Method | __iter__ | Return an iterator which provides the terms from the vocabulary. |
Method | toTerm | See SQLObjectVocabularyBase. |
Method | getTermByToken | Undocumented |
Method | _getNominatableObjects | Return the series objects that the bug can be nominated for. |
Method | _queryNominatableObjectByName | Return the series object with the given name. |
Inherited from NamedSQLObjectVocabulary:
Method | search | Return terms where query is a subtring of the name. |
Inherited from SQLObjectVocabularyBase (via NamedSQLObjectVocabulary):
Method | __init__ | Undocumented |
Method | searchForTerms | Undocumented |
Method | __len__ | Undocumented |
Method | __contains__ | Undocumented |
Method | getQuery | Undocumented |
Method | getTerm | Undocumented |
Method | emptySelectResults | Return a SelectResults object without any elements. |
This implementation uses name as a token instead of the object's ID, and tries to be smart about deciding to present an object's title if it has one.