com.jalios.jcms.alert
Class WebAlertChannel

java.lang.Object
  extended by com.jalios.jcms.alert.BasicAlertChannel
      extended by com.jalios.jcms.alert.WebAlertChannel
All Implemented Interfaces:
AlertChannel, PluginComponent

public class WebAlertChannel
extends BasicAlertChannel


Field Summary
 
Fields inherited from interface com.jalios.jcms.plugin.PluginComponent
REVISION
 
Constructor Summary
WebAlertChannel()
           
 
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 saveAlert()
          Returns true if the alerts of this channel must be saved.
 void send(Alert alert)
          Sends an alert.
 
Methods inherited from class com.jalios.jcms.alert.BasicAlertChannel
init, isAvailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebAlertChannel

public WebAlertChannel()
Method Detail

getName

public String getName()
Description copied from interface: AlertChannel
Returns the internal name of the AlertChannel.

Returns:
the internal name of the AlertChannel.

getLabel

public String getLabel(String userLang)
Description copied from interface: AlertChannel
Returns the label of the AlertChannel.

Parameters:
userLang - the user language.
Returns:
the label of the AlertChannel.

getDescription

public String getDescription(String userLang)
Description copied from interface: AlertChannel
Returns the description of the AlertChannel.

Parameters:
userLang - the user language.
Returns:
the description of the AlertChannel.

getIcon

public String getIcon()
Description copied from interface: AlertChannel
Returns the icon of the AlertChannel.

Specified by:
getIcon in interface AlertChannel
Overrides:
getIcon in class BasicAlertChannel
Returns:
the icon of the AlertChannel.

send

public void send(Alert alert)
Description copied from interface: AlertChannel
Sends an alert.

Parameters:
alert - the alert

saveAlert

public boolean saveAlert()
Description copied from interface: AlertChannel
Returns true if the alerts of this channel must be saved.

Specified by:
saveAlert in interface AlertChannel
Overrides:
saveAlert in class BasicAlertChannel
Returns:
true if the alerts of this channel must be saved.


Copyright © 2001-2010 Jalios SA. All Rights Reserved.