public class NotificationDAO extends Object implements INotificationDAO
BEAN_NAME| Constructor and Description |
|---|
NotificationDAO() |
| Modifier and Type | Method and Description |
|---|---|
Notification |
loadByIdUnit(int nIdUnit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
retrieve Notification configuration for a given unit
|
void |
mergeConfiguration(Notification notification,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
update or create a notification configuration
|
void |
removeForUnit(int nIdUnit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove Notification configuration for a given unit
|
public Notification loadByIdUnit(int nIdUnit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByIdUnit in interface INotificationDAOnIdUnit - id of the unitplugin - the pluginNotification the Notification configurationpublic void removeForUnit(int nIdUnit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
removeForUnit in interface INotificationDAOnIdUnit - id of the unitplugin - the pluginpublic void mergeConfiguration(Notification notification, fr.paris.lutece.portal.service.plugin.Plugin plugin)
mergeConfiguration in interface INotificationDAOnotification - the notification confifurationplugin - the pluginCopyright © 2017 City of Paris. All rights reserved.