Package com.atlassian.jira.user
Class DefaultUserIssueSearcherHistoryManager
java.lang.Object
com.atlassian.jira.user.DefaultUserIssueSearcherHistoryManager
- All Implemented Interfaces:
UserIssueSearcherHistoryManager
public class DefaultUserIssueSearcherHistoryManager
extends Object
implements UserIssueSearcherHistoryManager
Default implementation of
UserIssueSearcherHistoryManager
- Since:
- v6.0
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultUserIssueSearcherHistoryManager
(UserHistoryManager userHistoryManager, ApplicationProperties applicationProperties) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addIssueSearcherToHistory
(ApplicationUser user, IssueSearcher searcher) Add a JQL query string to the user history list.Retrieve the user's Issue Seacher history queue.
-
Constructor Details
-
DefaultUserIssueSearcherHistoryManager
public DefaultUserIssueSearcherHistoryManager(UserHistoryManager userHistoryManager, ApplicationProperties applicationProperties)
-
-
Method Details
-
addIssueSearcherToHistory
Description copied from interface:UserIssueSearcherHistoryManager
Add a JQL query string to the user history list.- Specified by:
addIssueSearcherToHistory
in interfaceUserIssueSearcherHistoryManager
- Parameters:
user
- The user to add the history item tosearcher
- TheIssueSearcher
used.
-
getUserIssueSearcherHistory
Description copied from interface:UserIssueSearcherHistoryManager
Retrieve the user's Issue Seacher history queue. The list is returned ordered by DESC lastViewed date (i.e. newest is first).- Specified by:
getUserIssueSearcherHistory
in interfaceUserIssueSearcherHistoryManager
- Parameters:
user
- The user to get the history IssueSearcher items for.- Returns:
- a list of history IssueSearcher items sort by desc lastViewed date.
-