Part of lp.answers.model.question View In Hierarchy
Known subclasses: lp.registry.model.distribution.Distribution, lp.registry.model.product.Product, lp.registry.model.sourcepackage.SourcePackageQuestionTargetMixin
IQuestionTarget
.Method | getTargetTypes | Return a Dict of QuestionTargets representing this object. |
Method | newQuestion | See IQuestionTarget . |
Method | createQuestionFromBug | See IQuestionTarget . |
Method | getQuestion | See IQuestionTarget . |
Method | questionIsForTarget | Verify that this question is actually for this target. |
Method | findSimilarQuestions | See IQuestionTarget . |
Method | getQuestionLanguages | See IQuestionTarget . |
Method | answer_contacts | See IQuestionTarget . |
Method | answer_contacts_with_languages | Answer contacts with their languages pre-filled. |
Method | direct_answer_contacts | See IQuestionTarget . |
Method | direct_answer_contacts_with_languages | Direct answer contacts with their languages pre-filled. |
Method | canUserAlterAnswerContact | See IQuestionTarget . |
Method | addAnswerContact | See IQuestionTarget . |
Method | getAnswerContactsForLanguage | See IQuestionTarget . |
Method | getAnswerContactRecipients | See IQuestionTarget . |
Method | removeAnswerContact | See IQuestionTarget . |
Method | getSupportedLanguages | See IQuestionTarget . |
Method | _store | Undocumented |
Method | _getConditionsToQueryAnswerContacts | The SQL conditions to query this target's answer contacts. |
Method | _selectPersonFromAnswerContacts | Return the Persons or Teams who are AnswerContacts. |
Returns | a Dict with product, distribution, and sourcepackagename as possible keys. Each value is a valid QuestionTarget or None. |
IQuestionTarget
.Same as answer_contacts but with each of them having its languages pre-filled so that we don't need to hit the DB again to get them.
Same as direct_answer_contacts but with each of them having its languages pre-filled so that we don't need to hit the DB again to get them.