Part of lp.code.vocabularies.branch View In Hierarchy
Known subclasses: lp.code.vocabularies.branch.BranchRestrictedOnProductVocabulary, lp.code.vocabularies.branch.BranchVocabulary, lp.code.vocabularies.branch.HostedBranchRestrictedOnOwnerVocabulary
Implements interfaces: canonical.launchpad.webapp.vocabulary.IHugeVocabulary
Override BranchVocabularyBase._getCollection to provide the collection
of branches which make up the vocabulary.
| Method | toTerm | The display should include the URL if there is one. | 
| Method | getTermByToken | See IVocabularyTokenized. | 
  
| Method | searchForTerms | See IHugeVocabulary. | 
  
| Method | __len__ | See IVocabulary. | 
  
| Method | _getCollection | Return the collection of branches the vocabulary searches. | 
Inherited from SQLObjectVocabularyBase:
| Method | __init__ | Undocumented | 
| Method | search | Undocumented | 
| Method | __iter__ | Return an iterator which provides the terms from the vocabulary. | 
| Method | __contains__ | Undocumented | 
| Method | getQuery | Undocumented | 
| Method | getTerm | Undocumented | 
| Method | emptySelectResults | Return a SelectResults object without any elements. | 
Subclasses MUST override and implement this.