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(com.atlassian.crowd.embedded.api.User profileUser,
com.atlassian.crowd.embedded.api.User currentUser)
Get the HTML Fragement.
|
String |
getId()
Returns a unique id for this fragment.
|
boolean |
showFragment(com.atlassian.crowd.embedded.api.User profileUser,
com.atlassian.crowd.embedded.api.User 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(com.atlassian.crowd.embedded.api.User profileUser, com.atlassian.crowd.embedded.api.User currentUser)
showFragment
in interface UserProfileFragment
profileUser
- The user whose profile the current user is looking atcurrentUser
- The current userpublic String getFragmentHtml(com.atlassian.crowd.embedded.api.User profileUser, com.atlassian.crowd.embedded.api.User 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-2016 Atlassian. All Rights Reserved.