fr.paris.lutece.plugins.directory.web
Class DirectoryApp

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.web.DirectoryApp
All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication

public class DirectoryApp
extends java.lang.Object
implements fr.paris.lutece.portal.web.xpages.XPageApplication

This class manages DirectoryApp page.


Constructor Summary
DirectoryApp()
           
 
Method Summary
 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 Directory XPage result content depending on the request parameters and the current mode.
 java.lang.String getSearchPage(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns the html code of the search page
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryApp

public DirectoryApp()
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,
                                                       fr.paris.lutece.portal.service.security.UserNotSignedException
Returns the Directory XPage result content depending on the request parameters and the current mode.

Specified by:
getPage in interface fr.paris.lutece.portal.web.xpages.XPageApplication
Parameters:
request - The HTTP request.
nMode - The current mode.
plugin - The Plugin.
Returns:
The page content.
Throws:
fr.paris.lutece.portal.service.message.SiteMessageException - the SiteMessageException
fr.paris.lutece.portal.service.security.UserNotSignedException - the UserNotSignedException

getSearchPage

public java.lang.String getSearchPage(javax.servlet.http.HttpServletRequest request,
                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
                               throws fr.paris.lutece.portal.service.message.SiteMessageException
Returns the html code of the search page

Parameters:
request - the http request
plugin - the plugin
Returns:
the html page
Throws:
fr.paris.lutece.portal.service.message.SiteMessageException - a exception that triggers a site message


Copyright © 2011 Mairie de Paris. All Rights Reserved.