1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.mobility.notification.dao; |
17 | |
|
18 | |
import java.util.Date; |
19 | |
import java.util.List; |
20 | |
|
21 | |
import org.kuali.mobility.notification.entity.Notification; |
22 | |
import org.kuali.mobility.notification.entity.UserNotification; |
23 | |
|
24 | |
public interface NotificationDao { |
25 | |
|
26 | |
Notification findNotificationById(Long id); |
27 | |
Long saveNotification(Notification notification); |
28 | |
void deleteNotificationById(Long id); |
29 | |
List<Notification> findAllNotifications(); |
30 | |
List<Notification> findAllValidNotifications(Date date); |
31 | |
|
32 | |
UserNotification findUserNotificationById(Long id); |
33 | |
UserNotification findUserNotificationByNotificationId(Long id); |
34 | |
Long saveUserNotification(UserNotification userNotification); |
35 | |
void deleteUserNotificationById(Long id); |
36 | |
List<UserNotification> findAllUserNotificationsByDeviceId(String id); |
37 | |
List<UserNotification> findAllUserNotificationsByPersonId(Long id); |
38 | |
|
39 | |
} |