Class ServiceContractCache
- java.lang.Object
-
- fr.paris.lutece.portal.service.cache.AbstractCacheableService
-
- fr.paris.lutece.plugins.identitydesk.cache.ServiceContractCache
-
- All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService,fr.paris.lutece.portal.service.util.LuteceService,java.lang.Cloneable,net.sf.ehcache.event.CacheEventListener
public class ServiceContractCache extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
-
-
Constructor Summary
Constructors Constructor Description ServiceContractCache(fr.paris.lutece.plugins.identitystore.v3.web.service.ServiceContractServiceExtended scService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractDtoget(java.lang.String targetClientCode)fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractDtogetFromAPI(java.lang.String targetClientCode)java.lang.StringgetName()voidput(java.lang.String clientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractDto serviceContract)voidremove(java.lang.String clientCode)-
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
-
put
public void put(java.lang.String clientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractDto serviceContract)
-
remove
public void remove(java.lang.String clientCode)
-
get
public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractDto get(java.lang.String targetClientCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
getFromAPI
public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractDto getFromAPI(java.lang.String targetClientCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
getName
public java.lang.String getName()
-
-