public class OrganizerSearchConfiguration extends Object
| Constructor and Description |
|---|
OrganizerSearchConfiguration()
Creates a new configuration for the organizers default search.
|
OrganizerSearchConfiguration(String searchName)
Creates a new configuration for a saved query search within a organizer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSearchField(String fieldName,
String operator,
Object value)
Adds a new search field to the configuration.
|
String |
getOperator(String fieldName)
Returns the search operator assoziated with this field.
|
Set |
getSearchFieldNames()
Returns all search fields available in this configuration.
|
Object |
getValue(String fieldName)
Returns the search value assoziated with this field.
|
void |
setRange(int start,
int count)
Specifies the range for this search.
|
public OrganizerSearchConfiguration()
public OrganizerSearchConfiguration(String searchName)
searchName - the name of the SavedQuerypublic void setRange(int start,
int count)
public void addSearchField(String fieldName, String operator, Object value)
fieldName - the case-insensitive field nameoperator - the operatorvalue - the search valuepublic Set getSearchFieldNames()
public String getOperator(String fieldName) throws JaloInvalidParameterException
fieldName - the case-insensitive field nameJaloInvalidParameterException - if no such field is available within this configurationpublic Object getValue(String fieldName)
fieldName - the case-insensitive field nameJaloInvalidParameterException - if no such field is available within this configurationCopyright © 2017 SAP SE. All Rights Reserved.