Package com.jalios.jcms.alert
Class WebAlertChannel
java.lang.Object
com.jalios.jcms.alert.BasicAlertChannel
com.jalios.jcms.alert.WebAlertChannel
- All Implemented Interfaces:
AlertChannel,PluginComponent
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleandisplayAbstract(Alert alert) Defines if abstract of the data should be displayed in the alertgetDescription(String userLang) Returns the description of the AlertChannel.getIcon()Returns the icon of the AlertChannel.static StringgetJspPath(Alert alert) Returns the label of the AlertChannel.getName()Returns the internal name of the AlertChannel.booleanReturns true if the alerts of this channel must be saved.voidSends an alert.Methods inherited from class com.jalios.jcms.alert.BasicAlertChannel
init, isAvailable
-
Field Details
-
PREFIX_PROP
- See Also:
-
JSP_PREFIX_PROP
- See Also:
-
JSP_DEFAULT_PROP
- See Also:
-
DISPLAY_ABSTRACT_PREFIX_PROP
- See Also:
-
-
Constructor Details
-
WebAlertChannel
public WebAlertChannel()
-
-
Method Details
-
getName
Description copied from interface:AlertChannelReturns the internal name of the AlertChannel.- Returns:
- the internal name of the AlertChannel.
-
getLabel
Description copied from interface:AlertChannelReturns the label of the AlertChannel.- Parameters:
userLang- the user language.- Returns:
- the label of the AlertChannel.
-
getDescription
Description copied from interface:AlertChannelReturns the description of the AlertChannel.- Parameters:
userLang- the user language.- Returns:
- the description of the AlertChannel.
-
getIcon
Description copied from interface:AlertChannelReturns the icon of the AlertChannel.- Specified by:
getIconin interfaceAlertChannel- Overrides:
getIconin classBasicAlertChannel- Returns:
- the icon of the AlertChannel.
-
send
Description copied from interface:AlertChannelSends an alert.- Parameters:
alert- the alert
-
saveAlert
public boolean saveAlert()Description copied from interface:AlertChannelReturns true if the alerts of this channel must be saved.- Specified by:
saveAlertin interfaceAlertChannel- Overrides:
saveAlertin classBasicAlertChannel- Returns:
- true if the alerts of this channel must be saved.
-
getJspPath
-
displayAbstract
Defines if abstract of the data should be displayed in the alert- Parameters:
alert- theAlert- Returns:
- true if abstract should be displayed
-