public interface

UserIssueSearcherHistoryManager

com.atlassian.jira.user.UserIssueSearcherHistoryManager
Known Indirect Subclasses

Class Overview

A wrapper of the UserHistoryManager that allows you to store and retrieve history items UserHistoryItem of the type ISSUESEARCHER.

Summary

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.

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.