com.atlassian.jira.project
Class ProjectHistoryLinkFactory
java.lang.Object
com.atlassian.jira.project.ProjectHistoryLinkFactory
- All Implemented Interfaces:
- SimpleLinkFactory
public class ProjectHistoryLinkFactory
- extends Object
- implements SimpleLinkFactory
A SimpleLinkFactory that produces links to Browse Project for recently viewed project except for the current Project
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_RECENT_PROJECTS_TO_SHOW
public static final int MAX_RECENT_PROJECTS_TO_SHOW
- See Also:
- Constant Field Values
ProjectHistoryLinkFactory
public ProjectHistoryLinkFactory(VelocityRequestContextFactory velocityRequestContextFactory,
UserProjectHistoryManager userHistoryManager,
I18nHelper.BeanFactory beanFactory)
init
public void init(SimpleLinkFactoryModuleDescriptor descriptor)
- Description copied from interface:
SimpleLinkFactory
- Initialization method for the factory. Used to retrieve information off the module descriptor
- Specified by:
init
in interface SimpleLinkFactory
- Parameters:
descriptor
- The descriptor responsible for defining this factory.
getLinks
public List<SimpleLink> getLinks(com.atlassian.crowd.embedded.api.User user,
Map<String,Object> params)
- Description copied from interface:
SimpleLinkFactory
- Generates a list of
SimpleLink
objects.
- Specified by:
getLinks
in interface SimpleLinkFactory
- Parameters:
user
- The user this list is being generated for.
- Returns:
- a list of
SimpleLink
objects tailored for the user.
Copyright © 2002-2012 Atlassian. All Rights Reserved.