@Service public class NotificationServiceImpl extends Object implements NotificationService
Constructor and Description |
---|
NotificationServiceImpl() |
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) |
NotificationDao |
getNotificationDao() |
Long |
saveNotification(Notification notification) |
Long |
saveUserNotification(UserNotification userNotification) |
void |
setNotificationDao(NotificationDao notificationDao) |
public NotificationServiceImpl()
@Transactional public Notification findNotificationById(Long id)
findNotificationById
in interface NotificationService
@Transactional public List<Notification> findAllNotifications()
findAllNotifications
in interface NotificationService
@Transactional public List<Notification> findAllValidNotifications(Date date)
findAllValidNotifications
in interface NotificationService
@Transactional public Long saveNotification(Notification notification)
saveNotification
in interface NotificationService
@Transactional public void deleteNotificationById(Long id)
deleteNotificationById
in interface NotificationService
@Transactional public UserNotification findUserNotificationById(Long id)
findUserNotificationById
in interface NotificationService
@Transactional public UserNotification findUserNotificationByNotificationId(Long id)
findUserNotificationByNotificationId
in interface NotificationService
@Transactional public Long saveUserNotification(UserNotification userNotification)
saveUserNotification
in interface NotificationService
@Transactional public void deleteUserNotificationById(Long id)
deleteUserNotificationById
in interface NotificationService
@Transactional public List<UserNotification> findAllUserNotificationsByDeviceId(String id)
findAllUserNotificationsByDeviceId
in interface NotificationService
@Transactional public List<UserNotification> findAllUserNotificationsByPersonId(Long id)
findAllUserNotificationsByPersonId
in interface NotificationService
public NotificationDao getNotificationDao()
public void setNotificationDao(NotificationDao notificationDao)
Copyright © 2011-2013 The Kuali Foundation. All Rights Reserved.