public interface IDbNotificationDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(DbNotification notification,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
DbNotification |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<DbNotification> |
selectByDemand(int nDemandId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select all notification for a given demand
|
List<Integer> |
selectIdNotificationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the notification objects and returns them as a collection
|
List<DbNotification> |
selectNotificationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the notification objects and returns them as a collection
|
void |
store(DbNotification notification,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(DbNotification notification, fr.paris.lutece.portal.service.plugin.Plugin plugin)
notification - instance of the DbNotification object to insertplugin - the Pluginvoid store(DbNotification notification, fr.paris.lutece.portal.service.plugin.Plugin plugin)
notification - the reference of the DbNotificationplugin - the Pluginvoid delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the DbNotification to deleteplugin - the PluginDbNotification load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the notificationplugin - the PluginList<DbNotification> selectNotificationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<Integer> selectIdNotificationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<DbNotification> selectByDemand(int nDemandId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nDemandId - The demand IDplugin - the PluginCopyright © 2016 City of Paris. All rights reserved.