public final class MockNotificationEventDAO extends Object implements INotificationEventDAO
| Constructor and Description |
|---|
MockNotificationEventDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey)
delete a notification event
|
NotificationEvent |
insert(NotificationEvent notificationEvent)
Inserts a notification event
|
List<NotificationEvent> |
loadByDemand(String strDemandId,
String strDemandTypeId)
Finds notifications associated to the specified demand id and demand type id.
|
List<NotificationEvent> |
loadByFilter(NotificationFilter filter)
Finds and populate notification according to the filter
|
NotificationEvent |
loadById(int nKey)
Finds notifications associated to the id
|
List<Integer> |
loadIdsByFilter(NotificationFilter filter)
Load the ids of the notification events by filter
|
public NotificationEvent insert(NotificationEvent notificationEvent)
insert in interface INotificationEventDAOnotificationEvent - the notification to insertpublic NotificationEvent loadById(int nKey)
loadById in interface INotificationEventDAOpublic void delete(int nKey)
delete in interface INotificationEventDAOpublic List<NotificationEvent> loadByDemand(String strDemandId, String strDemandTypeId)
loadByDemand in interface INotificationEventDAOstrDemandId - the demand idstrDemandTypeId - the demand type idpublic List<NotificationEvent> loadByFilter(NotificationFilter filter)
loadByFilter in interface INotificationEventDAOfilter - the filterpublic List<Integer> loadIdsByFilter(NotificationFilter filter)
loadIdsByFilter in interface INotificationEventDAOfilter - The notification filterCopyright © 2021 City of Paris. All rights reserved.