com.atlassian.jira.mail
Class MailThreadManagerImpl

java.lang.Object
  extended by com.atlassian.jira.mail.MailThreadManagerImpl
All Implemented Interfaces:
MailThreadManager

public class MailThreadManagerImpl
extends java.lang.Object
implements MailThreadManager


Field Summary
 
Fields inherited from interface com.atlassian.jira.mail.MailThreadManager
ISSUE_COMMENTED_FROM_EMAIL, ISSUE_CREATED_FROM_EMAIL, NOTIFICATION_ISSUE_ASSIGNED, NOTIFICATION_ISSUE_CLOSED, NOTIFICATION_ISSUE_COMMENT_EDITED, NOTIFICATION_ISSUE_COMMENTED, NOTIFICATION_ISSUE_CREATED, NOTIFICATION_ISSUE_DELETED, NOTIFICATION_ISSUE_GENERICEVENT, NOTIFICATION_ISSUE_MOVED, NOTIFICATION_ISSUE_REOPENED, NOTIFICATION_ISSUE_RESOLVED, NOTIFICATION_ISSUE_UPDATED, NOTIFICATION_ISSUE_WORKLOG_DELETED, NOTIFICATION_ISSUE_WORKLOG_UPDATED, NOTIFICATION_ISSUE_WORKLOGGED, NOTIFICATION_ISSUE_WORKSTARTED, NOTIFICATION_ISSUE_WORKSTOPPED, NOTIFICATION_KEY
 
Constructor Summary
MailThreadManagerImpl()
           
MailThreadManagerImpl(org.ofbiz.core.entity.GenericDelegator genericDelegator, IssueManager issueManager, EventTypeManager eventTypeManager)
           
 
Method Summary
 void createMailThread(java.lang.String type, java.lang.Long source, java.lang.String emailAddress, java.lang.String messageId)
           
 org.ofbiz.core.entity.GenericValue getAssociatedIssue(javax.mail.Message message)
           
 java.lang.String getThreadType(java.lang.Long eventTypeId)
           
 int removeAssociatedEntries(java.lang.Long issueId)
           
 void threadNotificationEmail(Email email, java.lang.Long issueId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailThreadManagerImpl

public MailThreadManagerImpl(org.ofbiz.core.entity.GenericDelegator genericDelegator,
                             IssueManager issueManager,
                             EventTypeManager eventTypeManager)

MailThreadManagerImpl

public MailThreadManagerImpl()
Method Detail

createMailThread

public void createMailThread(java.lang.String type,
                             java.lang.Long source,
                             java.lang.String emailAddress,
                             java.lang.String messageId)
Specified by:
createMailThread in interface MailThreadManager

threadNotificationEmail

public void threadNotificationEmail(Email email,
                                    java.lang.Long issueId)
Specified by:
threadNotificationEmail in interface MailThreadManager

getThreadType

public java.lang.String getThreadType(java.lang.Long eventTypeId)
Specified by:
getThreadType in interface MailThreadManager

getAssociatedIssue

public org.ofbiz.core.entity.GenericValue getAssociatedIssue(javax.mail.Message message)
Specified by:
getAssociatedIssue in interface MailThreadManager

removeAssociatedEntries

public int removeAssociatedEntries(java.lang.Long issueId)
                            throws org.ofbiz.core.entity.GenericEntityException
Specified by:
removeAssociatedEntries in interface MailThreadManager
Throws:
org.ofbiz.core.entity.GenericEntityException


Copyright © 2002-2010 Atlassian. All Rights Reserved.