public interface ProductSearcher
| Modifier and Type | Method and Description |
|---|---|
ResultGroup |
getRecentItems()
Retrieves recently viewed items for the current user, contained within a result group.
|
ResultGroup |
getRecentItems(int maxItemCount)
Retrieves recently viewed items for the current user, contained within a result group.
|
ResultGroup |
getSearchedItems(int maxItemCount,
String search)
Retrieves items that match a provided search query, contained within a result group.
|
ResultGroup |
getSearchedItems(String search)
Retrieves items that match a provided search query, contained within a result group.
|
String |
getSearchTypeLabel()
Returns a label representing type of item this searcher retrieves.
|
ResultGroup getRecentItems()
ResultGroup getRecentItems(int maxItemCount)
maxItemCount - Limits the amount of items returnedResultGroup getSearchedItems(@Nonnull String search) throws Exception
search - A user submitted search stringExceptionResultGroup getSearchedItems(int maxItemCount, @Nonnull String search) throws Exception
maxItemCount - Limits the amount of items returnedsearch - A user submitted search stringExceptionString getSearchTypeLabel()
Copyright © 2002-2019 Atlassian. All Rights Reserved.