public class SearchRoute
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.lang.Object> |
parameters |
Constructor and Description |
---|
SearchRoute()
Create a new LotRoute, without Authorisation token.
|
Modifier and Type | Method and Description |
---|---|
void |
addFilter(Filter filter,
java.lang.Object value)
Adds a parameter to the search operation
|
void |
clearFilters()
Clears all parameters from the search operation
|
java.util.List<Lot> |
doSearch()
Performs the search operation based on filters that are currently active
|
void |
removeFilter(Filter filter)
Removes a parameter from the search operation
|
public SearchRoute()
public void addFilter(Filter filter, java.lang.Object value)
filter
- the filter to be addedvalue
- value of the filter to be added. String.valueOf() of this Object is used for the search.public void removeFilter(Filter filter)
filter
- removes this filter from the parameterspublic void clearFilters()
public java.util.List<Lot> doSearch()