Class ServiceContractCache

  • 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 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.ServiceContractDto get​(String targetClientCode)  
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractDto getFromAPI​(String targetClientCode)  
      String getName()  
      void put​(String clientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractDto serviceContract)  
      void remove​(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
    • Constructor Detail

      • ServiceContractCache

        public ServiceContractCache​(fr.paris.lutece.plugins.identitystore.v3.web.service.ServiceContractServiceExtended scService)
    • Method Detail

      • put

        public void put​(String clientCode,
                        fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractDto serviceContract)
      • remove

        public void remove​(String clientCode)
      • get

        public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractDto get​(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​(String targetClientCode)
                                                                                                   throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • getName

        public String getName()