fr.paris.lutece.plugins.seo.service
Class FriendlyUrlService

java.lang.Object
  extended by fr.paris.lutece.portal.service.cache.AbstractCacheableService
      extended by fr.paris.lutece.plugins.seo.service.FriendlyUrlService
All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService, fr.paris.lutece.portal.service.util.LuteceService, java.lang.Cloneable, net.sf.ehcache.event.CacheEventListener

public final class FriendlyUrlService
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService

Friendly Url Service


Method Summary
 java.util.Map<java.lang.String,java.lang.String> getFriendlyUrlMap()
          Returns the map of Friendly URL
 java.lang.String getName()
          
static FriendlyUrlService instance()
          Return the unique instance
 boolean isUrlReplaceEnabled()
          Is the URL replace service enabled
 void setUrlReplaceEnabled(boolean bEnabled)
          Set enabled or disabled the Url Replace Service
 
Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, resetCache
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()


instance

public static FriendlyUrlService instance()
Return the unique instance

Returns:
The instance

getFriendlyUrlMap

public java.util.Map<java.lang.String,java.lang.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


Copyright © 2012 Mairie de Paris. All Rights Reserved.