Class NotificationHome


  • public final class NotificationHome
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Notification loadByUnit​(fr.paris.lutece.plugins.unittree.business.unit.Unit unit)
      retrieve Notification configuration for a given unit
      static void mergeConfiguration​(Notification notification)
      update or create a notification configuration
      static void removeForUnit​(int nIdUnit)
      remove Notification configuration for a given unit
      • Methods inherited from class java.lang.Object

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

      • 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