com.atlassian.jira.project
Class ProjectHistoryLinkFactory

java.lang.Object
  extended by com.atlassian.jira.project.ProjectHistoryLinkFactory
All Implemented Interfaces:
com.atlassian.plugin.web.api.provider.WebItemProvider

public class ProjectHistoryLinkFactory
extends Object
implements com.atlassian.plugin.web.api.provider.WebItemProvider

A SimpleLinkFactory that produces links to Browse Project for recently viewed project except for the current Project

Since:
v4.0

Field Summary
static int MAX_RECENT_PROJECTS_TO_SHOW
           
 
Constructor Summary
ProjectHistoryLinkFactory(VelocityRequestContextFactory velocityRequestContextFactory, UserProjectHistoryManager userHistoryManager, I18nHelper.BeanFactory beanFactory)
           
 
Method Summary
 Iterable<com.atlassian.plugin.web.api.WebItem> getItems(Map<String,Object> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_RECENT_PROJECTS_TO_SHOW

public static final int MAX_RECENT_PROJECTS_TO_SHOW
See Also:
Constant Field Values
Constructor Detail

ProjectHistoryLinkFactory

public ProjectHistoryLinkFactory(VelocityRequestContextFactory velocityRequestContextFactory,
                                 UserProjectHistoryManager userHistoryManager,
                                 I18nHelper.BeanFactory beanFactory)
Method Detail

getItems

public Iterable<com.atlassian.plugin.web.api.WebItem> getItems(Map<String,Object> context)
Specified by:
getItems in interface com.atlassian.plugin.web.api.provider.WebItemProvider


Copyright © 2002-2014 Atlassian. All Rights Reserved.