public class CmsContentNotification extends A_CmsNotification
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NOTIFICATION_CONTENT
The path to the xml content with the subject, header and footer of the notification e-mail.
|
HEADER_FOOTER_CONFIG_PATH, HEADER_FOOTER_SEPARATOR, m_cms, m_configuredFooter, m_configuredHeader, m_locale, m_macroResolver, m_mailContentCID_LENGTH, html, inlineEmbeds, inlineImages, textATTACHMENTS, authenticator, bccList, bounceAddress, ccList, charset, content, CONTENT_TYPE, contentType, debug, EMAIL_BODY, EMAIL_SUBJECT, emailBody, FILE_SERVER, fromAddress, headers, hostName, ISO_8859_1, KOI8_R, MAIL_DEBUG, MAIL_HOST, MAIL_PORT, MAIL_SMTP_AUTH, MAIL_SMTP_CONNECTIONTIMEOUT, MAIL_SMTP_FROM, MAIL_SMTP_PASSWORD, MAIL_SMTP_SOCKET_FACTORY_CLASS, MAIL_SMTP_SOCKET_FACTORY_FALLBACK, MAIL_SMTP_SOCKET_FACTORY_PORT, MAIL_SMTP_TIMEOUT, MAIL_SMTP_USER, MAIL_TRANSPORT_PROTOCOL, MAIL_TRANSPORT_TLS, message, popBeforeSmtp, popHost, popPassword, popUsername, RECEIVER_EMAIL, RECEIVER_NAME, replyList, SENDER_EMAIL, SENDER_NAME, sentDate, SMTP, smtpPort, socketConnectionTimeout, socketTimeout, ssl, sslSmtpPort, subject, TEXT_HTML, TEXT_PLAIN, tls, toList, US_ASCII| Modifier and Type | Method and Description |
|---|---|
static boolean |
existsEditor(CmsResource resource)
Returns true, if there exists an editor for a specific resource.
|
protected java.lang.String |
generateHtmlMsg()
Creates the mail to be sent to the responsible user.
|
protected java.util.List<CmsExtendedNotificationCause> |
getNotificationCauses()
Returns a list of CmsNotificationResourceInfos of the resources that will occur in 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.
|
CmsUser |
getResponsible()
Returns the responsible.
|
protected void |
setNotificationCauses(java.util.List<CmsExtendedNotificationCause> resources)
Sets the resources.
|
addMacro, appendHtmlHeader, appendXMLContent, appenHtmlFooter, getCmsObject, getLocale, getReceiver, sendbuildMimeMessage, embed, embed, embed, embed, embed, embed, setHtmlMsg, setMsg, setTextMsgaddPart, addPart, addPart, attach, attach, attach, attach, attach, attach, createBodyPart, createMimeMultipart, getContainer, getPrimaryBodyPart, getSubType, init, isBoolHasAttachments, isInitialized, setBoolHasAttachments, setInitialized, setSubTypeaddBcc, addBcc, addBcc, addBcc, addCc, addCc, addCc, addCc, addHeader, addReplyTo, addReplyTo, addReplyTo, addTo, addTo, addTo, addTo, createMimeMessage, getBccAddresses, getBounceAddress, getCcAddresses, getFromAddress, getHeader, getHeaders, getHostName, getMailSession, getMimeMessage, getReplyToAddresses, getSentDate, getSmtpPort, getSocketConnectionTimeout, getSocketTimeout, getSslSmtpPort, getSubject, getToAddresses, isSendPartial, isSSL, isSSLCheckServerIdentity, isSSLOnConnect, isStartTLSEnabled, isStartTLSRequired, isTLS, sendMimeMessage, setAuthentication, setAuthenticator, setBcc, setBounceAddress, setCc, setCharset, setContent, setContent, setDebug, setFrom, setFrom, setFrom, setHeaders, setHostName, setMailSession, setMailSessionFromJNDI, setPopBeforeSmtp, setReplyTo, setSendPartial, setSentDate, setSmtpPort, setSocketConnectionTimeout, setSocketTimeout, setSSL, setSSLCheckServerIdentity, setSSLOnConnect, setSslSmtpPort, setStartTLSEnabled, setStartTLSRequired, setSubject, setTLS, setTo, toInternetAddressArray, updateContentTypepublic static final java.lang.String NOTIFICATION_CONTENT
public static boolean existsEditor(CmsResource resource)
resource - the resource to check if there exists an editorpublic CmsUser getResponsible()
protected java.lang.String generateHtmlMsg()
generateHtmlMsg in class A_CmsNotificationprotected java.util.List<CmsExtendedNotificationCause> getNotificationCauses()
protected java.lang.String getNotificationContent()
A_CmsNotificationgetNotificationContent in class A_CmsNotificationA_CmsNotification.getNotificationContent()protected void setNotificationCauses(java.util.List<CmsExtendedNotificationCause> resources)
resources - a list of CmsNotificationResourceInfo's