Class ActiveServiceContractCache

java.lang.Object
fr.paris.lutece.portal.service.cache.AbstractCacheableService
fr.paris.lutece.plugins.identitystore.cache.ActiveServiceContractCache
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 ActiveServiceContractCache extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deletes a ServiceContract by its id in the database
    get(String clientCode)
     
     
    void
    put(String clientCode, ServiceContract serviceContract)
     
    void
     

    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
  • Field Details

  • Constructor Details

    • ActiveServiceContractCache

      public ActiveServiceContractCache()
  • Method Details

    • refresh

      public void refresh()
    • put

      public void put(String clientCode, ServiceContract serviceContract)
    • deleteById

      public void deleteById(Integer id)
      Deletes a ServiceContract by its id in the database
      Parameters:
      id -
    • get

      public ServiceContract get(String clientCode) throws fr.paris.lutece.plugins.identitystore.web.exception.ClientAuthorizationException
      Throws:
      fr.paris.lutece.plugins.identitystore.web.exception.ClientAuthorizationException
    • getName

      public String getName()