Class CalendarEventsSelector

java.lang.Object
org.exoplatform.services.cache.ClusterCachedObjectSelector<Long,org.exoplatform.agenda.model.Event>
org.exoplatform.agenda.storage.cached.CalendarEventsSelector
All Implemented Interfaces:
Serializable, org.exoplatform.services.cache.CachedObjectSelector<Long,org.exoplatform.agenda.model.Event>

public class CalendarEventsSelector extends org.exoplatform.services.cache.ClusterCachedObjectSelector<Long,org.exoplatform.agenda.model.Event>
Selects the cached events of a calendar, which are removed from every node of a cluster.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    CalendarEventsSelector(long calendarId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object[]
     
    boolean
    select(Long eventId, org.exoplatform.services.cache.ObjectCacheInfo<? extends org.exoplatform.agenda.model.Event> ocinfo)
     

    Methods inherited from class org.exoplatform.services.cache.ClusterCachedObjectSelector

    equals, hashCode, onSelect, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CalendarEventsSelector

      public CalendarEventsSelector(long calendarId)
  • Method Details

    • select

      public boolean select(Long eventId, org.exoplatform.services.cache.ObjectCacheInfo<? extends org.exoplatform.agenda.model.Event> ocinfo)
    • criteria

      protected Object[] criteria()
      Specified by:
      criteria in class org.exoplatform.services.cache.ClusterCachedObjectSelector<Long,org.exoplatform.agenda.model.Event>