public class SearchOptions
extends java.lang.Object
Constructor and Description |
---|
SearchOptions()
Construct with default options.
|
Modifier and Type | Method and Description |
---|---|
SearchFacetOptions |
getFacetOption()
The list of types, identified by their Id, to scope the search.
|
SearchMode |
getMode()
The search mode either BASIC or ADVANCED.
|
int |
getRangeEnd()
Ending index of range to return in search results.
|
int |
getRangeStart()
Starting index of range to return in search results.
|
java.lang.String |
getSearchId()
Not used.
|
void |
setFacetOption(SearchFacetOptions facet)
Set the list of types, identified by their Id, to scope the search.
|
void |
setMode(SearchMode mode)
Sets the search mode either BASIC or ADVANCED.
|
void |
setRangeEnd(int end)
Sets the ending index of range to return in search results.
|
void |
setRangeStart(int start)
Set the starting index of range to return in search results.
|
void |
setSearchId(java.lang.String searchId)
Not used.
|
java.lang.String |
toString() |
public int getRangeStart()
public void setRangeStart(int start)
start
- the range start to setpublic int getRangeEnd()
public void setRangeEnd(int end)
end
- the range end to setpublic SearchMode getMode()
public void setMode(SearchMode mode)
mode
- the mode to setpublic SearchFacetOptions getFacetOption()
public void setFacetOption(SearchFacetOptions facet)
typesToSearch
- the typesToSearch to setpublic java.lang.String getSearchId()
public void setSearchId(java.lang.String searchId)
searchId
- the searchId to setpublic java.lang.String toString()
toString
in class java.lang.Object
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2019. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.