Class ClientApplicationCache
java.lang.Object
fr.paris.lutece.portal.service.cache.AbstractCacheableService
fr.paris.lutece.plugins.identitystore.cache.ClientApplicationCache
- 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 ClientApplicationCache
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClientCodes(String clientAppCode) get client codes from cache or from DBgetName()voidput the client code list corresponding to an app code in cachevoidrefresh()voiddelete the client code list cache corresponding to an app codeMethods 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
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Constructor Details
-
ClientApplicationCache
public ClientApplicationCache()
-
-
Method Details
-
refresh
public void refresh() -
put
put the client code list corresponding to an app code in cache- Parameters:
clientAppCode-clientCodes-
-
remove
delete the client code list cache corresponding to an app code- Parameters:
clientAppCode-clientCodes-
-
getClientCodes
get client codes from cache or from DB- Parameters:
clientAppCode-- Returns:
- the list
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.ClientAuthorizationException
-
getName
-