Class NavigationDataCacheSelector

java.lang.Object
org.exoplatform.portal.mop.storage.cache.model.NavigationDataCacheSelector
All Implemented Interfaces:
org.exoplatform.services.cache.CachedObjectSelector<Long,org.exoplatform.portal.mop.navigation.NodeData>

public class NavigationDataCacheSelector extends Object implements org.exoplatform.services.cache.CachedObjectSelector<Long,org.exoplatform.portal.mop.navigation.NodeData>
  • Constructor Summary

    Constructors
    Constructor
    Description
    NavigationDataCacheSelector(org.exoplatform.portal.mop.SiteKey key, Long nodeId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onSelect(org.exoplatform.services.cache.ExoCache<? extends Long,? extends org.exoplatform.portal.mop.navigation.NodeData> cache, Long key, org.exoplatform.services.cache.ObjectCacheInfo<? extends org.exoplatform.portal.mop.navigation.NodeData> ocinfo)
     
    boolean
    select(Long nodeKey, org.exoplatform.services.cache.ObjectCacheInfo<? extends org.exoplatform.portal.mop.navigation.NodeData> ocinfo)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NavigationDataCacheSelector

      public NavigationDataCacheSelector(org.exoplatform.portal.mop.SiteKey key, Long nodeId)
  • Method Details

    • select

      public boolean select(Long nodeKey, org.exoplatform.services.cache.ObjectCacheInfo<? extends org.exoplatform.portal.mop.navigation.NodeData> ocinfo)
      Specified by:
      select in interface org.exoplatform.services.cache.CachedObjectSelector<Long,org.exoplatform.portal.mop.navigation.NodeData>
    • onSelect

      public void onSelect(org.exoplatform.services.cache.ExoCache<? extends Long,? extends org.exoplatform.portal.mop.navigation.NodeData> cache, Long key, org.exoplatform.services.cache.ObjectCacheInfo<? extends org.exoplatform.portal.mop.navigation.NodeData> ocinfo) throws Exception
      Specified by:
      onSelect in interface org.exoplatform.services.cache.CachedObjectSelector<Long,org.exoplatform.portal.mop.navigation.NodeData>
      Throws:
      Exception