Class NotificationHome
- java.lang.Object
-
- fr.paris.lutece.plugins.unittree.modules.notification.business.NotificationHome
-
public final class NotificationHome extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NotificationloadByUnit(fr.paris.lutece.plugins.unittree.business.unit.Unit unit)retrieve Notification configuration for a given unitstatic voidmergeConfiguration(Notification notification)update or create a notification configurationstatic voidremoveForUnit(int nIdUnit)remove Notification configuration for a given unit
-
-
-
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:
Notificationthe 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
-
-