Class FriendlyUrlService

  • All Implemented Interfaces:
    fr.paris.lutece.portal.service.cache.CacheableService, fr.paris.lutece.portal.service.util.LuteceService, Cloneable, net.sf.ehcache.event.CacheEventListener

    public final class FriendlyUrlService
    extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
    Friendly Url Service
    • Method Detail

      • getName

        public String getName()
      • instance

        public static FriendlyUrlService instance()
        Return the unique instance
        Returns:
        The instance
      • getFriendlyUrlMap

        public Map<String,​String> getFriendlyUrlMap()
        Returns the map of Friendly URL
        Returns:
        The map
      • isUrlReplaceEnabled

        public boolean isUrlReplaceEnabled()
        Is the URL replace service enabled
        Returns:
        True if enabled, otherwise false
      • setUrlReplaceEnabled

        public void setUrlReplaceEnabled​(boolean bEnabled)
        Set enabled or disabled the Url Replace Service
        Parameters:
        bEnabled - The service status