Package com.atlassian.jira.user
Interface UserIssueSearcherHistoryManager
- All Known Implementing Classes:
DefaultUserIssueSearcherHistoryManager
public interface UserIssueSearcherHistoryManager
A wrapper of the
UserHistoryManager that allows you to store and retrieve history items UserHistoryItem of the type ISSUESEARCHER.- Since:
- v5.2
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddIssueSearcherToHistory(ApplicationUser user, IssueSearcher searcher) Add a JQL query string to the user history list.Retrieve the user's Issue Seacher history queue.
-
Method Details
-
addIssueSearcherToHistory
Add a JQL query string to the user history list.- Parameters:
user- The user to add the history item tosearcher- TheIssueSearcherused.
-
getUserIssueSearcherHistory
Retrieve the user's Issue Seacher history queue. The list is returned ordered by DESC lastViewed date (i.e. newest is first).- Parameters:
user- The user to get the history IssueSearcher items for.- Returns:
- a list of history IssueSearcher items sort by desc lastViewed date.
-