Class FormsCacheService
- java.lang.Object
-
- fr.paris.lutece.portal.service.cache.AbstractCacheableService
-
- fr.paris.lutece.plugins.forms.service.cache.FormsCacheService
-
- All Implemented Interfaces:
fr.paris.lutece.portal.business.event.EventRessourceListener,fr.paris.lutece.portal.service.cache.CacheableService,fr.paris.lutece.portal.service.util.LuteceService,Cloneable,EventListener,net.sf.ehcache.event.CacheEventListener
public class FormsCacheService extends fr.paris.lutece.portal.service.cache.AbstractCacheableService implements fr.paris.lutece.portal.business.event.EventRessourceListener
-
-
Constructor Summary
Constructors Constructor Description FormsCacheService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddedResource(fr.paris.lutece.portal.business.event.ResourceEvent event)voiddeletedResource(fr.paris.lutece.portal.business.event.ResourceEvent event)StringgetControlByControlTargetAndTypeCacheKey(int nIdControlTarget, ControlType controlType)StringgetControlByQuestionAndTypeCacheKey(int nIdQuestion, String strControlType)StringgetControlCacheKey(int nIdControl)StringgetControlGroupCacheKey(int nIdControlGroup)StringgetFormCacheKey(int nIdForm)StringgetFormDisplayCacheKey(int nIdFormDisplay)StringgetFormDisplayListByParentCacheKey(int nIdStep, int nIdParent)StringgetFormListCacheKey()StringgetFormMessageByFormCacheKey(int nIdForm)StringgetGroupCacheKey(int nIdGroup)StringgetInitialStepCacheKey(int nIdForm)StringgetName()StringgetQuestionCacheKey(int nIdQuestion)StringgetStepCacheKey(int nStepID)StringgetTransitionsListFromStepCacheKey(int nIdStep)voidinitCache()voidupdatedResource(fr.paris.lutece.portal.business.event.ResourceEvent event)-
Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getStatistics, getTimeToLive, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCache
-
-
-
-
Method Detail
-
initCache
public void initCache()
- Overrides:
initCachein classfr.paris.lutece.portal.service.cache.AbstractCacheableService
-
getName
public String getName()
- Specified by:
getNamein interfacefr.paris.lutece.portal.business.event.EventRessourceListener- Specified by:
getNamein interfacefr.paris.lutece.portal.service.util.LuteceService
-
getStepCacheKey
public String getStepCacheKey(int nStepID)
-
getInitialStepCacheKey
public String getInitialStepCacheKey(int nIdForm)
-
getFormCacheKey
public String getFormCacheKey(int nIdForm)
-
getFormListCacheKey
public String getFormListCacheKey()
-
getControlCacheKey
public String getControlCacheKey(int nIdControl)
-
getControlByControlTargetAndTypeCacheKey
public String getControlByControlTargetAndTypeCacheKey(int nIdControlTarget, ControlType controlType)
-
getControlByQuestionAndTypeCacheKey
public String getControlByQuestionAndTypeCacheKey(int nIdQuestion, String strControlType)
-
getQuestionCacheKey
public String getQuestionCacheKey(int nIdQuestion)
-
getFormDisplayCacheKey
public String getFormDisplayCacheKey(int nIdFormDisplay)
-
getFormDisplayListByParentCacheKey
public String getFormDisplayListByParentCacheKey(int nIdStep, int nIdParent)
-
getGroupCacheKey
public String getGroupCacheKey(int nIdGroup)
-
getControlGroupCacheKey
public String getControlGroupCacheKey(int nIdControlGroup)
-
getTransitionsListFromStepCacheKey
public String getTransitionsListFromStepCacheKey(int nIdStep)
-
getFormMessageByFormCacheKey
public String getFormMessageByFormCacheKey(int nIdForm)
-
addedResource
public void addedResource(fr.paris.lutece.portal.business.event.ResourceEvent event)
- Specified by:
addedResourcein interfacefr.paris.lutece.portal.business.event.EventRessourceListener
-
deletedResource
public void deletedResource(fr.paris.lutece.portal.business.event.ResourceEvent event)
- Specified by:
deletedResourcein interfacefr.paris.lutece.portal.business.event.EventRessourceListener
-
updatedResource
public void updatedResource(fr.paris.lutece.portal.business.event.ResourceEvent event)
- Specified by:
updatedResourcein interfacefr.paris.lutece.portal.business.event.EventRessourceListener
-
-