public interface INotificationDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int id)
delete notification
|
void |
deleteByDemand(String strDemandId,
String strDemandTypeId)
Deletes notifications associated to the specified demand id and demand type id
|
Notification |
insert(Notification notification)
Inserts a notification
|
List<Notification> |
loadByDemand(String strDemandId,
String strDemandTypeId)
Finds notifications associated to the specified demand id and demand type id.
|
List<Notification> |
loadByDemandAndDate(String strDemandId,
String strDemandTypeId,
long lDate)
Get notification by demand ids and notification date
|
List<Notification> |
loadByFilter(NotificationFilter notificationFilter)
Finds and populate notification according to the filter
|
Optional<Notification> |
loadById(int id)
Finds notifications associated to the id
|
List<Notification> |
loadByIds(List<Integer> listIds)
Loads list by Ids
|
List<String> |
loadDistinctDemandTypeIds()
load distinct demand type ids
|
List<Integer> |
loadIdsByFilter(NotificationFilter notificationFilter)
Load the ids of the notification by filter
|
Optional<Notification> loadById(int id)
strId - List<Notification> loadByDemand(String strDemandId, String strDemandTypeId)
strDemandId - the demand idstrDemandTypeId - the demand type idList<Notification> loadByDemandAndDate(String strDemandId, String strDemandTypeId, long lDate)
strDemandId - strDemandTypeId - lDate - List<Notification> loadByFilter(NotificationFilter notificationFilter)
notificationFilter - the filterNotification insert(Notification notification)
notification - the notification to insertvoid deleteByDemand(String strDemandId, String strDemandTypeId)
strDemandId - the demand idstrDemandTypeId - the demand type idList<Integer> loadIdsByFilter(NotificationFilter notificationFilter)
notificationFilter - The notification filterList<String> loadDistinctDemandTypeIds()
List<Notification> loadByIds(List<Integer> listIds)
listIds - void delete(int id)
id - Copyright © 2022 City of Paris. All rights reserved.