public interface INotificationDAO
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
|
int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Pluginint insert(Notification notification, fr.paris.lutece.portal.service.plugin.Plugin plugin)
notification
- instance of the Notification object to insertplugin
- the Pluginvoid store(Notification notification, fr.paris.lutece.portal.service.plugin.Plugin plugin)
notification
- the reference of the Notificationplugin
- the Pluginvoid delete(int nIdNotification, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdNotification
- int identifier of the notification to deleteplugin
- the Pluginvoid deleteByIdDemand(int nIdDemand, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDemand
- the id demandplugin
- the PluginNotification load(int nIdNotification, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdNotification
- The identifier of the notificationplugin
- the PluginList<Notification> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- Plugin
Notification
List<Notification> selectNotificationsByFilter(NotificationFilter nFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nFilter
- the filterplugin
- Plugin
Notification
Copyright © 2019 City of Paris. All rights reserved.