public class ProfileLinkUserFormat extends Object implements UserFormat
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE |
VIEW_TEMPLATE| Constructor and Description |
|---|
ProfileLinkUserFormat(AvatarService avatarService,
I18nHelper i18nHelper,
JiraAuthenticationContext jiraAuthenticationContext,
UserFormatModuleDescriptor moduleDescriptor,
UserKeyService userKeyService,
UserUtil userUtil) |
| Modifier and Type | Method and Description |
|---|---|
String |
format(String key,
String id)
Renders the formatted user for a given section on the screen.
|
String |
format(String key,
String id,
Map<String,Object> params)
Renders the formatted user for a given section on the screen.
|
com.atlassian.soy.renderer.SoyTemplateRenderer |
getSoyRenderer() |
public static final String TYPE
public ProfileLinkUserFormat(AvatarService avatarService, I18nHelper i18nHelper, JiraAuthenticationContext jiraAuthenticationContext, UserFormatModuleDescriptor moduleDescriptor, UserKeyService userKeyService, UserUtil userUtil)
public String format(String key, String id)
UserFormatformat in interface UserFormatkey - the user's userkey to format.id - A value providing extra context to the rendering process.public String format(String key, String id, Map<String,Object> params)
UserFormatformat in interface UserFormatkey - the user's userkey to format.id - A value providing extra context to the rendering process.params - Additional context to pass to the rendererpublic com.atlassian.soy.renderer.SoyTemplateRenderer getSoyRenderer()
Copyright © 2002-2015 Atlassian. All Rights Reserved.