Class ServiceContractCache

java.lang.Object
fr.paris.lutece.portal.service.cache.AbstractCacheableService
fr.paris.lutece.plugins.identityimport.cache.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.ServiceContractService scService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractDto
    get(String clientCode)
     
    fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractDto
    getFromAPI(String clientCode)
     
     
    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

    Methods inherited from class java.lang.Object

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

    • ServiceContractCache

      public ServiceContractCache(fr.paris.lutece.plugins.identitystore.v3.web.service.ServiceContractService scService)
  • Method Details

    • 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 clientCode) 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 clientCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      Throws:
      fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
    • getName

      public String getName()