~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/enums.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-04-29 00:23:35 UTC
  • mfrom: (12928.2.18 question-email-1)
  • Revision ID: launchpad@pqm.canonical.com-20110429002335-cl3kbsde1h2cpp6j
[r=jcsackett][no-qa] Update QuestionJob to send emails.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
    'QuestionJobType',
15
15
    'QuestionParticipation',
16
16
    'QuestionPriority',
 
17
    'QuestionRecipientSet',
17
18
    'QUESTION_STATUS_DEFAULT_SEARCH',
18
19
    'QuestionSort',
19
20
    'QuestionStatus',
104
105
        """)
105
106
 
106
107
 
 
108
class QuestionRecipientSet(EnumeratedType):
 
109
    """The kinds of recipients who will receive notification."""
 
110
 
 
111
    ASKER = Item("""
 
112
        Asker
 
113
 
 
114
        The person who asked the question.
 
115
        """)
 
116
 
 
117
    SUBSCRIBER = Item("""
 
118
        Subscriber
 
119
 
 
120
        The question's direct and indirect subscribers, exception for
 
121
        the asker.
 
122
        """)
 
123
 
 
124
    ASKER_SUBSCRIBER = Item("""
 
125
        Asker and Subscriber
 
126
 
 
127
        The question's direct and indirect subscribers, including the asker.
 
128
        """)
 
129
 
 
130
    CONTACT = Item("""
 
131
        Contact
 
132
 
 
133
        All the answer contacts for the question's target.
 
134
        """)
 
135
 
 
136
 
107
137
class QuestionParticipation(EnumeratedType):
108
138
    """The different ways a person can be involved in a question.
109
139