Part of lp.answers.interfaces.questiontarget View In Hierarchy
Known subclasses: lp.answers.interfaces.webservice.IQuestionTarget
Method | getQuestion | Return the question by its id, if it is applicable to this target. |
Method | findSimilarQuestions | Return questions similar to phrase. |
Method | getAnswerContactsForLanguage | Return the list of Persons that provide support for a language. |
Method | getAnswerContactRecipients | Return an INotificationRecipientSet of answer contacts. |
Method | getSupportedLanguages | Return a list of languages spoken by at the answer contacts. |
List | answer_contacts | Persons that are willing to provide support for this target. They receive email notifications about each new question as well as for changes to any questions related to this target. |
List | direct_answer_contacts | IPersons that registered as answer contacts explicitely on this target. (answer_contacts may include answer contacts inherited from other context.) |
Method | canUserAlterAnswerContact | Can the user add or remove the answer contact. |
Inherited from ISearchableByQuestionOwner:
Method | searchQuestions | Return the questions from the collection matching search criteria. |
Inherited from IQuestionCollection (via ISearchableByQuestionOwner):
Method | getQuestionLanguages | Return the set of ILanguage used by all the questions in the |
If there is no such question number for this target, return None
Unknown Field: question_id | A question id. |
Return a list of question similar to the provided phrase. These questions will be found using a fuzzy search. The list is ordered from the most similar question to the least similar question.
Parameters | phrase | A phrase such as the summary of a question. |
An answer contact supports questions in their preferred languages.
INotificationRecipientSet
of answer contacts.
Return an INotificationRecipientSet of the answer contacts and the reason they are recipients of an email. The answer contacts are selected by their language and the fact that they are answer contacts for the QuestionTarget.
Unknown Field: language | an ILanguage or None. When language is none, all answer contacts are returned. |
An answer contact is considered to speak a given language if that language is listed as one of their preferred languages.
Users can add or remove themselves or one of the teams they administered. Admins and target owners can add/remove anyone.
Parameters | person | The IPerson that is or will be an answer contact. |
subscribed_by | The IPerson making the change. |