Class IdentityAttributeValidationCache
- java.lang.Object
-
- fr.paris.lutece.portal.service.cache.AbstractCacheableService
-
- fr.paris.lutece.plugins.identitystore.cache.IdentityAttributeValidationCache
-
- 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 IdentityAttributeValidationCache extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICE_NAME
-
Constructor Summary
Constructors Constructor Description IdentityAttributeValidationCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.regex.Patternget(java.lang.String keyName)java.util.regex.PatterngetFromDatabase(java.lang.String keyName)java.lang.StringgetName()voidput(java.lang.String keyName, java.util.regex.Pattern validationPattern)voidrefresh()voidremove(java.lang.String keyName)-
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
-
-
-
-
Field Detail
-
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
refresh
public void refresh()
-
put
public void put(java.lang.String keyName, java.util.regex.Pattern validationPattern)
-
remove
public void remove(java.lang.String keyName)
-
get
public java.util.regex.Pattern get(java.lang.String keyName) throws fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException
-
getFromDatabase
public java.util.regex.Pattern getFromDatabase(java.lang.String keyName) throws fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException
-
getName
public java.lang.String getName()
-
-