public class KualiFeedbackServiceImpl extends Object implements KualiFeedbackService
REPORT_MAIL_LIST
Constructor and Description |
---|
KualiFeedbackServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected MailMessage |
createMailMessage(String subject,
String message)
Creates an instance of MailMessage from the inputs using the given
template.
|
void |
emailReport(String subject,
String message)
This mails the report using the mail service from the mail template.
|
protected Set<String> |
getBccAddresses() |
protected Set<String> |
getCcAddresses() |
protected String |
getFromAddress() |
Mailer |
getMailer() |
MailMessage |
getMessageTemplate() |
protected Set<String> |
getToAddresses() |
protected String |
getToAddressesPropertyName() |
void |
sendFeedback(String documentId,
String componentName,
String description) |
void |
setMailer(Mailer mailer) |
void |
setMessageTemplate(MailMessage messageTemplate) |
public KualiFeedbackServiceImpl()
public void emailReport(String subject, String message) throws Exception
emailReport
in interface KualiFeedbackService
Exception
KualiFeedbackService.emailReport(String, String)
public void sendFeedback(String documentId, String componentName, String description) throws Exception
sendFeedback
in interface KualiFeedbackService
Exception
protected MailMessage createMailMessage(String subject, String message) throws Exception
subject
- the subject line textmessage
- the body of the email messageIllegalStateException
- if the Exception
protected String getFromAddress()
protected Set<String> getToAddresses()
protected String getToAddressesPropertyName()
protected Set<String> getCcAddresses()
protected Set<String> getBccAddresses()
public MailMessage getMessageTemplate()
public void setMessageTemplate(MailMessage messageTemplate)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.