|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.mail.Email
org.apache.commons.mail.MultiPartEmail
org.apache.commons.mail.HtmlEmail
org.opencms.mail.CmsHtmlMail
org.opencms.notification.A_CmsNotification
org.opencms.notification.CmsPublishNotification
public class CmsPublishNotification
Class to send a notification to an OpenCms user with a summary of warnings and errors occured while publishing the project.
Field Summary | |
---|---|
static java.lang.String |
NOTIFICATION_CONTENT
The path to the xml content with the subject, header and footer of the notification e-mail. |
Fields inherited from class org.apache.commons.mail.Email |
---|
ATTACHMENTS, charset, CONTENT_TYPE, EMAIL_BODY, EMAIL_SUBJECT, FILE_SERVER, ISO_8859_1, KOI8_R, MAIL_DEBUG, MAIL_HOST, MAIL_SMTP_AUTH, MAIL_SMTP_FROM, MAIL_TRANSPORT_PROTOCOL, message, RECEIVER_EMAIL, RECEIVER_NAME, SENDER_EMAIL, SENDER_NAME, SMTP, TEXT_HTML, TEXT_PLAIN, US_ASCII |
Constructor Summary | |
---|---|
CmsPublishNotification(CmsObject cms,
CmsUser receiver,
I_CmsReport report)
Creates a new CmsPublishNotification. |
Method Summary | |
---|---|
protected java.lang.String |
generateHtmlMsg()
Overwrite the method to generate the message body of the notification. |
protected java.lang.String |
getNotificationContent()
Overwrite the method to return the path to the xmlcontent, where the subject, the header and the footer are defined. |
Methods inherited from class org.opencms.notification.A_CmsNotification |
---|
addMacro, appendHtmlHeader, appenHtmlFooter, getCmsObject, getLocale, getReceiver, send |
Methods inherited from class org.apache.commons.mail.HtmlEmail |
---|
embed, isValid, setHtmlMsg, setMsg, setTextMsg |
Methods inherited from class org.apache.commons.mail.MultiPartEmail |
---|
attach, attach, attach, attach, attach, getContainer, getPrimaryBodyPart |
Methods inherited from class org.apache.commons.mail.Email |
---|
addBcc, addBcc, addCc, addCc, addHeader, addReplyTo, addReplyTo, addTo, addTo, getSentDate, setAuthentication, setAuthenticator, setBcc, setCc, setCharset, setContent, setContent, setDebug, setFrom, setFrom, setHeaders, setHostName, setSentDate, setSubject, setTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NOTIFICATION_CONTENT
Constructor Detail |
---|
public CmsPublishNotification(CmsObject cms, CmsUser receiver, I_CmsReport report)
cms
- the cms object to usereceiver
- the notification receiverreport
- the report to write the output toMethod Detail |
---|
protected java.lang.String generateHtmlMsg()
A_CmsNotification
generateHtmlMsg
in class A_CmsNotification
A_CmsNotification.generateHtmlMsg()
protected java.lang.String getNotificationContent()
A_CmsNotification
getNotificationContent
in class A_CmsNotification
A_CmsNotification.getNotificationContent()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |