|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.help.CmsHelpSearchResultView
public class CmsHelpSearchResultView
Displays the result of a
.CmsSearch
Requires the following request parameters (see constructor):
Field Summary | |
---|---|
protected CmsProject |
m_offlineProject
The project that forces evaluation of all dynamic content. |
protected CmsProject |
m_onlineProject
The project that allows static export. |
Constructor Summary | |
---|---|
CmsHelpSearchResultView(CmsJspActionElement action)
Constructor with the action element to use. |
|
CmsHelpSearchResultView(javax.servlet.jsp.PageContext pageContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Constructor with arguments for construction of a . |
Method Summary | |
---|---|
java.lang.String |
displaySearchResult(CmsSearch search)
Returns the formatted search results. |
boolean |
isExportLinks()
Returns true if the links to search results shall point to exported content, false else. |
void |
setExportLinks(boolean exportLinks)
Set wether the links to search results point to exported content or not. |
void |
setSearchRessourceUrl(java.lang.String uri)
Set a proprietary resource uri for the search page. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected CmsProject m_offlineProject
protected CmsProject m_onlineProject
Constructor Detail |
---|
public CmsHelpSearchResultView(CmsJspActionElement action)
action
- the action element to usepublic CmsHelpSearchResultView(javax.servlet.jsp.PageContext pageContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
CmsJspActionElement
.
pageContext
- the page context to userequest
- the current requestresponse
- the current responseMethod Detail |
---|
public java.lang.String displaySearchResult(CmsSearch search)
search
- the preconfigured search bean
public boolean isExportLinks()
public void setExportLinks(boolean exportLinks)
exportLinks
- The value that decides Set wether the links to search results point to exported content or not.public void setSearchRessourceUrl(java.lang.String uri)
This is optional but allows to override the standard search result links
(for next or previous pages) that point to
getJsp().getRequestContext().getUri()
whenever the search
uri is element of some template and should not be linked directly.
uri
- the proprietary resource uri for the search page
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |