l.r.v.ProductVocabulary(SQLObjectVocabularyBase) : class documentation

Part of lp.registry.vocabularies View In Hierarchy

Known subclasses: lp.answers.vocabulary.UsesAnswersProductVocabulary

All IProduct objects vocabulary.
Method __contains__ Undocumented
Method toTerm See IVocabulary.
Method getTermByToken See IVocabularyTokenized.
Method search See SQLObjectVocabularyBase.

Inherited from SQLObjectVocabularyBase:

Method __init__ Undocumented
Method searchForTerms Undocumented
Method __iter__ Return an iterator which provides the terms from the vocabulary.
Method __len__ 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 __contains__(self, obj):
Undocumented
def toTerm(self, obj):
See IVocabulary.
def getTermByToken(self, token):
See IVocabularyTokenized.
def search(self, query, vocab_filter=None):
See SQLObjectVocabularyBase.

Returns products where the product name, displayname, title, summary, or description contain the given query. Returns an empty list if query is None or an empty string.

API Documentation for Launchpad, generated by pydoctor at 2019-06-16 00:00:05.