java.lang.Object
fr.paris.lutece.plugins.unittree.modules.notification.business.NotificationHome

public final class NotificationHome extends Object
  • Method Details

    • loadByUnit

      public static Notification loadByUnit(fr.paris.lutece.plugins.unittree.business.unit.Unit unit)
      retrieve Notification configuration for a given unit
      Parameters:
      unit - the unit
      Returns:
      Notification the Notification configuration
    • removeForUnit

      public static void removeForUnit(int nIdUnit)
      remove Notification configuration for a given unit
      Parameters:
      nIdUnit - id of the unit
    • mergeConfiguration

      public static void mergeConfiguration(Notification notification)
      update or create a notification configuration
      Parameters:
      notification - the notification confifuration