Class NotificationEventDAO
java.lang.Object
fr.paris.lutece.plugins.notificationstore.business.NotificationEventDAO
- All Implemented Interfaces:
fr.paris.lutece.plugins.grubusiness.business.notification.INotificationEventDAO
public final class NotificationEventDAO
extends Object
implements fr.paris.lutece.plugins.grubusiness.business.notification.INotificationEventDAO
This class provides Data Access methods for NotificationEvent objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey) deleteBeforeDate(long lDate) voiddeleteByCustomerId(String strCustomerId) fr.paris.lutece.plugins.grubusiness.business.notification.NotificationEventinsert(fr.paris.lutece.plugins.grubusiness.business.notification.NotificationEvent notificationEvent) List<fr.paris.lutece.plugins.grubusiness.business.notification.NotificationEvent>loadByDemand(String strDemandId, String strDemandTypeId) List<fr.paris.lutece.plugins.grubusiness.business.notification.NotificationEvent>loadByFilter(fr.paris.lutece.plugins.grubusiness.business.notification.NotificationFilter filter) Optional<fr.paris.lutece.plugins.grubusiness.business.notification.NotificationEvent>loadById(int nKey) List<fr.paris.lutece.plugins.grubusiness.business.notification.NotificationEvent>List<fr.paris.lutece.plugins.grubusiness.business.notification.NotificationEvent>loadByNotification(String strDemandId, String strDemandTypeId, long lNotificationDate) loadIdsByFilter(fr.paris.lutece.plugins.grubusiness.business.notification.NotificationFilter filter)
-
Constructor Details
-
NotificationEventDAO
public NotificationEventDAO()
-
-
Method Details
-
insert
public fr.paris.lutece.plugins.grubusiness.business.notification.NotificationEvent insert(fr.paris.lutece.plugins.grubusiness.business.notification.NotificationEvent notificationEvent) - Specified by:
insertin interfacefr.paris.lutece.plugins.grubusiness.business.notification.INotificationEventDAO
-
loadById
public Optional<fr.paris.lutece.plugins.grubusiness.business.notification.NotificationEvent> loadById(int nKey) - Specified by:
loadByIdin interfacefr.paris.lutece.plugins.grubusiness.business.notification.INotificationEventDAO
-
loadByIds
public List<fr.paris.lutece.plugins.grubusiness.business.notification.NotificationEvent> loadByIds(List<Integer> listIds) - Specified by:
loadByIdsin interfacefr.paris.lutece.plugins.grubusiness.business.notification.INotificationEventDAO
-
delete
public void delete(int nKey) - Specified by:
deletein interfacefr.paris.lutece.plugins.grubusiness.business.notification.INotificationEventDAO
-
deleteByCustomerId
- Specified by:
deleteByCustomerIdin interfacefr.paris.lutece.plugins.grubusiness.business.notification.INotificationEventDAO
-
loadByDemand
public List<fr.paris.lutece.plugins.grubusiness.business.notification.NotificationEvent> loadByDemand(String strDemandId, String strDemandTypeId) - Specified by:
loadByDemandin interfacefr.paris.lutece.plugins.grubusiness.business.notification.INotificationEventDAO
-
loadByNotification
public List<fr.paris.lutece.plugins.grubusiness.business.notification.NotificationEvent> loadByNotification(String strDemandId, String strDemandTypeId, long lNotificationDate) - Specified by:
loadByNotificationin interfacefr.paris.lutece.plugins.grubusiness.business.notification.INotificationEventDAO
-
loadByFilter
public List<fr.paris.lutece.plugins.grubusiness.business.notification.NotificationEvent> loadByFilter(fr.paris.lutece.plugins.grubusiness.business.notification.NotificationFilter filter) - Specified by:
loadByFilterin interfacefr.paris.lutece.plugins.grubusiness.business.notification.INotificationEventDAO
-
loadIdsByFilter
public List<Integer> loadIdsByFilter(fr.paris.lutece.plugins.grubusiness.business.notification.NotificationFilter filter) - Specified by:
loadIdsByFilterin interfacefr.paris.lutece.plugins.grubusiness.business.notification.INotificationEventDAO
-
deleteBeforeDate
- Specified by:
deleteBeforeDatein interfacefr.paris.lutece.plugins.grubusiness.business.notification.INotificationEventDAO
-