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> |
loadByDemandIdTypeIdCustomerId(String strDemandId,
String strDemandTypeId,
String strCustomerId)
Finds and populate notification by demand id, type id, customer id
|
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
|
Notification |
loadLastNotifByDemandIdAndDemandTypeId(String strDemandId,
String strDemandTypeId)
Find last notification by demand id and demand type id
|
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 filterList<Notification> loadByDemandIdTypeIdCustomerId(String strDemandId, String strDemandTypeId, String strCustomerId)
strDemandId - strDemandTypeId - strCustomerId - Notification loadLastNotifByDemandIdAndDemandTypeId(String strDemandId, String strDemandTypeId)
strDemandId - strDemandTypeId - Notification 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 © 2024 City of Paris. All rights reserved.