public class

DefaultUserIssueSearcherHistoryManager

extends Object
implements UserIssueSearcherHistoryManager
java.lang.Object
   ↳ com.atlassian.jira.user.DefaultUserIssueSearcherHistoryManager

Class Overview

Default implementation of UserIssueSearcherHistoryManager

Summary

Public Constructors
DefaultUserIssueSearcherHistoryManager(UserHistoryManager userHistoryManager, ApplicationProperties applicationProperties)
Public Methods
void addIssueSearcherToHistory(ApplicationUser user, IssueSearcher searcher)
Add a JQL query string to the user history list.
List<UserHistoryItem> getUserIssueSearcherHistory(ApplicationUser user)
Retrieve the user's Issue Seacher history queue.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.user.UserIssueSearcherHistoryManager

Public Constructors

public DefaultUserIssueSearcherHistoryManager (UserHistoryManager userHistoryManager, ApplicationProperties applicationProperties)

Public Methods

public void addIssueSearcherToHistory (ApplicationUser user, IssueSearcher searcher)

Add a JQL query string to the user history list.

Parameters
user The user to add the history item to
searcher The IssueSearcher used.

public List<UserHistoryItem> getUserIssueSearcherHistory (ApplicationUser user)

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.