Class ProjectHistoryServiceImpl
java.lang.Object
com.atlassian.greenhopper.service.project.ProjectHistoryServiceImpl
- All Implemented Interfaces:
ProjectHistoryService
Convenient wrapper for
UserProjectHistoryManager
to register history of projects seen when querying rapid views.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
registerRecentProjects
(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, List<com.atlassian.jira.project.Project> projectsToRegister, String selectedProjectKey) Register either the projects seen when querying a board, or the projects of a board if no issues were seen, with theUserProjectHistoryManager
for the specified user.
-
Constructor Details
-
ProjectHistoryServiceImpl
public ProjectHistoryServiceImpl()
-
-
Method Details
-
registerRecentProjects
public void registerRecentProjects(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, @Nonnull List<com.atlassian.jira.project.Project> projectsToRegister, String selectedProjectKey) Description copied from interface:ProjectHistoryService
Register either the projects seen when querying a board, or the projects of a board if no issues were seen, with theUserProjectHistoryManager
for the specified user.- Specified by:
registerRecentProjects
in interfaceProjectHistoryService
- Parameters:
user
- The userrapidView
- the rapid view that was being queriedprojectsToRegister
- the projects that were seen when querying the board; may be empty, must not be nullselectedProjectKey
- which is used to re-order (or add) selected project to bottom of the queue.
-