Part of lp.answers.model.question View In Hierarchy
IQuestion
.Method | target | See IQuestion . |
Method | followup_subject | See IMessageTarget . |
Method | isSubscribed | See IQuestion . |
Method | setStatus | See IQuestion . |
Method | addComment | See IQuestion . |
Method | can_request_info | See IQuestion . |
Method | requestInfo | See IQuestion . |
Method | can_give_info | See IQuestion . |
Method | giveInfo | See IQuestion . |
Method | can_give_answer | See IQuestion . |
Method | giveAnswer | See IQuestion. |
Method | linkFAQ | See IQuestion . |
Method | can_confirm_answer | See IQuestion . |
Method | confirmAnswer | See IQuestion . |
Method | canReject | See IQuestion . |
Method | reject | See IQuestion . |
Method | expireQuestion | See IQuestion . |
Method | can_reopen | See IQuestion . |
Method | reopen | See IQuestion . |
Method | subscribe | See IQuestion . |
Method | unsubscribe | See IQuestion . |
Method | getDirectSubscribers | See IQuestion . |
Method | getDirectSubscribersWithDetails | See IQuestion . |
Method | getIndirectSubscribers | See IQuestion . |
Method | getRecipients | See IQuestion . |
Method | direct_recipients | See IQuestion . |
Method | indirect_recipients | See IQuestion . |
Method | bugs | Undocumented |
Method | createBugLink | See BugLinkTargetMixin. |
Method | deleteBugLink | See BugLinkTargetMixin. |
Method | setCommentVisibility | See IQuestion . |
Method | _settarget | See Question.target. |
Method | _giveAnswer | Implementation of _giveAnswer that doesn't trigger notifications. |
Method | _newMessage | Create a new QuestionMessage, link it to this question and update |
Inherited from SQLBase:
Method | __init__ | Extended version of the SQLObjectBase constructor. |
Method | __repr__ | Undocumented |
Method | destroySelf | Undocumented |
Method | __eq__ | Equality operator. |
Method | __ne__ | Inverse of __eq__. |
Method | __storm_invalidated__ | Flush cached properties. |
Class Method | _get_store | Undocumented |
Inherited from BugLinkTargetMixin:
Method | linkBug | See IBugLinkTarget. |
Method | unlinkBug | See IBugLinkTarget. |
IQuestion
.IQuestion
.IQuestion
.IQuestion
.
This method is sorted so that it iterates like direct_recipients.
IQuestion
.
This method adds the assignee and is sorted so that it iterates like indirect_recipients.
When update_question_dates is True, the question's datelastquery or datelastresponse attribute is updated to the message creation date. The datelastquery attribute is updated when the message owner is the same than the question owner, otherwise the datelastresponse is updated.
Unknown Field: owner | An IPerson. | |
Unknown Field: content | A string or an IMessage. When it's an IMessage, the owner must be the same than the :owner: parameter. | |
Unknown Field: action | A QuestionAction. | |
Unknown Field: new_status | A QuestionStatus. | |
Unknown Field: subject | The Message subject, default to followup_subject. Ignored when content is an IMessage. | |
Unknown Field: datecreated | A datetime object which will be used as the Message creation date. Ignored when content is an IMessage. | |
Unknown Field: update_question_dates | A bool. |