public class MailAlertChannel extends BasicAlertChannel
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | ALERT_ATTR | 
| static java.lang.String | ALERT_CTXTThis MailPolicyFilter context key contains the alert. | 
| static java.lang.String | DESCRIPTION_PROP | 
| static java.lang.String | DISPLAY_ABSTRACT_PREFIX_PROP | 
| static java.lang.String | JSP_DEFAULT_PROP | 
| static java.lang.String | JSP_PREFIX_PROP | 
| static java.lang.String | LABEL_PROP | 
| static java.lang.String | PREFIX_PROP | 
| static java.lang.String | REVISION | 
| static java.lang.String | SUBJECT_DEFAULT_PROP | 
| static java.lang.String | SUBJECT_PREFIX_PROP | 
| Constructor and Description | 
|---|
| MailAlertChannel() | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | displayAbstract(Alert alert)Defines if abstract of the data should be displayed in the alert | 
| java.lang.String | getDescription(java.lang.String userLang)Returns the description of the AlertChannel. | 
| java.lang.String | getIcon()Returns the icon of the AlertChannel. | 
| java.lang.String | getLabel(java.lang.String userLang)Returns the label of the AlertChannel. | 
| java.lang.String | getName()Returns the internal name of the AlertChannel. | 
| void | send(Alert alert)Sends an alert. | 
init, isAvailable, saveAlertpublic static final java.lang.String REVISION
public static final java.lang.String ALERT_ATTR
public static final java.lang.String PREFIX_PROP
public static final java.lang.String LABEL_PROP
public static final java.lang.String DESCRIPTION_PROP
public static final java.lang.String SUBJECT_PREFIX_PROP
public static final java.lang.String SUBJECT_DEFAULT_PROP
public static final java.lang.String JSP_PREFIX_PROP
public static final java.lang.String JSP_DEFAULT_PROP
public static final java.lang.String DISPLAY_ABSTRACT_PREFIX_PROP
public static final java.lang.String ALERT_CTXT
Alert alert = (Alert)context.get(MailAlertChannel.ALERT_CTXT);
public java.lang.String getName()
AlertChannelpublic java.lang.String getLabel(java.lang.String userLang)
AlertChanneluserLang - the user language.public java.lang.String getDescription(java.lang.String userLang)
AlertChanneluserLang - the user language.public java.lang.String getIcon()
AlertChannelgetIcon in interface AlertChannelgetIcon in class BasicAlertChannelpublic void send(Alert alert)
AlertChannelalert - the alertCopyright © 2001-2019 Jalios SA. All Rights Reserved.