com.atlassian.jira.mail
Class SubscriptionMailQueueItem

java.lang.Object
  extended by com.atlassian.mail.queue.AbstractMailQueueItem
      extended by com.atlassian.jira.mail.SubscriptionMailQueueItem
All Implemented Interfaces:
com.atlassian.core.task.Task, com.atlassian.mail.queue.MailQueueItem, java.io.Serializable

public class SubscriptionMailQueueItem
extends com.atlassian.mail.queue.AbstractMailQueueItem

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.mail.queue.AbstractMailQueueItem
mailThreader
 
Constructor Summary
SubscriptionMailQueueItem(org.ofbiz.core.entity.GenericValue sub, MailingListCompiler mailingListCompiler, SearchService searchService, TemplateManager templateManager)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.List getColumns(com.opensymphony.user.User user)
           
 java.lang.String getSubject()
          This is the subject as displayed in the Mail Queue Admin page when the mail is BEING sent.
 IssueTableLayoutBean getTableLayout(com.opensymphony.user.User user)
           
 int hashCode()
           
 void send()
           
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.mail.queue.AbstractMailQueueItem
execute, getDateQueued, getSendCount, hasError, incrementSendCount, setMailThreader
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubscriptionMailQueueItem

public SubscriptionMailQueueItem(org.ofbiz.core.entity.GenericValue sub,
                                 MailingListCompiler mailingListCompiler,
                                 SearchService searchService,
                                 TemplateManager templateManager)
Method Detail

send

public void send()
          throws com.atlassian.mail.MailException
Throws:
com.atlassian.mail.MailException

getTableLayout

public IssueTableLayoutBean getTableLayout(com.opensymphony.user.User user)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getColumns

public java.util.List getColumns(com.opensymphony.user.User user)
                          throws java.lang.Exception
Throws:
java.lang.Exception

getSubject

public java.lang.String getSubject()
This is the subject as displayed in the Mail Queue Admin page when the mail is BEING sent. The string is retrieved in the default language for the JIRA system.

Specified by:
getSubject in interface com.atlassian.mail.queue.MailQueueItem
Overrides:
getSubject in class com.atlassian.mail.queue.AbstractMailQueueItem
Returns:
String the subject as displayed on the mail queue admin page

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2002-2010 Atlassian. All Rights Reserved.