@Component public class IssueSearcher extends Object implements ProductSearcher
| Modifier and Type | Field and Description |
|---|---|
static String |
ISSUES_GROUP_ID |
static int |
MAXIMUM_NUMBER_OF_ISSUES |
| 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.
|
public static final String ISSUES_GROUP_ID
public static final int MAXIMUM_NUMBER_OF_ISSUES
public ResultGroup getRecentItems()
ProductSearchergetRecentItems in interface ProductSearcherpublic ResultGroup getRecentItems(int maxItemCount)
ProductSearchergetRecentItems in interface ProductSearchermaxItemCount - Limits the amount of items returnedpublic ResultGroup getSearchedItems(@Nonnull String search) throws SearchException
ProductSearchergetSearchedItems in interface ProductSearchersearch - A user submitted search stringSearchExceptionpublic ResultGroup getSearchedItems(int maxItemCount, @Nonnull String search) throws SearchException
ProductSearchergetSearchedItems in interface ProductSearchermaxItemCount - Limits the amount of items returnedsearch - A user submitted search stringSearchExceptionpublic String getSearchTypeLabel()
ProductSearchergetSearchTypeLabel in interface ProductSearcherCopyright © 2002-2022 Atlassian. All Rights Reserved.