Class NotificationSettingsProviderImpl
- java.lang.Object
-
- org.cxbox.notifications.model.hbn.change.BaseNotificationSettingsProvider
-
- org.cxbox.notifications.service.impl.NotificationSettingsProviderImpl
-
- All Implemented Interfaces:
NotificationSettingsProvider,CacheableNotificationSettingsProvider
@Service public class NotificationSettingsProviderImpl extends BaseNotificationSettingsProvider implements CacheableNotificationSettingsProvider
-
-
Constructor Summary
Constructors Constructor Description NotificationSettingsProviderImpl(org.cxbox.model.core.dao.JpaDao jpaDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidevict(org.cxbox.api.data.dictionary.LOV event)voidevict(org.cxbox.api.data.dictionary.LOV event, Long userId)EventSettingsgetGlobalSettings(org.cxbox.api.data.dictionary.LOV event)EventSettingsgetUserSettings(org.cxbox.api.data.dictionary.LOV event, Long userId)-
Methods inherited from class org.cxbox.notifications.model.hbn.change.BaseNotificationSettingsProvider
getRecipientTypes
-
-
-
-
Method Detail
-
getGlobalSettings
@Cacheable(cacheResolver="cxboxCacheResolver", cacheNames="notificationSettings") public EventSettings getGlobalSettings(org.cxbox.api.data.dictionary.LOV event)- Specified by:
getGlobalSettingsin interfaceNotificationSettingsProvider- Overrides:
getGlobalSettingsin classBaseNotificationSettingsProvider
-
evict
@CacheEvict(cacheResolver="cxboxCacheResolver", cacheNames="notificationSettings") public void evict(org.cxbox.api.data.dictionary.LOV event)- Specified by:
evictin interfaceCacheableNotificationSettingsProvider
-
getUserSettings
@Cacheable(cacheResolver="cxboxCacheResolver", cacheNames="notificationSettings") public EventSettings getUserSettings(org.cxbox.api.data.dictionary.LOV event, Long userId)- Specified by:
getUserSettingsin interfaceNotificationSettingsProvider- Overrides:
getUserSettingsin classBaseNotificationSettingsProvider
-
evict
@CacheEvict(cacheResolver="cxboxCacheResolver", cacheNames="notificationSettings") public void evict(org.cxbox.api.data.dictionary.LOV event, Long userId)- Specified by:
evictin interfaceCacheableNotificationSettingsProvider
-
-