public class DuplicateRulesCache
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Constructor and Description |
|---|
DuplicateRulesCache() |
| Modifier and Type | Method and Description |
|---|---|
DuplicateRule |
get(String ruleCode) |
DuplicateRule |
getFromDatabase(String ruleCode) |
String |
getName() |
void |
put(DuplicateRule rule) |
void |
refresh() |
void |
remove(Integer id)
Deletes a
ServiceContract by its id in the database |
void |
remove(String ruleCode) |
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getStatistics, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCachepublic static final String SERVICE_NAME
public void refresh()
public void put(DuplicateRule rule)
public void remove(String ruleCode)
public void remove(Integer id)
ServiceContract by its id in the databaseid - public DuplicateRule get(String ruleCode) throws DuplicateRuleNotFoundException
DuplicateRuleNotFoundExceptionpublic DuplicateRule getFromDatabase(String ruleCode) throws DuplicateRuleNotFoundException
DuplicateRuleNotFoundExceptionpublic String getName()
Copyright © 2024 City of Paris. All rights reserved.