public class

ViewProfile

extends AbstractPluggableTabPanelAction<TabPanelClass extends PluggableTabPanelModuleDescriptor>
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ com.atlassian.jira.action.JiraActionSupport
       ↳ com.atlassian.jira.web.action.JiraWebActionSupport
         ↳ com.atlassian.jira.web.action.ProjectActionSupport
           ↳ com.atlassian.jira.web.action.IssueActionSupport
             ↳ com.atlassian.jira.web.action.AbstractPluggableTabPanelAction<TabPanelClass extends com.atlassian.jira.plugin.PluggableTabPanelModuleDescriptor>
               ↳ com.atlassian.jira.web.action.user.ViewProfile
Known Direct Subclasses
Known Indirect Subclasses

Summary

[Expand]
Inherited Constants
From class com.atlassian.jira.web.action.JiraWebActionSupport
From interface webwork.action.Action
[Expand]
Inherited Fields
From class com.atlassian.jira.web.action.AbstractPluggableTabPanelAction
From class com.atlassian.jira.web.action.IssueActionSupport
From class com.atlassian.jira.web.action.ProjectActionSupport
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
Public Constructors
ViewProfile(UserPropertyManager userPropertyManager)
ViewProfile(SimpleLinkManager SimpleLinkManager, WebResourceManager webResourceManager, PluginAccessor pluginAccessor, UserPropertyManager userPropertyManager, AvatarService avatarService, UserHistoryManager userHistoryManager, UserUtil userUtil)
Public Methods
String getAvatarUrl(ApplicationUser user)
String getHtmlForSelectedTab()
String getLabelForSelectedTab()
final String getName()
List<SimpleLink> getSectionLinks(String key)
List<SimpleLinkSection> getSectionsForMenu()
ViewProfilePanelModuleDescriptor getSelectedProfilePanelDescriptor()
List<ViewProfilePanelModuleDescriptor> getTabDescriptors()
String getTabHtmlForJSON()
ApplicationUser getUser()
boolean isContentOnly()
boolean isHasMoreThanOneProfileTabs()
boolean isNoTitle()
void setContentOnly(boolean contentOnly)
final void setName(String name)
void setNoTitle(boolean noTitle)
Protected Methods
boolean canSeeTab(String key)
String doExecute()
List<ViewProfilePanelModuleDescriptor> getTabPanelModuleDescriptors()
Retrieves the tab panels for this page via the plugin accessor.
List<ViewProfilePanelModuleDescriptor> initTabPanels()
Retrieves and initialises the tab panels via the plugin accessor
boolean isTabPanelHidden(ViewProfilePanelModuleDescriptor descriptor)
Returns true if the tab panel of the given descriptor should be hidden from the current view
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.AbstractPluggableTabPanelAction
From class com.atlassian.jira.web.action.IssueActionSupport
From class com.atlassian.jira.web.action.ProjectActionSupport
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
From class java.lang.Object
From interface com.atlassian.jira.util.ErrorCollection
From interface com.atlassian.jira.util.I18nHelper
From interface com.atlassian.jira.web.HttpServletVariables
From interface com.atlassian.jira.web.util.AuthorizationSupport
From interface webwork.action.Action
From interface webwork.action.CommandDriven
From interface webwork.action.IllegalArgumentAware

Public Constructors

public ViewProfile (UserPropertyManager userPropertyManager)

public ViewProfile (SimpleLinkManager SimpleLinkManager, WebResourceManager webResourceManager, PluginAccessor pluginAccessor, UserPropertyManager userPropertyManager, AvatarService avatarService, UserHistoryManager userHistoryManager, UserUtil userUtil)

Public Methods

public String getAvatarUrl (ApplicationUser user)

public String getHtmlForSelectedTab ()

public String getLabelForSelectedTab ()

public final String getName ()

public List<SimpleLink> getSectionLinks (String key)

public List<SimpleLinkSection> getSectionsForMenu ()

public ViewProfilePanelModuleDescriptor getSelectedProfilePanelDescriptor ()

public List<ViewProfilePanelModuleDescriptor> getTabDescriptors ()

public String getTabHtmlForJSON ()

Throws
IOException

public ApplicationUser getUser ()

public boolean isContentOnly ()

public boolean isHasMoreThanOneProfileTabs ()

public boolean isNoTitle ()

public void setContentOnly (boolean contentOnly)

public final void setName (String name)

public void setNoTitle (boolean noTitle)

Protected Methods

protected boolean canSeeTab (String key)

protected String doExecute ()

Throws
Exception

protected List<ViewProfilePanelModuleDescriptor> getTabPanelModuleDescriptors ()

Retrieves the tab panels for this page via the plugin accessor.

Used by initialisation method to collect the list of tab panels for this page

protected List<ViewProfilePanelModuleDescriptor> initTabPanels ()

Retrieves and initialises the tab panels via the plugin accessor

Returns
  • list of TabPanelClass objects, never null

protected boolean isTabPanelHidden (ViewProfilePanelModuleDescriptor descriptor)

Returns true if the tab panel of the given descriptor should be hidden from the current view

Parameters
descriptor module descriptor
Returns
  • true if hidden, false otherwise