public class NotificationDAO extends Object implements INotificationDAO
| Constructor and Description |
|---|
NotificationDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdNotification,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteByIdDemand(int nIdDemand,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all record from a given id demand
|
int |
insert(Notification notification,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Notification |
load(int nIdNotification,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
List<Notification> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all notification
|
List<Notification> |
selectNotificationsByFilter(NotificationFilter nFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find by filter
|
void |
store(Notification notification,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey in interface INotificationDAOplugin - The Pluginpublic int insert(Notification notification, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface INotificationDAOnotification - instance of the Notification object to insertplugin - the Pluginpublic Notification load(int nIdNotification, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface INotificationDAOnIdNotification - The identifier of the notificationplugin - the Pluginpublic void store(Notification notification, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface INotificationDAOnotification - the reference of the Notificationplugin - the Pluginpublic void delete(int nIdNotification,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface INotificationDAOnIdNotification - int identifier of the notification to deleteplugin - the Pluginpublic void deleteByIdDemand(int nIdDemand,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByIdDemand in interface INotificationDAOnIdDemand - the id demandplugin - the Pluginpublic List<Notification> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAll in interface INotificationDAOplugin - PluginNotificationpublic List<Notification> selectNotificationsByFilter(NotificationFilter nFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectNotificationsByFilter in interface INotificationDAOnFilter - the filterplugin - PluginNotificationCopyright © 2015 City of Paris. All rights reserved.