Class SearchCriteria


  • public class SearchCriteria
    extends Object
    SearchCriteria object to hold all the relevant data for searching. Specify criteria such as startIndex, query, orderBy
    Since:
    8.4
    • Method Detail

      • getQuery

        public String getQuery()
        Get the search Query string
        Returns:
        search query
      • setQuery

        public void setQuery​(String query)
      • getStartIndex

        public int getStartIndex()
        Get the start index of the search results
        Returns:
        start index of the search results
      • setStartIndex

        public void setStartIndex​(int startIndex)
      • getItemsRequested

        public int getItemsRequested()
        Get the number of items requested
        Returns:
        number of items requested
      • setItemsRequested

        public void setItemsRequested​(int itemsRequested)
      • getFilterBy

        public List<SearchCriteria.FilterItem> getFilterBy()
        filter the returned results based on FilterItem
        Returns:
        filtered search results based on the given criteria