Class VirtualMeetingEntryIdsCacheService

java.lang.Object
fr.paris.lutece.portal.service.cache.AbstractCacheableService
fr.paris.lutece.plugins.appointment.modules.virtualmeeting.service.VirtualMeetingEntryIdsCacheService
All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService, fr.paris.lutece.portal.service.util.LuteceService, Cloneable, net.sf.ehcache.event.CacheEventListener

public class VirtualMeetingEntryIdsCacheService extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
Cache service that stores the mapping from workflow ID to resolved guest/host entry IDs. This avoids repeated DAO lookups (actions → tasks → configs) for the same workflow.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor — initialises the underlying ehcache region.
  • Method Summary

    Modifier and Type
    Method
    Description
    getEntryIds(int nIdWorkflow)
    Retrieves cached entry IDs for the given workflow.
     
    void
    putEntryIds(int nIdWorkflow, VirtualMeetingEntryIds entryIds)
    Stores entry IDs in the cache for the given workflow.

    Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService

    clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getStatistics, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCache

    Methods inherited from class java.lang.Object

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

    • VirtualMeetingEntryIdsCacheService

      public VirtualMeetingEntryIdsCacheService()
      Constructor — initialises the underlying ehcache region.
  • Method Details

    • getName

      public String getName()
    • getEntryIds

      public VirtualMeetingEntryIds getEntryIds(int nIdWorkflow)
      Retrieves cached entry IDs for the given workflow.
      Parameters:
      nIdWorkflow - the workflow ID
      Returns:
      the cached entry IDs, or null if not in cache
    • putEntryIds

      public void putEntryIds(int nIdWorkflow, VirtualMeetingEntryIds entryIds)
      Stores entry IDs in the cache for the given workflow.
      Parameters:
      nIdWorkflow - the workflow ID
      entryIds - the entry IDs to cache