com.atlassian.jira.mail
Class SubscriptionMailQueueItem

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

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


Field Summary
 
Fields inherited from class com.atlassian.mail.queue.AbstractMailQueueItem
mailThreader
 
Constructor Summary
SubscriptionMailQueueItem(org.ofbiz.core.entity.GenericValue sub, MailingListCompiler mailingListCompiler)
           
 
Method Summary
 boolean equals(Object o)
           
 List getColumns(User user)
           
 String getSubject()
          This is the subject as displayed in the Mail Queue Admin page when the mail is BEING sent.
 String getSubjectKey()
          Retrieve the translation key for the subject.
 String getSubjectTrailer()
           
 IssueTableLayoutBean getTableLayout(User user)
           
 int hashCode()
           
 void send()
           
 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)
Method Detail

send

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

getTableLayout

public IssueTableLayoutBean getTableLayout(User user)
                                    throws Exception
Throws:
Exception

getColumns

public List getColumns(User user)
                throws Exception
Throws:
Exception

getSubject

public 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.

Returns:
String the subject as displayed on the mail queue admin page

getSubjectKey

public String getSubjectKey()
Retrieve the translation key for the subject. The appropriate translation will be retrieved for each recipient on sending the mail item.

Returns:
String translation key

getSubjectTrailer

public String getSubjectTrailer()

equals

public boolean equals(Object o)

hashCode

public int hashCode()

toString

public String toString()


Copyright © 2002-2006 Atlassian. All Rights Reserved.