Class ProjectHistoryServiceImpl

java.lang.Object
com.atlassian.greenhopper.service.project.ProjectHistoryServiceImpl
All Implemented Interfaces:
ProjectHistoryService

@Service public class ProjectHistoryServiceImpl extends Object implements ProjectHistoryService
Convenient wrapper for UserProjectHistoryManager to register history of projects seen when querying rapid views.
  • 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 the UserProjectHistoryManager for the specified user.
      Specified by:
      registerRecentProjects in interface ProjectHistoryService
      Parameters:
      user - The user
      rapidView - the rapid view that was being queried
      projectsToRegister - the projects that were seen when querying the board; may be empty, must not be null
      selectedProjectKey - which is used to re-order (or add) selected project to bottom of the queue.