Class 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.ServiceContractDto get​(java.lang.String targetClientCode)  
      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractDto getFromAPI​(java.lang.String targetClientCode)  
      java.lang.String getName()  
      void put​(java.lang.String clientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractDto serviceContract)  
      void remove​(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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServiceContractCache

        public ServiceContractCache​(fr.paris.lutece.plugins.identitystore.v3.web.service.ServiceContractServiceExtended scService)
    • 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()