Class WebAlertChannel

    • Constructor Summary

      Constructors 
      Constructor Description
      WebAlertChannel()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean displayAbstract​(Alert alert)
      Defines if abstract of the data should be displayed in the alert
      java.lang.String getDescription​(java.lang.String userLang)
      Returns the description of the AlertChannel.
      java.lang.String getIcon()
      Returns the icon of the AlertChannel.
      static java.lang.String getJspPath​(Alert alert)  
      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 saveAlert()
      Returns true if the alerts of this channel must be saved.
      void send​(Alert alert)
      Sends an alert.
      • 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 java.lang.String getName()
        Description copied from interface: AlertChannel
        Returns the internal name of the AlertChannel.
        Returns:
        the internal name of the AlertChannel.
      • getLabel

        public java.lang.String getLabel​(java.lang.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 java.lang.String getDescription​(java.lang.String userLang)
        Description copied from interface: AlertChannel
        Returns the description of the AlertChannel.
        Parameters:
        userLang - the user language.
        Returns:
        the description 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.
      • getJspPath

        public static java.lang.String getJspPath​(Alert 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