com.atlassian.jira.admin.contextproviders
Class ProjectPanelContextProvider

java.lang.Object
  extended by com.atlassian.jira.admin.contextproviders.AdminSummaryPanelContextProvider
      extended by com.atlassian.jira.admin.contextproviders.ProjectPanelContextProvider
All Implemented Interfaces:
com.atlassian.plugin.web.ContextProvider

public class ProjectPanelContextProvider
extends AdminSummaryPanelContextProvider
implements com.atlassian.plugin.web.ContextProvider

Provides the Project Panel on the Admin Summary Screen

Since:
v4.4

Nested Class Summary
 class ProjectPanelContextProvider.SimpleProject
           
 
Field Summary
static int MAX_RECENT_PROJECTS_TO_SHOW
           
 
Fields inherited from class com.atlassian.jira.admin.contextproviders.AdminSummaryPanelContextProvider
authenticationContext, BASE_URL_KEY, jiraHelper, linkManager, requestContextFactory
 
Constructor Summary
ProjectPanelContextProvider(UserProjectHistoryManager userProjectHistoryManager, JiraAuthenticationContext authenticationContext, ProjectService projectManager, VelocityRequestContextFactory requestContextFactory, SearchProvider searchProvider, SimpleLinkManager linkManager, AvatarManager avatarManager)
           
 
Method Summary
 Map<String,Object> getContextMap(Map<String,Object> context)
           
 void init(Map<String,String> params)
           
 
Methods inherited from class com.atlassian.jira.admin.contextproviders.AdminSummaryPanelContextProvider
getBaseUrl, getContextMap
 
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

ProjectPanelContextProvider

public ProjectPanelContextProvider(UserProjectHistoryManager userProjectHistoryManager,
                                   JiraAuthenticationContext authenticationContext,
                                   ProjectService projectManager,
                                   VelocityRequestContextFactory requestContextFactory,
                                   SearchProvider searchProvider,
                                   SimpleLinkManager linkManager,
                                   AvatarManager avatarManager)
Method Detail

init

public void init(Map<String,String> params)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.web.ContextProvider
Overrides:
init in class AdminSummaryPanelContextProvider
Throws:
com.atlassian.plugin.PluginParseException

getContextMap

public Map<String,Object> getContextMap(Map<String,Object> context)
Specified by:
getContextMap in interface com.atlassian.plugin.web.ContextProvider


Copyright © 2002-2012 Atlassian. All Rights Reserved.