Class MailAlertChannel

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

public class MailAlertChannel extends BasicAlertChannel
  • Field Details

  • Constructor Details

    • MailAlertChannel

      public MailAlertChannel()
  • Method Details

    • 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
    • displayAbstract

      public static boolean displayAbstract(Alert alert)
      Defines if abstract of the data should be displayed in the alert
      Parameters:
      alert - the Alert
      Returns:
      true if abstract should be displayed