Class DemandTypeCacheService

  • 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 DemandTypeCacheService
    extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getName()
      get name
      fr.paris.lutece.plugins.grubusiness.business.demand.DemandType getResource​(String strTypeId)
      get demand type data.
      void putResourceInCache​(fr.paris.lutece.plugins.grubusiness.business.demand.DemandType demand)  
      • 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
    • Constructor Detail

      • DemandTypeCacheService

        public DemandTypeCacheService()
        contructor
    • Method Detail

      • getName

        public String getName()
        get name
        Returns:
        the name
      • getResource

        public fr.paris.lutece.plugins.grubusiness.business.demand.DemandType getResource​(String strTypeId)
        get demand type data.
        Parameters:
        strDemandTypeId -
        Returns:
        the demand type
      • putResourceInCache

        public void putResourceInCache​(fr.paris.lutece.plugins.grubusiness.business.demand.DemandType demand)
        Parameters:
        nDemandTypeId -
        object -