@Repository public class NotificationDaoImpl extends Object implements NotificationDao
Constructor and Description |
---|
NotificationDaoImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteNotificationById(Long id) |
void |
deleteUserNotificationById(Long id) |
List<Notification> |
findAllNotifications() |
List<UserNotification> |
findAllUserNotificationsByDeviceId(String id) |
List<UserNotification> |
findAllUserNotificationsByPersonId(Long id) |
List<Notification> |
findAllValidNotifications(Date date) |
Notification |
findNotificationById(Long id) |
UserNotification |
findUserNotificationById(Long id) |
UserNotification |
findUserNotificationByNotificationId(Long id) |
Long |
saveNotification(Notification notification) |
Long |
saveUserNotification(UserNotification userNotification) |
public NotificationDaoImpl()
public Notification findNotificationById(Long id)
findNotificationById
in interface NotificationDao
public List<Notification> findAllNotifications()
findAllNotifications
in interface NotificationDao
public List<Notification> findAllValidNotifications(Date date)
findAllValidNotifications
in interface NotificationDao
public Long saveNotification(Notification notification)
saveNotification
in interface NotificationDao
public void deleteNotificationById(Long id)
deleteNotificationById
in interface NotificationDao
public UserNotification findUserNotificationById(Long id)
findUserNotificationById
in interface NotificationDao
public UserNotification findUserNotificationByNotificationId(Long id)
findUserNotificationByNotificationId
in interface NotificationDao
public Long saveUserNotification(UserNotification userNotification)
saveUserNotification
in interface NotificationDao
public void deleteUserNotificationById(Long id)
deleteUserNotificationById
in interface NotificationDao
public List<UserNotification> findAllUserNotificationsByDeviceId(String id)
findAllUserNotificationsByDeviceId
in interface NotificationDao
public List<UserNotification> findAllUserNotificationsByPersonId(Long id)
findAllUserNotificationsByPersonId
in interface NotificationDao
Copyright © 2011-2013 The Kuali Foundation. All Rights Reserved.