Package com.jalios.jcms.alert
Class BasicAlertChannel
java.lang.Object
com.jalios.jcms.alert.BasicAlertChannel
- All Implemented Interfaces:
AlertChannel,PluginComponent
- Direct Known Subclasses:
MailAlertChannel,WebAlertChannel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIcon()Returns the icon of the AlertChannel.booleanInitialize the component with the given plugin configurationbooleanisAvailable(Member member) Returns true if this AlertChannel is available for the given Member.booleanReturns true if the alerts of this channel must be saved.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jalios.jcms.alert.AlertChannel
getDescription, getLabel, getName, send
-
Constructor Details
-
BasicAlertChannel
public BasicAlertChannel()
-
-
Method Details
-
getIcon
Description copied from interface:AlertChannelReturns the icon of the AlertChannel.- Specified by:
getIconin interfaceAlertChannel- Returns:
- the icon of the AlertChannel.
-
isAvailable
Description copied from interface:AlertChannelReturns true if this AlertChannel is available for the given Member.- Specified by:
isAvailablein interfaceAlertChannel- Parameters:
member- the member- Returns:
- true if this AlertChannel is available for the given Member.
-
saveAlert
public boolean saveAlert()Description copied from interface:AlertChannelReturns true if the alerts of this channel must be saved.- Specified by:
saveAlertin interfaceAlertChannel- Returns:
- true if the alerts of this channel must be saved.
-
init
Description copied from interface:PluginComponentInitialize the component with the given plugin configuration- Specified by:
initin interfacePluginComponent- Parameters:
plugin- the calling plugin- Returns:
- true if the component has been correctly initialized.
-