l.r.v.CommercialProjectsVocabulary(NamedSQLObjectVocabulary) : class documentation

Part of lp.registry.vocabularies View In Hierarchy

List all commercial projects.

A commercial project is an active project that can have a commercial subscription to grant access to proprietary features. The vocabulary contains the active projects the user maintains, or all active project if the user is a registry expert.

Method displayname The vocabulary's display nane.
Method product_set Undocumented
Method is_commercial_admin Is the user a commercial admin?
Method toTerm Return the term for this object.
Method getTermByToken Return the term for the given token.
Method searchForTerms See SQLObjectVocabularyBase.
Method __iter__ See IVocabulary.
Method __contains__ See IVocabulary.
Method _doSearch Return terms where query is in the text of 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 __len__ Undocumented
Method getTerm Undocumented
Method emptySelectResults Return a SelectResults object without any elements.

Inherited from FilteredVocabularyBase (via NamedSQLObjectVocabulary, SQLObjectVocabularyBase):

Method __getattribute__ Undocumented
Method supportedFilters Undocumented
@property
def displayname(self):
The vocabulary's display nane.
@cachedproperty
def product_set(self):
Undocumented
@cachedproperty
def is_commercial_admin(self):
Is the user a commercial admin?
def _doSearch(self, query=None):
Return terms where query is in the text of name or displayname, or matches the full text index.
def toTerm(self, project):
Return the term for this object.
def getTermByToken(self, token):
Return the term for the given token.
def searchForTerms(self, query=None, vocab_filter=None):
See SQLObjectVocabularyBase.
def __iter__(self):
See IVocabulary.
def __contains__(self, project):
See IVocabulary.
API Documentation for Launchpad, generated by pydoctor at 2019-06-20 00:00:12.