public class DefaultUserQueryHistoryManager extends Object implements UserQueryHistoryManager
UserQueryHistoryManager| Constructor and Description |
|---|
DefaultUserQueryHistoryManager(UserHistoryManager userHistoryManager,
ApplicationProperties applicationProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addQueryToHistory(ApplicationUser user,
String query)
Add a JQL query string to the user history list.
|
List<UserHistoryItem> |
getUserQueryHistory(ApplicationUser user)
Retrieve the user's query history queue.
|
public DefaultUserQueryHistoryManager(UserHistoryManager userHistoryManager, ApplicationProperties applicationProperties)
public void addQueryToHistory(ApplicationUser user, String query)
UserQueryHistoryManageraddQueryToHistory in interface UserQueryHistoryManageruser - The user to add the history item toquery - The JQL Query string to store in this history.public List<UserHistoryItem> getUserQueryHistory(ApplicationUser user)
UserQueryHistoryManagergetUserQueryHistory in interface UserQueryHistoryManageruser - The user to get the history query items for.Copyright © 2002-2019 Atlassian. All Rights Reserved.