public class PluggableUserProfileFragment extends AbstractUserProfileFragment
Modifier and Type | Field and Description |
---|---|
static com.atlassian.plugin.web.descriptors.WeightedDescriptorComparator |
WEIGHTED_DESCRIPTOR_COMPARATOR |
CURRENT_USER, jiraAuthenticationContext, PROFILE_USER
Constructor and Description |
---|
PluggableUserProfileFragment(JiraAuthenticationContext jiraAuthenticationContext,
VelocityTemplatingEngine templatingEngine,
VelocityParamFactory velocityParamFactory,
com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager) |
Modifier and Type | Method and Description |
---|---|
String |
getFragmentHtml(com.atlassian.crowd.embedded.api.User profileUser,
com.atlassian.crowd.embedded.api.User currentUser)
Creates the HTML for this fragment.
|
String |
getId()
Returns a unique id for this fragment.
|
createVelocityParams, showFragment
public static final com.atlassian.plugin.web.descriptors.WeightedDescriptorComparator WEIGHTED_DESCRIPTOR_COMPARATOR
public PluggableUserProfileFragment(JiraAuthenticationContext jiraAuthenticationContext, VelocityTemplatingEngine templatingEngine, VelocityParamFactory velocityParamFactory, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager)
public String getId()
UserProfileFragment
public String getFragmentHtml(com.atlassian.crowd.embedded.api.User profileUser, com.atlassian.crowd.embedded.api.User currentUser)
AbstractUserProfileFragment
UserProfileFragment.getId()
getFragmentHtml
in interface UserProfileFragment
getFragmentHtml
in class AbstractUserProfileFragment
profileUser
- The user whose profile the current user is looking atcurrentUser
- The current userCopyright © 2002-2015 Atlassian. All Rights Reserved.