l.a.m.f.FAQSearch : class documentation

Part of lp.answers.model.faq View In Hierarchy

Object that encapsulates a FAQ search.

It is used to implement the IFAQCollection.searchFAQs() method.

Method __init__ Initialize a new FAQ search.
Method getResults Return the FAQs matching this search.
Method getConstraints Return the constraints to use by this search.
Method getClauseTables Return the tables that should be added to the FROM clause.
Method getOrderByClause Return the ORDER BY clause to sort the results.
def __init__(self, search_text=None, owner=None, sort=None, product=None, distribution=None, projectgroup=None):
Initialize a new FAQ search.

See IFAQCollection.searchFAQs for the basic parameters description. Additional parameters: :param product: The product in which to search for FAQs. :param distribution: The distribution in which to search for FAQs. :param projectgroup: The project group in which to search for FAQs.

def getResults(self):
Return the FAQs matching this search.
def getConstraints(self):
Return the constraints to use by this search.
def getClauseTables(self):
Return the tables that should be added to the FROM clause.
def getOrderByClause(self):
Return the ORDER BY clause to sort the results.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.