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)
UserQueryHistoryManager
addQueryToHistory
in interface UserQueryHistoryManager
user
- The user to add the history item toquery
- The JQL Query string to store in this history.public List<UserHistoryItem> getUserQueryHistory(ApplicationUser user)
UserQueryHistoryManager
getUserQueryHistory
in interface UserQueryHistoryManager
user
- The user to get the history query items for.Copyright © 2002-2023 Atlassian. All Rights Reserved.