Class NotificationSettingsProviderImpl
- java.lang.Object
-
- io.tesler.notifications.model.hbn.change.BaseNotificationSettingsProvider
-
- io.tesler.notifications.service.impl.NotificationSettingsProviderImpl
-
- All Implemented Interfaces:
NotificationSettingsProvider
,CacheableNotificationSettingsProvider
@Service public class NotificationSettingsProviderImpl extends BaseNotificationSettingsProvider implements CacheableNotificationSettingsProvider
-
-
Constructor Summary
Constructors Constructor Description NotificationSettingsProviderImpl(JpaDao jpaDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
evict(LOV event)
void
evict(LOV event, Long userId)
EventSettings
getGlobalSettings(LOV event)
EventSettings
getUserSettings(LOV event, Long userId)
-
Methods inherited from class io.tesler.notifications.model.hbn.change.BaseNotificationSettingsProvider
getRecipientTypes
-
-
-
-
Constructor Detail
-
NotificationSettingsProviderImpl
public NotificationSettingsProviderImpl(JpaDao jpaDao)
-
-
Method Detail
-
getGlobalSettings
@Cacheable("notificationSettings") public EventSettings getGlobalSettings(LOV event)
- Specified by:
getGlobalSettings
in interfaceNotificationSettingsProvider
- Overrides:
getGlobalSettings
in classBaseNotificationSettingsProvider
-
evict
@CacheEvict("notificationSettings") public void evict(LOV event)
- Specified by:
evict
in interfaceCacheableNotificationSettingsProvider
-
getUserSettings
@Cacheable("notificationSettings") public EventSettings getUserSettings(LOV event, Long userId)
- Specified by:
getUserSettings
in interfaceNotificationSettingsProvider
- Overrides:
getUserSettings
in classBaseNotificationSettingsProvider
-
evict
@CacheEvict("notificationSettings") public void evict(LOV event, Long userId)
- Specified by:
evict
in interfaceCacheableNotificationSettingsProvider
-
-