l.c.v.b.BranchVocabulary(SQLObjectVocabularyBase) : class documentation

Part of lp.code.vocabularies.branch View In Hierarchy

Known subclasses: lp.code.vocabularies.branch.BranchRestrictedOnProductVocabulary, lp.code.vocabularies.branch.HostedBranchRestrictedOnOwnerVocabulary

A vocabulary for searching branches.
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 Undocumented

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 getTerm Undocumented
Method emptySelectResults Return a SelectResults object without any elements.

Inherited from FilteredVocabularyBase (via SQLObjectVocabularyBase):

Method __getattribute__ Undocumented
Method supportedFilters Undocumented
def toTerm(self, branch):
The display should include the URL if there is one.
def getTermByToken(self, token):
See IVocabularyTokenized.
def searchForTerms(self, query=None, vocab_filter=None):
See IHugeVocabulary.
def __len__(self):
See IVocabulary.
def _getCollection(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.