public class MailAlertChannel extends BasicAlertChannel
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALERT_ATTR |
static java.lang.String |
DESCRIPTION_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 |
SUBJECT_DEFAULT_PROP |
static java.lang.String |
SUBJECT_PREFIX_PROP |
REVISION
Constructor and Description |
---|
MailAlertChannel() |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
isAvailable(Member member)
Returns true if this AlertChannel is available for the given Member.
|
void |
send(Alert alert)
Sends an alert.
|
init, saveAlert
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 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 boolean isAvailable(Member member)
AlertChannel
isAvailable
in interface AlertChannel
isAvailable
in class BasicAlertChannel
member
- the memberpublic void send(Alert alert)
AlertChannel
alert
- the alertCopyright © 2001-2010 Jalios SA. All Rights Reserved.