Class WebNotificationsOfUserSelector
java.lang.Object
org.exoplatform.services.cache.ClusterCachedObjectSelector<WebNotifInfoCacheKey,org.exoplatform.commons.api.notification.model.NotificationInfo>
org.exoplatform.commons.notification.impl.service.storage.cache.WebNotificationsOfUserSelector
- All Implemented Interfaces:
Serializable,org.exoplatform.services.cache.CachedObjectSelector<WebNotifInfoCacheKey,org.exoplatform.commons.api.notification.model.NotificationInfo>
public class WebNotificationsOfUserSelector
extends org.exoplatform.services.cache.ClusterCachedObjectSelector<WebNotifInfoCacheKey,org.exoplatform.commons.api.notification.model.NotificationInfo>
Selects the web notifications sent to a user, which are removed from every node of a cluster.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Object[]criteria()booleanselect(WebNotifInfoCacheKey key, org.exoplatform.services.cache.ObjectCacheInfo<? extends org.exoplatform.commons.api.notification.model.NotificationInfo> ocinfo) Methods inherited from class org.exoplatform.services.cache.ClusterCachedObjectSelector
equals, hashCode, onSelect, toString
-
Constructor Details
-
WebNotificationsOfUserSelector
-
-
Method Details
-
select
public boolean select(WebNotifInfoCacheKey key, org.exoplatform.services.cache.ObjectCacheInfo<? extends org.exoplatform.commons.api.notification.model.NotificationInfo> ocinfo) -
criteria
- Specified by:
criteriain classorg.exoplatform.services.cache.ClusterCachedObjectSelector<WebNotifInfoCacheKey,org.exoplatform.commons.api.notification.model.NotificationInfo>
-