|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.user.profile.ActivityUserProfileFragment
public class ActivityUserProfileFragment
Creates a fragment containing the User's activity stream
Constructor Summary | |
---|---|
ActivityUserProfileFragment(com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.gadgets.GadgetRequestContextFactory gadgetRequestContextFactory,
I18nHelper.BeanFactory i18nFactory)
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActivityUserProfileFragment(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.gadgets.GadgetRequestContextFactory gadgetRequestContextFactory, I18nHelper.BeanFactory i18nFactory)
Method Detail |
---|
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 user
public 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 user
public String getId()
UserProfileFragment
getId
in interface UserProfileFragment
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |