com.atlassian.jira.user.profile
Class SummaryUserProfilePanel

java.lang.Object
  extended by com.atlassian.jira.user.profile.SummaryUserProfilePanel
All Implemented Interfaces:
ViewProfilePanel

public class SummaryUserProfilePanel
extends Object
implements ViewProfilePanel

User Profile Tab Panel for displaying a summary/overview of a user

Since:
v4.1

Field Summary
 
Fields inherited from interface com.atlassian.jira.plugin.profile.ViewProfilePanel
VIEW_TEMPLATE
 
Constructor Summary
SummaryUserProfilePanel(EmailFormatter emailFormatter, JiraAuthenticationContext context, PermissionManager permissionManager, GroupPermissionChecker groupPermissionChecker, SearchService searchService, VelocityRequestContextFactory velocityRequestContextFactory, com.atlassian.plugin.PluginAccessor pluginAccessor, ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine, VelocityParamFactory velocityParamFactory, I18nHelper.BeanFactory i18nFactory, com.atlassian.plugin.webresource.WebResourceManager webResourceManager, ApplicationProperties applicationProperties1, FieldVisibilityManager fieldVisibiltyManager, UserPreferencesManager preferencesManager, LocaleManager localeManager, com.atlassian.crowd.embedded.api.CrowdService crowdService, UserPropertyManager userPropertyManager, AvatarManager avatarManager, UserManager userManager, TimeZoneService timeZoneManager, AvatarService avatarService, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager)
           
 
Method Summary
 String getHtml(com.atlassian.crowd.embedded.api.User profileUser)
          Renders the html to be used in this profile panel.
 void init(ViewProfilePanelModuleDescriptor moduleDescriptor)
          This method is called on plugin initialization and provides the module with a reference to the parent module descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SummaryUserProfilePanel

public SummaryUserProfilePanel(EmailFormatter emailFormatter,
                               JiraAuthenticationContext context,
                               PermissionManager permissionManager,
                               GroupPermissionChecker groupPermissionChecker,
                               SearchService searchService,
                               VelocityRequestContextFactory velocityRequestContextFactory,
                               com.atlassian.plugin.PluginAccessor pluginAccessor,
                               ApplicationProperties applicationProperties,
                               VelocityTemplatingEngine templatingEngine,
                               VelocityParamFactory velocityParamFactory,
                               I18nHelper.BeanFactory i18nFactory,
                               com.atlassian.plugin.webresource.WebResourceManager webResourceManager,
                               ApplicationProperties applicationProperties1,
                               FieldVisibilityManager fieldVisibiltyManager,
                               UserPreferencesManager preferencesManager,
                               LocaleManager localeManager,
                               com.atlassian.crowd.embedded.api.CrowdService crowdService,
                               UserPropertyManager userPropertyManager,
                               AvatarManager avatarManager,
                               UserManager userManager,
                               TimeZoneService timeZoneManager,
                               AvatarService avatarService,
                               com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager)
Method Detail

init

public void init(ViewProfilePanelModuleDescriptor moduleDescriptor)
Description copied from interface: ViewProfilePanel
This method is called on plugin initialization and provides the module with a reference to the parent module descriptor.

Specified by:
init in interface ViewProfilePanel
Parameters:
moduleDescriptor - the controlling class that doles out this module.

getHtml

public String getHtml(com.atlassian.crowd.embedded.api.User profileUser)
Description copied from interface: ViewProfilePanel
Renders the html to be used in this profile panel.

Specified by:
getHtml in interface ViewProfilePanel
Parameters:
profileUser - The user whose profile is being viewed. May be null.
Returns:
the html content.


Copyright © 2002-2014 Atlassian. All Rights Reserved.