fr.paris.lutece.portal.web.xpages
Class SiteMapApp

java.lang.Object
  extended by fr.paris.lutece.portal.service.cache.AbstractCacheableService
      extended by fr.paris.lutece.portal.web.xpages.SiteMapApp
All Implemented Interfaces:
CacheableService, LuteceService, XPageApplication, java.lang.Cloneable, net.sf.ehcache.event.CacheEventListener

public class SiteMapApp
extends AbstractCacheableService
implements XPageApplication

This class provides the map of the pages on the site


Constructor Summary
SiteMapApp()
          Creates a new SiteMapPage object
 
Method Summary
 java.lang.String getName()
          Returns the service name
 java.lang.String getName(java.util.Locale locale)
          Returns the localized service name
 XPage getPage(javax.servlet.http.HttpServletRequest request, int nMode, Plugin plugin)
          Build or get in the cache the page which contains the site map depending on the mode
 
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
 

Constructor Detail

SiteMapApp

public SiteMapApp()
Creates a new SiteMapPage object

Method Detail

getName

public java.lang.String getName()
Returns the service name

Specified by:
getName in interface LuteceService
Returns:
The service name

getName

public java.lang.String getName(java.util.Locale locale)
Returns the localized service name

Parameters:
locale - The locale
Returns:
The localized service name

getPage

public XPage getPage(javax.servlet.http.HttpServletRequest request,
                     int nMode,
                     Plugin plugin)
Build or get in the cache the page which contains the site map depending on the mode

Specified by:
getPage in interface XPageApplication
Parameters:
request - The Http request
nMode - The selected mode
plugin - The plugin
Returns:
The content of the site map


Copyright © 2012 Mairie de Paris. All Rights Reserved.