public class ActiveServiceContractCache
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Constructor and Description |
|---|
ActiveServiceContractCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteById(Integer id)
Deletes a
ServiceContract by its id in the database |
ServiceContract |
get(String clientCode) |
String |
getName() |
void |
put(String clientCode,
ServiceContract serviceContract) |
void |
refresh() |
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(String clientCode, ServiceContract serviceContract)
public void deleteById(Integer id)
ServiceContract by its id in the databaseid - public ServiceContract get(String clientCode) throws ServiceContractNotFoundException
ServiceContractNotFoundExceptionpublic String getName()
Copyright © 2023 City of Paris. All rights reserved.