public class CacheBackedNotificationDao extends Object implements NotificationDao, org.springframework.beans.factory.InitializingBean
Modifier and Type | Class and Description |
---|---|
static class |
CacheBackedNotificationDao.CacheKey |
Constructor and Description |
---|
CacheBackedNotificationDao(com.atlassian.cache.CacheManager cacheManager) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
boolean |
exists(LikeNotification notification)
Returns true if the specified notification exists, false otherwise.
|
void |
save(LikeNotification notification)
Persist the specified notification.
|
public CacheBackedNotificationDao(com.atlassian.cache.CacheManager cacheManager)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public boolean exists(LikeNotification notification)
NotificationDao
exists
in interface NotificationDao
notification
- the notificationpublic void save(LikeNotification notification)
NotificationDao
save
in interface NotificationDao
notification
- the notificationCopyright © 2003–2015 Atlassian. All rights reserved.