Class FreeMarkerTemplateService

  • All Implemented Interfaces:
    fr.paris.lutece.portal.service.template.IFreeMarkerTemplateService

    public class FreeMarkerTemplateService
    extends fr.paris.lutece.portal.service.template.AbstractFreeMarkerTemplateService
    Template service based on the Freemarker template engine
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN_SERVICE  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAbsolutePathFromRelativePath​(java.lang.String strPath)
      java.util.List<AutoInclude> getAutoIncludesList()
      Load the data of all the autoInclude objects and returns them as a list
      java.lang.String getDefaultPattern​(java.util.Locale locale)
      static FreeMarkerTemplateService getInstance()
      Get the instance of the freemarker template service
      • Methods inherited from class fr.paris.lutece.portal.service.template.AbstractFreeMarkerTemplateService

        addAutoInclude, addPluginMacros, getAutoIncludes, init, init, initConfig, loadTemplate, loadTemplate, loadTemplateFromStringFtl, loadTemplateFromStringFtl, removeAutoInclude, resetCache, resetConfiguration, setSharedVariable, setTemplateUpdateDelay
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FreeMarkerTemplateService

        public FreeMarkerTemplateService()
    • Method Detail

      • getInstance

        public static FreeMarkerTemplateService getInstance()
        Get the instance of the freemarker template service
        Returns:
        the instance of the freemarker template service
      • getAbsolutePathFromRelativePath

        public java.lang.String getAbsolutePathFromRelativePath​(java.lang.String strPath)
      • getDefaultPattern

        public java.lang.String getDefaultPattern​(java.util.Locale locale)
      • getAutoIncludesList

        public java.util.List<AutoInclude> getAutoIncludesList()
        Load the data of all the autoInclude objects and returns them as a list
        Returns:
        the list which contains the data of all the autoInclude objects