public class MockNotificationDAO extends Object implements INotificationDAO
| Constructor and Description |
|---|
MockNotificationDAO() |
| Modifier and Type | Method and Description |
|---|---|
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> |
loadByFilter(NotificationFilter notificationFilter)
Finds and populate notification according to the filter
|
public List<Notification> loadByDemand(String strDemandId, String strDemandTypeId)
loadByDemand in interface INotificationDAOstrDemandId - the demand idstrDemandTypeId - the demand type idpublic List<Notification> loadByFilter(NotificationFilter notificationFilter)
loadByFilter in interface INotificationDAOpublic Notification insert(Notification notification)
insert in interface INotificationDAOnotification - the notification to insertpublic void deleteByDemand(String strDemandId, String strDemandTypeId)
deleteByDemand in interface INotificationDAOstrDemandId - the demand idstrDemandTypeId - the demand type idCopyright © 2017 City of Paris. All rights reserved.