Overview
Excerpt |
---|
Use this class to bundle together multiple instances of B25.SearchResult. |
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
Code Block |
---|
void addSearchResult(B25.SearchResult searchResult) |
Adds the given search result to this collection.
Parameters:
Name | Type | Description |
---|---|---|
searchResult | The search result you want to add. |
...
addSearchResults
Code Block |
---|
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
Code Block |
---|
List<B25.SearchResult> getSearchResults() |
Returns the individual results inside this collection.
Return value: List<B25.SearchResult>
...
setSearchResultsIcon
Code Block |
---|
B25.SearchResult setSearchResultsIcon(String iconName) |
Sets this result’s icon. You can use icons from this page: https://www.lightningdesignsystem.com/icons/ , except for the icons in the Action category. Reference icons by combining the category and the icon name, with a colon in between. For example, 'standard:contact' will give you the contact icon from the Standard category.
Return value: B25.SearchResult
Parameters:
Name | Type | Description |
---|---|---|
iconName | String | The name of the icon. |
...
On this page
...
Table of Contents |
---|