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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddedResource(fr.paris.lutece.portal.business.event.ResourceEvent event) voiddeletedResource(fr.paris.lutece.portal.business.event.ResourceEvent event) getControlByControlTargetAndTypeCacheKey(int nIdControlTarget, ControlType controlType) getControlByQuestionAndTypeCacheKey(int nIdQuestion, String strControlType) getControlCacheKey(int nIdControl) getControlGroupCacheKey(int nIdControlGroup) getFormCacheKey(int nIdForm) getFormDisplayCacheKey(int nIdFormDisplay) getFormDisplayListByParentCacheKey(int nIdStep, int nIdParent) getFormMessageByFormCacheKey(int nIdForm) getGroupCacheKey(int nIdGroup) getIdStepByFormKey(int nIdQuestion) getInitialStepCacheKey(int nIdForm) getName()getQuestionCacheKey(int nIdQuestion) getStepCacheKey(int nStepID) getTransitionsListFromStepCacheKey(int nIdStep) getUncompleteQuestionByFormCacheKey(int nIdForm) voidvoidupdatedResource(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
-
Constructor Details
-
FormsCacheService
public FormsCacheService()
-
-
Method Details
-
initCache
public void initCache()- Overrides:
initCachein classfr.paris.lutece.portal.service.cache.AbstractCacheableService
-
getName
- Specified by:
getNamein interfacefr.paris.lutece.portal.business.event.EventRessourceListener- Specified by:
getNamein interfacefr.paris.lutece.portal.service.util.LuteceService
-
getStepCacheKey
-
getInitialStepCacheKey
-
getIdStepByFormKey
-
getFormCacheKey
-
getFormListCacheKey
-
getControlCacheKey
-
getControlByControlTargetAndTypeCacheKey
public String getControlByControlTargetAndTypeCacheKey(int nIdControlTarget, ControlType controlType) -
getControlByQuestionAndTypeCacheKey
-
getQuestionCacheKey
-
getUncompleteQuestionCacheKey
-
getUncompleteQuestionByFormCacheKey
-
getFormDisplayCacheKey
-
getFormDisplayListByParentCacheKey
-
getGroupCacheKey
-
getControlGroupCacheKey
-
getTransitionsListFromStepCacheKey
-
getFormMessageByFormCacheKey
-
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
-