SearchResultComponent
instead.@Deprecated public interface ForumSearch
ATTRIBUTE_NAME_SEARCH
. Currently the search can only search one forum at a time, as specified by the
respective content property.Modifier and Type | Interface and Description |
---|---|
static interface |
ForumSearch.Page
Deprecated.
Page extends from ResultPage which represents one page of the search result. |
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_NAME_RESULTPAGES
Deprecated.
Property for forum search result pages.
|
static String |
ATTRIBUTE_NAME_SEARCH
Deprecated.
Property for forum search.
|
static String |
PN_SEARCHPATHS
Deprecated.
Property for search paths.
|
static String |
PN_TEXTNORESULTS
Deprecated.
Property for text no results.
|
static String |
PN_TEXTONEMATCH
Deprecated.
Property for text one match.
|
static String |
PN_TEXTRESULTS
Deprecated.
Property for text results.
|
static String |
PN_TEXTSEARCHBUTTON
Deprecated.
Property for text search button.
|
static String |
REQUEST_PARAM_QUERY
Deprecated.
Property for request parameter query.
|
static String |
REQUEST_PARAM_QUERY_SCOPE
Deprecated.
Property for request parameter query scope.
|
static String |
REQUEST_PARAM_START
Deprecated.
Property for request parameter start.
|
Modifier and Type | Method and Description |
---|---|
void |
addPredicate(Predicate predicate)
Deprecated.
Allows the addition of custom query builder
Predicate s to refine the search. |
String |
getQuery()
Deprecated.
Returns the search query as entered by the user and retrieved from the request.
|
SearchResult |
getResult()
Deprecated.
Executes the query and returns the results.
|
List<ForumSearch.Page> |
getResultPages()
Deprecated.
Executes the search (see
getResult() and returns the results split into the result pages. |
String[] |
getScopeProperties()
Deprecated.
Returns the scope properties as selected by the user in the search form, i.e.
|
String |
getTextNoResults()
Deprecated.
Returns the text configured for this search for when no search results were found.
|
String |
getTextOneMatch()
Deprecated.
Returns the text configured for this search for when exactly one match was found.
|
String |
getTextResults()
Deprecated.
Returns the text configured for this search for information about the results found.
|
String |
getTextSearchButton()
Deprecated.
Returns the text configured for this search for the label of the search button.
|
static final String ATTRIBUTE_NAME_RESULTPAGES
static final String ATTRIBUTE_NAME_SEARCH
static final String PN_SEARCHPATHS
static final String PN_TEXTNORESULTS
static final String PN_TEXTONEMATCH
static final String PN_TEXTRESULTS
static final String PN_TEXTSEARCHBUTTON
static final String REQUEST_PARAM_QUERY
static final String REQUEST_PARAM_QUERY_SCOPE
static final String REQUEST_PARAM_START
String getQuery()
String
representing the search query or null
if none was specified.String[] getScopeProperties()
String[]
representing the selected scope properties or an empty array if none was
defined.SearchResult getResult() throws ForumException
SearchResult
.ForumException
- If an error occurred while searching.List<ForumSearch.Page> getResultPages() throws ForumException
getResult()
and returns the results split into the result pages. The method
also sets a request attribute of name ATTRIBUTE_NAME_RESULTPAGES
containing the list of pages.
Consecutive calls to this method will always return the same page list (cached).ForumSearch.Page
s.ForumException
- If an error occurred while searching.void addPredicate(Predicate predicate)
Predicate
s to refine the search.predicate
- The predicate to be added.String getTextNoResults()
String
representing the text.String getTextOneMatch()
String
representing the text.String getTextResults()
String
representing the text.String getTextSearchButton()
String
representing the text."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"