Interface ProjectHistoryService
- All Known Implementing Classes:
ProjectHistoryServiceImpl
public interface ProjectHistoryService
Register either the projects seen when querying a board, or the projects of a board if no issues were seen, with the
UserProjectHistoryManager.-
Method Summary
Modifier and TypeMethodDescriptionvoidregisterRecentProjects(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 theUserProjectHistoryManagerfor the specified user.
-
Method Details
-
registerRecentProjects
void registerRecentProjects(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, @Nonnull 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 theUserProjectHistoryManagerfor the specified user.- 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.
-