Package com.jalios.jcms.alert
Class MailAlertChannel
- java.lang.Object
- 
- com.jalios.jcms.alert.BasicAlertChannel
- 
- com.jalios.jcms.alert.MailAlertChannel
 
 
- 
- All Implemented Interfaces:
- AlertChannel,- PluginComponent
 
 public class MailAlertChannel extends BasicAlertChannel 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringALERT_ATTRstatic java.lang.StringALERT_CTXTThis MailPolicyFilter context key contains the alert.static java.lang.StringDESCRIPTION_PROPstatic java.lang.StringDISPLAY_ABSTRACT_PREFIX_PROPstatic java.lang.StringEXPIRES_PROPstatic java.lang.StringJSP_DEFAULT_PROPstatic java.lang.StringJSP_PREFIX_PROPstatic java.lang.StringLABEL_PROPstatic java.lang.StringPREFIX_PROPstatic java.lang.StringSUBJECT_DEFAULT_PROPstatic java.lang.StringSUBJECT_PREFIX_PROP
 - 
Constructor SummaryConstructors Constructor Description MailAlertChannel()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleandisplayAbstract(Alert alert)Defines if abstract of the data should be displayed in the alertjava.lang.StringgetDescription(java.lang.String userLang)Returns the description of the AlertChannel.java.lang.StringgetIcon()Returns the icon of the AlertChannel.java.lang.StringgetLabel(java.lang.String userLang)Returns the label of the AlertChannel.java.lang.StringgetName()Returns the internal name of the AlertChannel.voidsend(Alert alert)Sends an alert.- 
Methods inherited from class com.jalios.jcms.alert.BasicAlertChannelinit, isAvailable, saveAlert
 
- 
 
- 
- 
- 
Field Detail- 
ALERT_ATTRpublic static final java.lang.String ALERT_ATTR - See Also:
- Constant Field Values
 
 - 
PREFIX_PROPpublic static final java.lang.String PREFIX_PROP - See Also:
- Constant Field Values
 
 - 
LABEL_PROPpublic static final java.lang.String LABEL_PROP - See Also:
- Constant Field Values
 
 - 
DESCRIPTION_PROPpublic static final java.lang.String DESCRIPTION_PROP - See Also:
- Constant Field Values
 
 - 
SUBJECT_PREFIX_PROPpublic static final java.lang.String SUBJECT_PREFIX_PROP - See Also:
- Constant Field Values
 
 - 
SUBJECT_DEFAULT_PROPpublic static final java.lang.String SUBJECT_DEFAULT_PROP - See Also:
- Constant Field Values
 
 - 
JSP_PREFIX_PROPpublic static final java.lang.String JSP_PREFIX_PROP - See Also:
- Constant Field Values
 
 - 
JSP_DEFAULT_PROPpublic static final java.lang.String JSP_DEFAULT_PROP - See Also:
- Constant Field Values
 
 - 
DISPLAY_ABSTRACT_PREFIX_PROPpublic static final java.lang.String DISPLAY_ABSTRACT_PREFIX_PROP - See Also:
- Constant Field Values
 
 - 
EXPIRES_PROPpublic static final java.lang.String EXPIRES_PROP - See Also:
- Constant Field Values
 
 - 
ALERT_CTXTpublic static final java.lang.String ALERT_CTXT This MailPolicyFilter context key contains the alert. Example of use in a MailPolicyFilter:Alert alert = (Alert)context.get(MailAlertChannel.ALERT_CTXT); - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Description copied from interface:AlertChannelReturns the internal name of the AlertChannel.- Returns:
- the internal name of the AlertChannel.
 
 - 
getLabelpublic java.lang.String getLabel(java.lang.String userLang) Description copied from interface:AlertChannelReturns the label of the AlertChannel.- Parameters:
- userLang- the user language.
- Returns:
- the label of the AlertChannel.
 
 - 
getDescriptionpublic java.lang.String getDescription(java.lang.String userLang) Description copied from interface:AlertChannelReturns the description of the AlertChannel.- Parameters:
- userLang- the user language.
- Returns:
- the description of the AlertChannel.
 
 - 
getIconpublic java.lang.String getIcon() Description copied from interface:AlertChannelReturns the icon of the AlertChannel.- Specified by:
- getIconin interface- AlertChannel
- Overrides:
- getIconin class- BasicAlertChannel
- Returns:
- the icon of the AlertChannel.
 
 - 
sendpublic void send(Alert alert) Description copied from interface:AlertChannelSends an alert.- Parameters:
- alert- the alert
 
 
- 
 
-