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, Serializable, Comparable<com.atlassian.mail.queue.MailQueueItem>

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, UserManager userManager, GroupManager groupManager)
           
 
Method Summary
 boolean equals(Object o)
           
 List getColumns(com.atlassian.crowd.embedded.api.User user)
           
 String getSubject()
          This is the subject as displayed in the Mail Queue Admin page when the mail is BEING sent.
 IssueTableLayoutBean getTableLayout(com.atlassian.crowd.embedded.api.User user)
           
 int hashCode()
           
 void send()
           
 String toString()
           
 
Methods inherited from class com.atlassian.mail.queue.AbstractMailQueueItem
compareTo, 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,
                                 UserManager userManager,
                                 GroupManager groupManager)
Method Detail

send

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

getTableLayout

public IssueTableLayoutBean getTableLayout(com.atlassian.crowd.embedded.api.User user)
                                    throws Exception
Throws:
Exception

getColumns

public List getColumns(com.atlassian.crowd.embedded.api.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.

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(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2012 Atlassian. All Rights Reserved.