fr.paris.lutece.portal.web.search
Class SearchApp

java.lang.Object
  extended by fr.paris.lutece.portal.web.search.SearchApp
All Implemented Interfaces:
XPageApplication

public class SearchApp
extends java.lang.Object
implements XPageApplication

This class provides search results pages.


Constructor Summary
SearchApp()
           
 
Method Summary
static java.lang.String encodeUrl(javax.servlet.http.HttpServletRequest request, java.lang.String strSource)
          Encode an url string
 XPage getPage(javax.servlet.http.HttpServletRequest request, int nMode, Plugin plugin)
          Returns search results
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchApp

public SearchApp()
Method Detail

getPage

public XPage getPage(javax.servlet.http.HttpServletRequest request,
                     int nMode,
                     Plugin plugin)
              throws SiteMessageException
Returns search results

Specified by:
getPage in interface XPageApplication
Parameters:
request - The HTTP request.
nMode - The current mode.
plugin - The plugin
Returns:
The HTML code of the page.
Throws:
SiteMessageException - If an error occurs

encodeUrl

public static java.lang.String encodeUrl(javax.servlet.http.HttpServletRequest request,
                                         java.lang.String strSource)
                                  throws SiteMessageException
Encode an url string

Parameters:
request - The HTTP request
strSource - The string to encode
Returns:
The encoded string
Throws:
SiteMessageException - If an error occurs


Copyright © 2010 Mairie de Paris. All Rights Reserved.