public interface INotificationEventDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nId)
delete a notification event
|
String |
deleteBeforeDate(long lDate)
purge the events after N days
|
NotificationEvent |
insert(NotificationEvent notificationEvent)
Inserts a notification event
|
List<NotificationEvent> |
loadByDemand(String strDemandId,
String strDemandTypeId)
Finds notification events associated to the specified demand id and demand type id.
|
List<NotificationEvent> |
loadByFilter(NotificationFilter notificationFilter)
Finds and populate notification according to the filter
|
Optional<NotificationEvent> |
loadById(int nId)
Finds notifications associated to the id
|
List<NotificationEvent> |
loadByIds(List<Integer> listIds)
load the events for an id list
|
List<NotificationEvent> |
loadByNotification(String strDemandId,
String strDemandTypeId,
long lNotificationDate)
Finds notification events associated to the specified notification
|
List<Integer> |
loadIdsByFilter(NotificationFilter notificationFilter)
Load the ids of the notification events by filter
|
Optional<NotificationEvent> loadById(int nId)
nId - List<NotificationEvent> loadByDemand(String strDemandId, String strDemandTypeId)
strDemandId - the demand idstrDemandTypeId - the demand type idList<NotificationEvent> loadByNotification(String strDemandId, String strDemandTypeId, long lNotificationDate)
strDemandId - strDemandTypeId - lNotificationDate - List<NotificationEvent> loadByFilter(NotificationFilter notificationFilter)
notificationFilter - the filterNotificationEvent insert(NotificationEvent notificationEvent)
notificationEvent - the notification event to insertvoid delete(int nId)
nId - List<Integer> loadIdsByFilter(NotificationFilter notificationFilter)
notificationFilter - The notification filterList<NotificationEvent> loadByIds(List<Integer> listIds)
String deleteBeforeDate(long lDate)
nbDays - Copyright © 2024 City of Paris. All rights reserved.