Interface NotificationDao
- All Known Implementing Classes:
CacheBackedNotificationDao
public interface NotificationDao
Responsible for persisting notifications.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanexists(LikeNotification notification) Returns true if the specified notification exists, false otherwise.voidsave(LikeNotification notification) Persist the specified notification.
-
Method Details
-
exists
Returns true if the specified notification exists, false otherwise.- Parameters:
notification- the notification- Returns:
- true if the specified notification exists, false otherwise.
-
save
Persist the specified notification.- Parameters:
notification- the notification
-