fr.paris.lutece.plugins.jasper.web
Class JasperApp

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

public class JasperApp
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
implements fr.paris.lutece.portal.web.xpages.XPageApplication

This class provides a simple implementation of an XPage


Constructor Summary
JasperApp()
          Creates a new JasperApp object
 
Method Summary
 java.lang.String getName()
           
 fr.paris.lutece.portal.web.xpages.XPage getPage(javax.servlet.http.HttpServletRequest request, int nMode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns the content of the page jasper.
 
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

JasperApp

public JasperApp()
Creates a new JasperApp object

Method Detail

getPage

public fr.paris.lutece.portal.web.xpages.XPage getPage(javax.servlet.http.HttpServletRequest request,
                                                       int nMode,
                                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
                                                throws fr.paris.lutece.portal.service.message.SiteMessageException
Returns the content of the page jasper.

Specified by:
getPage in interface fr.paris.lutece.portal.web.xpages.XPageApplication
Parameters:
request - The http request
nMode - The current mode
plugin - The plugin object
Throws:
fr.paris.lutece.portal.service.message.SiteMessageException - Message displayed if an exception occurs

getName

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


Copyright © 2012 Mairie de Paris. All Rights Reserved.