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

java.lang.Object
  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

public class JasperApp
extends java.lang.Object
implements fr.paris.lutece.portal.web.xpages.XPageApplication, fr.paris.lutece.portal.service.cache.CacheableService

This class provides a simple implementation of an XPage


Constructor Summary
JasperApp()
          Creates a new JasperApp object
 
Method Summary
 int getCacheSize()
           
 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.
 boolean isCacheEnable()
           
 void resetCache()
           
 
Methods inherited from class java.lang.Object
clone, 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

getCacheSize

public int getCacheSize()
Specified by:
getCacheSize in interface fr.paris.lutece.portal.service.cache.CacheableService

isCacheEnable

public boolean isCacheEnable()
Specified by:
isCacheEnable in interface fr.paris.lutece.portal.service.cache.CacheableService

resetCache

public void resetCache()
Specified by:
resetCache in interface fr.paris.lutece.portal.service.cache.CacheableService

getName

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


Copyright © 2010 Mairie de Paris. All Rights Reserved.