Class WebNotificationInfosSelector
java.lang.Object
org.exoplatform.commons.notification.impl.service.storage.cache.WebNotificationInfosSelector
- All Implemented Interfaces:
org.exoplatform.services.cache.CachedObjectSelector<ListWebNotificationsKey,Object>
public class WebNotificationInfosSelector
extends Object
implements org.exoplatform.services.cache.CachedObjectSelector<ListWebNotificationsKey,Object>
-
Constructor Summary
ConstructorsConstructorDescriptionWebNotificationInfosSelector(org.exoplatform.commons.api.notification.model.NotificationInfo notificationInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoidonSelect(org.exoplatform.services.cache.ExoCache<? extends ListWebNotificationsKey, ? extends Object> cache, ListWebNotificationsKey key, org.exoplatform.services.cache.ObjectCacheInfo<? extends Object> ocinfo) booleanselect(ListWebNotificationsKey key, org.exoplatform.services.cache.ObjectCacheInfo<? extends Object> ocinfo)
-
Constructor Details
-
WebNotificationInfosSelector
public WebNotificationInfosSelector(org.exoplatform.commons.api.notification.model.NotificationInfo notificationInfo)
-
-
Method Details
-
select
public boolean select(ListWebNotificationsKey key, org.exoplatform.services.cache.ObjectCacheInfo<? extends Object> ocinfo) - Specified by:
selectin interfaceorg.exoplatform.services.cache.CachedObjectSelector<ListWebNotificationsKey,Object>
-
onSelect
public void onSelect(org.exoplatform.services.cache.ExoCache<? extends ListWebNotificationsKey, ? extends Object> cache, ListWebNotificationsKey key, org.exoplatform.services.cache.ObjectCacheInfo<? extends Object> ocinfo) throws Exception- Specified by:
onSelectin interfaceorg.exoplatform.services.cache.CachedObjectSelector<ListWebNotificationsKey,Object> - Throws:
Exception
-