Class BroadcastNotificationConfig

  • All Implemented Interfaces:
    INotificationConfig

    public class BroadcastNotificationConfig
    extends java.lang.Object
    implements INotificationConfig
    This class represents a configuration for the broadcast notification
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addConfig()
      Adds this notification configuration
      java.lang.String getName()
      Gives the name of the notification configuration
      fr.paris.lutece.plugins.grubusiness.business.notification.EnumNotificationType getNotificationType()
      get notification type
      AbstractNotificationConfigValidator getValidator()
      Gives the validator for this notification configuration
      boolean isActive()
      Tests if this notification configuration is active or not
      void removeConfig()
      Removes this notification configuration
      void setActive​(boolean bActive)
      Activates or deactivates this notification configuration depending to the specified boolean
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BroadcastNotificationConfig

        public BroadcastNotificationConfig​(javax.servlet.http.HttpServletRequest request,
                                           TaskNotifyGruConfig config)
        Constructor
        Parameters:
        request - the request used by this configuration
        config - the configuration of the task
    • Method Detail

      • getName

        public java.lang.String getName()
        Gives the name of the notification configuration
        Specified by:
        getName in interface INotificationConfig
        Returns:
        the name
      • isActive

        public boolean isActive()
        Tests if this notification configuration is active or not
        Specified by:
        isActive in interface INotificationConfig
        Returns:
        true if the notification configuration is active, false otherwise
      • setActive

        public void setActive​(boolean bActive)
        Activates or deactivates this notification configuration depending to the specified boolean
        Specified by:
        setActive in interface INotificationConfig
        Parameters:
        bActive - true if this notification configuration must be activated, false if it must be deactivated
      • getNotificationType

        public fr.paris.lutece.plugins.grubusiness.business.notification.EnumNotificationType getNotificationType()
        Description copied from interface: INotificationConfig
        get notification type
        Specified by:
        getNotificationType in interface INotificationConfig
        Returns: