public class KualiFeedbackServiceImpl extends Object implements KualiFeedbackService
REPORT_MAIL_LIST| Constructor and Description |
|---|
KualiFeedbackServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected org.kuali.rice.core.api.mail.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() |
org.kuali.rice.core.api.mail.Mailer |
getMailer() |
org.kuali.rice.core.api.mail.MailMessage |
getMessageTemplate() |
protected Set<String> |
getToAddresses() |
protected String |
getToAddressesPropertyName() |
void |
sendFeedback(String documentId,
String componentName,
String description) |
void |
setMailer(org.kuali.rice.core.api.mail.Mailer mailer) |
void |
setMessageTemplate(org.kuali.rice.core.api.mail.MailMessage messageTemplate) |
public KualiFeedbackServiceImpl()
public void emailReport(String subject, String message) throws Exception
emailReport in interface KualiFeedbackServiceExceptionKualiFeedbackService.emailReport(String, String)public void sendFeedback(String documentId, String componentName, String description) throws Exception
sendFeedback in interface KualiFeedbackServiceExceptionprotected org.kuali.rice.core.api.mail.MailMessage createMailMessage(String subject, String message) throws Exception
subject - the subject line textmessage - the body of the email messageIllegalStateException - if the Exceptionprotected String getFromAddress()
protected Set<String> getToAddresses()
protected String getToAddressesPropertyName()
protected Set<String> getCcAddresses()
protected Set<String> getBccAddresses()
public org.kuali.rice.core.api.mail.Mailer getMailer()
public final void setMailer(org.kuali.rice.core.api.mail.Mailer mailer)
public org.kuali.rice.core.api.mail.MailMessage getMessageTemplate()
public void setMessageTemplate(org.kuali.rice.core.api.mail.MailMessage messageTemplate)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.