public class SearchViewContextBean extends Object implements SearchViewContext
| Modifier and Type | Field and Description |
|---|---|
private SearchEntry |
entry |
private NlsRuntimeException |
exception |
private SearchViewLogic |
logic |
private SearchViewRequestParameters |
requestParameters |
private SearchResultPage |
resultPage |
private SearchViewConfiguration |
viewConfiguration |
KEY| Constructor and Description |
|---|
SearchViewContextBean(javax.servlet.ServletRequest request,
SearchViewLogic logic,
SearchViewConfiguration viewConfiguration)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SearchEntry |
getEntry()
This method gets the single
SearchEntry for viewing details. |
NlsRuntimeException |
getException()
This method gets the
Exception that potentially occurred. |
SearchViewLogic |
getLogic()
This method gets the
SearchViewLogic. |
SearchViewRequestParameters |
getRequestParameters()
This method gets the
SearchViewRequestParameters. |
SearchResultPage |
getResultPage()
This method gets the
SearchResultPage. |
SearchViewConfiguration |
getViewConfiguration()
This method gets the
SearchViewConfiguration. |
void |
setEntry(SearchEntry newEntry) |
void |
setException(NlsRuntimeException newException) |
void |
setResultPage(SearchResultPage newResultPage) |
private final SearchViewRequestParameters requestParameters
getRequestParameters()private final SearchViewLogic logic
getLogic()private SearchResultPage resultPage
getResultPage()private SearchEntry entry
getResultPage()private NlsRuntimeException exception
getException()private SearchViewConfiguration viewConfiguration
getViewConfiguration()public SearchViewContextBean(javax.servlet.ServletRequest request,
SearchViewLogic logic,
SearchViewConfiguration viewConfiguration)
result-page and
exception. set
itself (this) as attribute of the given request.request - is the servlet request.logic - is the SearchViewLogic.viewConfiguration - is the SearchViewConfiguration.public SearchViewRequestParameters getRequestParameters()
SearchViewRequestParameters.getRequestParameters in interface SearchViewContextSearchViewRequestParameters.public SearchViewLogic getLogic()
SearchViewLogic.getLogic in interface SearchViewContextSearchViewLogic.public SearchViewConfiguration getViewConfiguration()
SearchViewConfiguration.getViewConfiguration in interface SearchViewContextSearchViewConfiguration.public SearchResultPage getResultPage()
SearchResultPage.getResultPage in interface SearchViewContextSearchResultPage or null if no search has been performed.public void setResultPage(SearchResultPage newResultPage)
newResultPage - the resultPage to setpublic SearchEntry getEntry()
SearchEntry for viewing details.getEntry in interface SearchViewContextSearchEntry or null if no details shall be displayed.SearchViewConfiguration.getDetailsPath()public void setEntry(SearchEntry newEntry)
newEntry - the entry to setpublic NlsRuntimeException getException()
Exception that potentially occurred.getException in interface SearchViewContextException or null in case of success.public void setException(NlsRuntimeException newException)
newException - the exception to setCopyright © 2001–2016 mmm-Team. All rights reserved.