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)
UserProfileFragment
showFragment
in interface UserProfileFragment
profileUser
- The user whose profile the current user is looking atcurrentUser
- The current userpublic String getFragmentHtml(ApplicationUser profileUser, ApplicationUser currentUser)
UserProfileFragment
getFragmentHtml
in interface UserProfileFragment
profileUser
- The user whose profile the current user is looking atcurrentUser
- The current userpublic String getId()
UserProfileFragment
getId
in interface UserProfileFragment
Copyright © 2002-2019 Atlassian. All Rights Reserved.