public class SummaryUserProfilePanel extends Object implements ViewProfilePanel
VIEW_TEMPLATE
Constructor and Description |
---|
SummaryUserProfilePanel(JiraAuthenticationContext context,
SearchService searchService,
VelocityRequestContextFactory velocityRequestContextFactory,
com.atlassian.plugin.PluginAccessor pluginAccessor,
VelocityTemplatingEngine templatingEngine,
VelocityParamFactory velocityParamFactory,
I18nHelper.BeanFactory i18nFactory,
ApplicationProperties applicationProperties1,
FieldVisibilityManager fieldVisibiltyManager,
com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
FeatureManager featureManager,
SoyTemplateRendererProvider soyTemplateRendererProvider) |
Modifier and Type | Method and Description |
---|---|
String |
getHtml(ApplicationUser 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.
|
public SummaryUserProfilePanel(JiraAuthenticationContext context, SearchService searchService, VelocityRequestContextFactory velocityRequestContextFactory, com.atlassian.plugin.PluginAccessor pluginAccessor, VelocityTemplatingEngine templatingEngine, VelocityParamFactory velocityParamFactory, I18nHelper.BeanFactory i18nFactory, ApplicationProperties applicationProperties1, FieldVisibilityManager fieldVisibiltyManager, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, FeatureManager featureManager, SoyTemplateRendererProvider soyTemplateRendererProvider)
public void init(ViewProfilePanelModuleDescriptor moduleDescriptor)
ViewProfilePanel
init
in interface ViewProfilePanel
moduleDescriptor
- the controlling class that doles out this module.public String getHtml(ApplicationUser profileUser)
ViewProfilePanel
getHtml
in interface ViewProfilePanel
profileUser
- The user whose profile is being viewed. May be null.Copyright © 2002-2021 Atlassian. All Rights Reserved.