public class ActivityUserProfileFragment extends Object implements UserProfileFragment
Constructor and Description |
---|
ActivityUserProfileFragment(com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.gadgets.GadgetRequestContextFactory gadgetRequestContextFactory,
I18nHelper.BeanFactory i18nFactory) |
Modifier and Type | Method and Description |
---|---|
String |
getFragmentHtml(ApplicationUser profileUser,
ApplicationUser currentUser)
Get the HTML Fragement.
|
String |
getId()
Returns a unique id for this fragment.
|
boolean |
showFragment(ApplicationUser profileUser,
ApplicationUser currentUser)
We only display this is both the Activity Stream Plugin and Gadget Plugin are installed
|
public ActivityUserProfileFragment(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.gadgets.GadgetRequestContextFactory gadgetRequestContextFactory, I18nHelper.BeanFactory i18nFactory)
public boolean showFragment(ApplicationUser profileUser, ApplicationUser currentUser)
showFragment
in interface UserProfileFragment
profileUser
- The user whose profile the current user is looking atcurrentUser
- The current userpublic String getFragmentHtml(ApplicationUser profileUser, ApplicationUser currentUser)
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-2024 Atlassian. All Rights Reserved.