@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 NotificationDaopublic List<Notification> findAllNotifications()
findAllNotifications in interface NotificationDaopublic List<Notification> findAllValidNotifications(Date date)
findAllValidNotifications in interface NotificationDaopublic Long saveNotification(Notification notification)
saveNotification in interface NotificationDaopublic void deleteNotificationById(Long id)
deleteNotificationById in interface NotificationDaopublic UserNotification findUserNotificationById(Long id)
findUserNotificationById in interface NotificationDaopublic UserNotification findUserNotificationByNotificationId(Long id)
findUserNotificationByNotificationId in interface NotificationDaopublic Long saveUserNotification(UserNotification userNotification)
saveUserNotification in interface NotificationDaopublic void deleteUserNotificationById(Long id)
deleteUserNotificationById in interface NotificationDaopublic List<UserNotification> findAllUserNotificationsByDeviceId(String id)
findAllUserNotificationsByDeviceId in interface NotificationDaopublic List<UserNotification> findAllUserNotificationsByPersonId(Long id)
findAllUserNotificationsByPersonId in interface NotificationDaoCopyright © 2011-2013 The Kuali Foundation. All Rights Reserved.