Class SearchApp
java.lang.Object
fr.paris.lutece.portal.web.search.SearchApp
- All Implemented Interfaces:
XPageApplication,Serializable
@RequestScoped
@Named("core.xpage.search")
public class SearchApp
extends Object
implements XPageApplication
This class provides search results pages.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SearchApp
public SearchApp()
-
-
Method Details
-
getPage
public XPage getPage(jakarta.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 String encodeUrl(jakarta.servlet.http.HttpServletRequest request, String strSource) throws SiteMessageException Encode an url string- Parameters:
request- The HTTP requeststrSource- The string to encode- Returns:
- The encoded string
- Throws:
SiteMessageException- If an error occurs
-