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
 void addIssueSearcherToHistory(com.atlassian.crowd.embedded.api.User user, IssueSearcher searcher)
          Add a JQL query string to the user history list.
 List<UserHistoryItem> getUserIssueSearcherHistory(com.atlassian.crowd.embedded.api.User user)
          Retrieve the user's Issue Seacher history queue.
 

Method Detail

addIssueSearcherToHistory

void addIssueSearcherToHistory(com.atlassian.crowd.embedded.api.User 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.

getUserIssueSearcherHistory

List<UserHistoryItem> getUserIssueSearcherHistory(com.atlassian.crowd.embedded.api.User 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.


Copyright © 2002-2014 Atlassian. All Rights Reserved.