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, 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

    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)
     
     
    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.ServiceContractServiceExtended 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 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()