Class 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, java.lang.Cloneable, java.util.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 Detail

      • FormsCacheService

        public FormsCacheService()
    • Method Detail

      • initCache

        public void initCache()
        Overrides:
        initCache in class fr.paris.lutece.portal.service.cache.AbstractCacheableService
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface fr.paris.lutece.portal.business.event.EventRessourceListener
        Specified by:
        getName in interface fr.paris.lutece.portal.service.util.LuteceService
      • getStepCacheKey

        public java.lang.String getStepCacheKey​(int nStepID)
      • getInitialStepCacheKey

        public java.lang.String getInitialStepCacheKey​(int nIdForm)
      • getFormCacheKey

        public java.lang.String getFormCacheKey​(int nIdForm)
      • getFormListCacheKey

        public java.lang.String getFormListCacheKey()
      • getControlCacheKey

        public java.lang.String getControlCacheKey​(int nIdControl)
      • getControlByControlTargetAndTypeCacheKey

        public java.lang.String getControlByControlTargetAndTypeCacheKey​(int nIdControlTarget,
                                                                         ControlType controlType)
      • getControlByQuestionAndTypeCacheKey

        public java.lang.String getControlByQuestionAndTypeCacheKey​(int nIdQuestion,
                                                                    java.lang.String strControlType)
      • getQuestionCacheKey

        public java.lang.String getQuestionCacheKey​(int nIdQuestion)
      • getFormDisplayCacheKey

        public java.lang.String getFormDisplayCacheKey​(int nIdFormDisplay)
      • getFormDisplayListByParentCacheKey

        public java.lang.String getFormDisplayListByParentCacheKey​(int nIdStep,
                                                                   int nIdParent)
      • getGroupCacheKey

        public java.lang.String getGroupCacheKey​(int nIdGroup)
      • getControlGroupCacheKey

        public java.lang.String getControlGroupCacheKey​(int nIdControlGroup)
      • getTransitionsListFromStepCacheKey

        public java.lang.String getTransitionsListFromStepCacheKey​(int nIdStep)
      • getFormMessageByFormCacheKey

        public java.lang.String getFormMessageByFormCacheKey​(int nIdForm)
      • addedResource

        public void addedResource​(fr.paris.lutece.portal.business.event.ResourceEvent event)
        Specified by:
        addedResource in interface fr.paris.lutece.portal.business.event.EventRessourceListener
      • deletedResource

        public void deletedResource​(fr.paris.lutece.portal.business.event.ResourceEvent event)
        Specified by:
        deletedResource in interface fr.paris.lutece.portal.business.event.EventRessourceListener
      • updatedResource

        public void updatedResource​(fr.paris.lutece.portal.business.event.ResourceEvent event)
        Specified by:
        updatedResource in interface fr.paris.lutece.portal.business.event.EventRessourceListener