org.kuali.rice.krad.service.impl
Class MailServiceImpl

java.lang.Object
  extended by org.kuali.rice.krad.service.impl.MailServiceImpl
All Implemented Interfaces:
MailService

public class MailServiceImpl
extends Object
implements MailService


Constructor Summary
MailServiceImpl()
           
 
Method Summary
protected  MailMessage composeMessage(MailMessage message)
           
 String getBatchMailingList()
           
protected  MailMessage getNonProductionMessage(MailMessage message)
           
 String getNonProductionNotificationMailingList()
           
 boolean isRealNotificationsEnabled()
           
 void sendMessage(MailMessage message)
          This overridden method ...
 void setBatchMailingList(String batchMailingList)
          Sets the batchMailingList attribute value.
 void setMailer(Mailer mailer)
          The injected Mailer.
 void setNonProductionNotificationMailingList(String nonProductionNotificationMailingList)
           
 void setRealNotificationsEnabled(boolean realNotificationsEnabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailServiceImpl

public MailServiceImpl()
Method Detail

setMailer

public void setMailer(Mailer mailer)
The injected Mailer.


setBatchMailingList

public void setBatchMailingList(String batchMailingList)
Sets the batchMailingList attribute value.

Parameters:
batchMailingList - The batchMailingList to set.

getBatchMailingList

public String getBatchMailingList()
Specified by:
getBatchMailingList in interface MailService
See Also:
MailService.getBatchMailingList()

sendMessage

public void sendMessage(MailMessage message)
                 throws InvalidAddressException,
                        javax.mail.MessagingException
This overridden method ...

Specified by:
sendMessage in interface MailService
Throws:
javax.mail.MessagingException
InvalidAddressException
See Also:
MailService.sendMessage(org.kuali.rice.core.api.mail.MailMessage)

composeMessage

protected MailMessage composeMessage(MailMessage message)

getNonProductionNotificationMailingList

public String getNonProductionNotificationMailingList()

setNonProductionNotificationMailingList

public void setNonProductionNotificationMailingList(String nonProductionNotificationMailingList)
Parameters:
nonProductionNotificationMailingList - the nonProductionNotificationMailingList to set

isRealNotificationsEnabled

public boolean isRealNotificationsEnabled()
Returns:
the realNotificationsEnabled

setRealNotificationsEnabled

public void setRealNotificationsEnabled(boolean realNotificationsEnabled)
Parameters:
realNotificationsEnabled - the realNotificationsEnabled to set

getNonProductionMessage

protected MailMessage getNonProductionMessage(MailMessage message)


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.