public class SearchCriteria extends Object
startIndex, query, orderBy
Modifier and Type | Class and Description |
---|---|
static class |
SearchCriteria.Builder
A helper to create
SearchCriteria instances |
static class |
SearchCriteria.FilterItem
Class to hold filterable name, value pairs to further narrow down the search results
|
static class |
SearchCriteria.Order
Indicator of order direction
|
static class |
SearchCriteria.OrderByItem
Class to hold the sortFieldName to order by and the direction of the order
|
Modifier and Type | Method and Description |
---|---|
void |
addFilterBy(SearchCriteria.FilterItem filterItem) |
void |
addOrderBy(SearchCriteria.OrderByItem orderByItem) |
List<SearchCriteria.FilterItem> |
getFilterBy()
filter the returned results based on FilterItem
|
int |
getItemsRequested()
Get the number of items requested
|
List<SearchCriteria.OrderByItem> |
getOrderBy()
get the search results order by field
|
String |
getQuery()
Get the search Query string
|
int |
getStartIndex()
Get the start index of the search results
|
void |
setFilterBy(List<SearchCriteria.FilterItem> filterBy) |
void |
setItemsRequested(int itemsRequested) |
void |
setOrderBy(List<SearchCriteria.OrderByItem> orderBy) |
void |
setQuery(String query) |
void |
setStartIndex(int startIndex) |
public String getQuery()
public void setQuery(String query)
public int getStartIndex()
public void setStartIndex(int startIndex)
public int getItemsRequested()
public void setItemsRequested(int itemsRequested)
public void addOrderBy(SearchCriteria.OrderByItem orderByItem)
public void addFilterBy(SearchCriteria.FilterItem filterItem)
public List<SearchCriteria.FilterItem> getFilterBy()
public void setFilterBy(List<SearchCriteria.FilterItem> filterBy)
public List<SearchCriteria.OrderByItem> getOrderBy()
public void setOrderBy(List<SearchCriteria.OrderByItem> orderBy)
Copyright 2019 Ping Identity Corp. All rights reserved.