|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jalios.jcms.alert.BasicAlertChannel
com.jalios.jcms.alert.MailAlertChannel
public class MailAlertChannel
Field Summary | |
---|---|
static String |
ALERT_ATTR
|
static String |
DESCRIPTION_PROP
|
static String |
JSP_DEFAULT_PROP
|
static String |
JSP_PREFIX_PROP
|
static String |
LABEL_PROP
|
static String |
PREFIX_PROP
|
static String |
SUBJECT_DEFAULT_PROP
|
static String |
SUBJECT_PREFIX_PROP
|
Fields inherited from interface com.jalios.jcms.plugin.PluginComponent |
---|
REVISION |
Constructor Summary | |
---|---|
MailAlertChannel()
|
Method Summary | |
---|---|
String |
getDescription(String userLang)
Returns the description of the AlertChannel. |
String |
getIcon()
Returns the icon of the AlertChannel. |
String |
getLabel(String userLang)
Returns the label of the AlertChannel. |
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. |
Methods inherited from class com.jalios.jcms.alert.BasicAlertChannel |
---|
init, saveAlert |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ALERT_ATTR
public static final String PREFIX_PROP
public static final String LABEL_PROP
public static final String DESCRIPTION_PROP
public static final String SUBJECT_PREFIX_PROP
public static final String SUBJECT_DEFAULT_PROP
public static final String JSP_PREFIX_PROP
public static final String JSP_DEFAULT_PROP
Constructor Detail |
---|
public MailAlertChannel()
Method Detail |
---|
public String getName()
AlertChannel
public String getLabel(String userLang)
AlertChannel
userLang
- the user language.
public String getDescription(String userLang)
AlertChannel
userLang
- the user language.
public 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 member
public void send(Alert alert)
AlertChannel
alert
- the alert
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |