l.a.m.q.QuestionPersonSearch(QuestionSearch) : class documentation

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

Search questions which are related to a particular person.

Used to implement IQuestionsPerson.searchQuestions().

Method __init__ Undocumented
Method getTableJoins See QuestionSearch.
Method getConstraints See QuestionSearch.

Inherited from QuestionSearch:

Method getTargetConstraints Return the constraints related to the IQuestionTarget context.
Method getMessageJoins Create the joins needed to select constraints on the messages by a
Method getProductJoins Create the joins needed to select constraints on projects by a
Method getActivePillarJoins Create the joins needed to select constraints on active pillars.
Method getPrejoins Return a list of tables that should be prejoined on this search.
Method getPrejoinClauseTables Return a list of tables that are in the contraints
Method getOrderByClause Return the ORDER BY clause to use for this search's results.
Method getResults Return the questions that match this query.
def __init__(self, person, search_text=None, status=QUESTION_STATUS_DEFAULT_SEARCH, language=None, sort=None, participation=None, needs_attention=False):
Undocumented
def getTableJoins(self):
See QuestionSearch.

Return the joins for persons in addition to the base class joins.

def getConstraints(self):
See QuestionSearch.

Return the base class constraints plus additional constraints upon the Person's participation in Questions.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.