Class DuplicateRulesCache

  • 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 DuplicateRulesCache
    extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SERVICE_NAME  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DuplicateRule get​(java.lang.String ruleCode)  
      DuplicateRule getFromDatabase​(java.lang.String ruleCode)  
      java.lang.String getName()  
      void put​(DuplicateRule rule)  
      void refresh()  
      void remove​(java.lang.Integer id)
      Deletes a DuplicateRule by its id in the database
      void remove​(java.lang.String ruleCode)  
      • 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

      • DuplicateRulesCache

        public DuplicateRulesCache()
    • Method Detail

      • refresh

        public void refresh()
      • remove

        public void remove​(java.lang.String ruleCode)
      • remove

        public void remove​(java.lang.Integer id)
        Deletes a DuplicateRule by its id in the database
        Parameters:
        id -
      • get

        public DuplicateRule get​(java.lang.String ruleCode)
                          throws fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException
      • getFromDatabase

        public DuplicateRule getFromDatabase​(java.lang.String ruleCode)
                                      throws fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException
      • getName

        public java.lang.String getName()