public class SearchRequest extends Object
| Constructor and Description |
|---|
SearchRequest()
Creates a new SearchRequest.
|
SearchRequest(ComposedType type)
Creates a new SearchRequest for the given search type.
|
| Modifier and Type | Method and Description |
|---|---|
SavedQuery |
getSavedQuery()
Returns the saved query which is to be used for this search request or null if there is no savedquery set.
|
ComposedType |
getSearchType()
Returns the search type for this SearchRequest
|
boolean |
isAutoPerform()
Returns true if the search should be automatically be performed (without further entries or pressing of buttons).
|
void |
setAutoPerform(boolean auto)
Set to true if the search should be performed automatically.
|
void |
setSavedQuery(SavedQuery savedQuery)
Sets the saved query which is to be used for this search request.
|
void |
setSearchType(ComposedType type)
Sets the search type for this SearchRequest.
|
String |
toString()
Returns a human readable representation of this request (including searchtype, savedquery code and autoperform
value).
|
public SearchRequest()
public SearchRequest(ComposedType type)
type - the search type for this SearchRequestpublic ComposedType getSearchType()
public void setSearchType(ComposedType type)
type - the search type for this SearchRequestpublic SavedQuery getSavedQuery()
public void setSavedQuery(SavedQuery savedQuery)
savedQuery - the saved query which is to be used for this search requestpublic boolean isAutoPerform()
public void setAutoPerform(boolean auto)
auto - true if the search should be performed automatically.public String toString()
Copyright © 2017 SAP SE. All Rights Reserved.