Part of lp.answers.interfaces.questionsperson View In Hierarchy
Known subclasses: lp.registry.interfaces.person.IPersonViewRestricted
Method | getDirectAnswerQuestionTargets | Return a list of IQuestionTargets that a person is subscribed to. |
Method | getTeamAnswerQuestionTargets | Return a list of IQuestionTargets that are indirect subscriptions. |
Method | searchQuestions | Search the person's questions. |
Inherited from IQuestionCollection:
Method | getQuestionLanguages | Return the set of ILanguage used by all the questions in the |
This will return IQuestionTargets that the person is registered as an answer contact because they subscribed themselves.
This will return IQuestionTargets that the person or team is registered as an answer contact because of their membership in a team.
Parameters | search_text | A string that is matched against the question title and description. If None, the search_text is not included as a filter criteria. |
status | A sequence of QuestionStatus Items. If None or an empty sequence, the status is not included as a filter criteria. The default is to match all status except Expired and Invalid. | |
language | An ILanguage or a sequence of ILanguage objects to match against the question's language. If None or an empty sequence, the language is not included as a filter criteria. | |
participation | A list of QuestionParticipation that defines the set of relationship to questions that will be searched. If None or an empty sequence, all relationships are considered. | |
needs_attention | If this flag is true, only questions that need attention the person will be included. These are the questions in the NEEDSINFO or ANSWERED state owned by the person. The questions not owned by the person but on which the person requested more information or gave an answer and that are back in the OPEN state are also included. | |
sort | An attribute of QuestionSort. If None, a default value is used. When there is a search_text value, the default is to sort by RELEVANCY, otherwise results are sorted NEWEST_FIRST. |