Class DuplicateRulesCache
java.lang.Object
fr.paris.lutece.portal.service.cache.AbstractCacheableService
fr.paris.lutece.plugins.identitystore.cache.DuplicateRulesCache
- 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 DuplicateRulesCache
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFromDatabase(String ruleCode) getName()voidput(DuplicateRule rule) voidrefresh()voidDeletes aDuplicateRuleby its id in the databasevoidMethods 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
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Constructor Details
-
DuplicateRulesCache
public DuplicateRulesCache()
-
-
Method Details
-
refresh
public void refresh() -
put
-
remove
-
remove
Deletes aDuplicateRuleby its id in the database- Parameters:
id-
-
get
public DuplicateRule get(String ruleCode) throws fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException - Throws:
fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException
-
getFromDatabase
public DuplicateRule getFromDatabase(String ruleCode) throws fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException - Throws:
fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException
-
getName
-