com.atlassian.greenhopper.service.project
Class ProjectHistoryServiceImpl

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

@Service
public class ProjectHistoryServiceImpl
extends java.lang.Object
implements ProjectHistoryService

Convenient wrapper for UserProjectHistoryManager to register history of projects seen when querying rapid views.


Constructor Summary
ProjectHistoryServiceImpl()
           
 
Method Summary
 void registerRecentProjects(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, java.util.List<com.atlassian.jira.project.Project> projectsToRegister)
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectHistoryServiceImpl

public ProjectHistoryServiceImpl()
Method Detail

registerRecentProjects

public void registerRecentProjects(com.atlassian.crowd.embedded.api.User user,
                                   RapidView rapidView,
                                   java.util.List<com.atlassian.jira.project.Project> projectsToRegister)
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


Copyright © 2007-2012 Atlassian. All Rights Reserved.