Class SearchApp
- java.lang.Object
-
- fr.paris.lutece.portal.web.search.SearchApp
-
- All Implemented Interfaces:
XPageApplication,java.io.Serializable
public class SearchApp extends java.lang.Object implements XPageApplication
This class provides search results pages.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.StringencodeUrl(javax.servlet.http.HttpServletRequest request, java.lang.String strSource)Encode an url stringXPagegetPage(javax.servlet.http.HttpServletRequest request, int nMode, Plugin plugin)Returns search results
-
-
-
Method Detail
-
getPage
public XPage getPage(javax.servlet.http.HttpServletRequest request, int nMode, Plugin plugin) throws SiteMessageException
Returns search results- Specified by:
getPagein interfaceXPageApplication- 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 SiteMessageExceptionEncode an url string- Parameters:
request- The HTTP requeststrSource- The string to encode- Returns:
- The encoded string
- Throws:
SiteMessageException- If an error occurs
-
-