public class InlineActivityUserProfileFragment extends Object implements UserProfileFragment
| Modifier and Type | Field and Description |
|---|---|
static String |
INLINE_ACTIVITY_STREAM_FEATURE_KEY |
| Constructor and Description |
|---|
InlineActivityUserProfileFragment(com.atlassian.plugin.PluginAccessor pluginAccessor,
I18nHelper.BeanFactory i18nFactory,
com.atlassian.soy.renderer.SoyTemplateRenderer soyTemplateRenderer) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFragmentHtml(ApplicationUser profileUser,
ApplicationUser currentUser)
Creates the HTML for this fragment.
|
String |
getId()
Returns a unique id for this fragment.
|
boolean |
showFragment(ApplicationUser profileUser,
ApplicationUser currentUser)
Whether or not we display this fragment.
|
public static final String INLINE_ACTIVITY_STREAM_FEATURE_KEY
public InlineActivityUserProfileFragment(com.atlassian.plugin.PluginAccessor pluginAccessor,
I18nHelper.BeanFactory i18nFactory,
com.atlassian.soy.renderer.SoyTemplateRenderer soyTemplateRenderer)
public boolean showFragment(ApplicationUser profileUser, ApplicationUser currentUser)
UserProfileFragmentshowFragment in interface UserProfileFragmentprofileUser - The user whose profile the current user is looking atcurrentUser - The current userpublic String getFragmentHtml(ApplicationUser profileUser, ApplicationUser currentUser)
UserProfileFragmentgetFragmentHtml in interface UserProfileFragmentprofileUser - The user whose profile the current user is looking atcurrentUser - The current userpublic String getId()
UserProfileFragmentgetId in interface UserProfileFragmentCopyright © 2002-2019 Atlassian. All Rights Reserved.