Interface NotificationDao
-
- All Known Implementing Classes:
CacheBackedNotificationDao
public interface NotificationDaoResponsible for persisting notifications.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexists(LikeNotification notification)Returns true if the specified notification exists, false otherwise.voidsave(LikeNotification notification)Persist the specified notification.
-
-
-
Method Detail
-
exists
boolean exists(LikeNotification notification)
Returns true if the specified notification exists, false otherwise.- Parameters:
notification- the notification- Returns:
- true if the specified notification exists, false otherwise.
-
save
void save(LikeNotification notification)
Persist the specified notification.- Parameters:
notification- the notification
-
-