B25.SearchResultCollection

Overview

This class is what is expected to be returned by the B25.SearchHandler.getSearchResults() method. You can either create your own collection, or get one using B25.SearchContext.getDefaultResults().

Methods

addSearchResult

1 void addSearchResult(B25.SearchResult searchResult)

Adds the given search result to this collection.

Parameters:

Name

Type

Description

searchResult

B25.SearchResult

The search result you want to add.


addSearchResults

1 void addSearchResults(List<B25.SearchResult> searchResults)

Adds the given search list of results to this collection.

Parameters:

Name

Type

Description

searchResults

List<B25.SearchResult>

The list of search results you want to add.


getSearchResults

1 List<B25.SearchResult> getSearchResults()

Returns the individual results inside this collection.

Return value: List<B25.SearchResult>