public class WebAlertChannel extends BasicAlertChannel
Modifier and Type | Field and Description |
---|---|
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 |
PREFIX_PROP |
REVISION
Constructor and Description |
---|
WebAlertChannel() |
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.
|
static java.lang.String |
getJspPath(Alert alert) |
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.
|
boolean |
saveAlert()
Returns true if the alerts of this channel must be saved.
|
void |
send(Alert alert)
Sends an alert.
|
init, isAvailable
public static final java.lang.String PREFIX_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 java.lang.String getName()
AlertChannel
public java.lang.String getLabel(java.lang.String userLang)
AlertChannel
userLang
- the user language.public java.lang.String getDescription(java.lang.String userLang)
AlertChannel
userLang
- the user language.public java.lang.String getIcon()
AlertChannel
getIcon
in interface AlertChannel
getIcon
in class BasicAlertChannel
public void send(Alert alert)
AlertChannel
alert
- the alertpublic boolean saveAlert()
AlertChannel
saveAlert
in interface AlertChannel
saveAlert
in class BasicAlertChannel
public static java.lang.String getJspPath(Alert alert)
Copyright © 2001-2017 Jalios SA. All Rights Reserved.