Class DemandTypeCacheService
- java.lang.Object
-
- fr.paris.lutece.portal.service.cache.AbstractCacheableService
-
- fr.paris.lutece.plugins.identitystore.cache.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
-
-
Constructor Summary
Constructors Constructor Description DemandTypeCacheService()contructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()get namefr.paris.lutece.plugins.grubusiness.business.demand.DemandTypegetResource(String strTypeId)get demand type data.voidputResourceInCache(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
-
-
-
-
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-
-
-