|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.mail.MailThreadManagerImpl
public class MailThreadManagerImpl
Field Summary |
---|
Constructor Summary | |
---|---|
MailThreadManagerImpl(OfBizDelegator ofBizDelegator,
IssueManager issueManager,
EventTypeManager eventTypeManager)
|
Method Summary | |
---|---|
void |
createMailThread(String type,
Long source,
String emailAddress,
String messageId)
No longer used because we don't use store all outgoing notifications (see JRA-9979). |
org.ofbiz.core.entity.GenericValue |
getAssociatedIssue(javax.mail.Message message)
Looks for an issue associated with the given message. |
Issue |
getAssociatedIssueObject(javax.mail.Message message)
Looks for an issue associated with the given message. |
String |
getThreadType(Long eventTypeId)
No longer used because we don't use store all outgoing notifications (see JRA-9979). |
int |
removeAssociatedEntries(Long issueId)
Removes rows from NotificationInstance table associated with the given issue. |
void |
threadNotificationEmail(Email email,
Issue issue)
Thread the given email which is related to the given issue. |
void |
threadNotificationEmail(Email email,
Long issueId)
Thread the given email which is related to the given issue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MailThreadManagerImpl(OfBizDelegator ofBizDelegator, IssueManager issueManager, EventTypeManager eventTypeManager)
Method Detail |
---|
public void createMailThread(String type, Long source, String emailAddress, String messageId)
MailThreadManager
createMailThread
in interface MailThreadManager
type
- typesource
- sourceemailAddress
- emailAddressmessageId
- messageIdpublic void threadNotificationEmail(Email email, Long issueId)
MailThreadManager
threadNotificationEmail
in interface MailThreadManager
email
- the email to be sentissueId
- the issue that the email is aboutpublic void threadNotificationEmail(Email email, Issue issue)
MailThreadManager
threadNotificationEmail
in interface MailThreadManager
email
- the email to be sentissue
- the issue that the email is aboutpublic String getThreadType(Long eventTypeId)
MailThreadManager
getThreadType
in interface MailThreadManager
eventTypeId
- eventTypeIdpublic org.ofbiz.core.entity.GenericValue getAssociatedIssue(javax.mail.Message message)
MailThreadManager
The "In-Reply-To" header of the message is parsed to see if it was sent by this JIRA server and if so we retrieve the Issue ID from it.
getAssociatedIssue
in interface MailThreadManager
message
- message to analyse
@Nullable public Issue getAssociatedIssueObject(javax.mail.Message message)
MailThreadManager
The "In-Reply-To" header of the message is parsed to see if it was sent by this JIRA server and if so we retrieve the Issue ID from it.
getAssociatedIssueObject
in interface MailThreadManager
message
- message to analyse
public int removeAssociatedEntries(Long issueId)
MailThreadManager
removeAssociatedEntries
in interface MailThreadManager
issueId
- the issue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |