com.atlassian.jira.plugin.profile
Class DefaultViewProfilePanelManager

java.lang.Object
  extended by com.atlassian.jira.plugin.profile.DefaultViewProfilePanelManager
All Implemented Interfaces:
ViewProfilePanelManager

public class DefaultViewProfilePanelManager
extends Object
implements ViewProfilePanelManager

Default implementation of ViewProfilePanelManager.

Since:
v3.12

Constructor Summary
DefaultViewProfilePanelManager(com.atlassian.plugin.PluginManager pluginManager)
           
 
Method Summary
 ViewProfilePanel getProfilePanel(String tabKey)
          Returns the ViewProfilePanel registered for a specified tabKey.
 Map getProfilePanelsByTabs()
          Returns all ViewProfilePanel's that have been registered.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultViewProfilePanelManager

public DefaultViewProfilePanelManager(com.atlassian.plugin.PluginManager pluginManager)
Method Detail

getProfilePanelsByTabs

public Map getProfilePanelsByTabs()
Description copied from interface: ViewProfilePanelManager
Returns all ViewProfilePanel's that have been registered. The key is the ViewProfilePanelModuleDescriptor.getTabKey() and the value is the panel.

Specified by:
getProfilePanelsByTabs in interface ViewProfilePanelManager
Returns:
a Map containing all registered panels by their tab key.

getProfilePanel

public ViewProfilePanel getProfilePanel(String tabKey)
Description copied from interface: ViewProfilePanelManager
Returns the ViewProfilePanel registered for a specified tabKey.

Specified by:
getProfilePanel in interface ViewProfilePanelManager
Parameters:
tabKey - the i18n key identifying the tab whose panel you want to attain.
Returns:
the ViewProfilePanel that is registered for the provided tabKey, null if no panel has been registered for the tabKey.


Copyright © 2002-2007 Atlassian. All Rights Reserved.