public class DarkFeaturesUserProfilePanel extends Object implements ViewProfilePanel, OptionalUserProfilePanel
VIEW_TEMPLATE
Constructor and Description |
---|
DarkFeaturesUserProfilePanel(JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager,
FeatureManager featureManager) |
Modifier and Type | Method and Description |
---|---|
String |
getHtml(com.atlassian.crowd.embedded.api.User profileUser)
Renders the html to be used in this profile panel.
|
void |
init(ViewProfilePanelModuleDescriptor moduleDescriptor)
This method is called on plugin initialization and provides the module with a reference to the parent
module descriptor.
|
boolean |
showPanel(com.atlassian.crowd.embedded.api.User profileUser,
com.atlassian.crowd.embedded.api.User currentUser)
Whether or not to show the panel for a given user to a given user.
|
public DarkFeaturesUserProfilePanel(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, FeatureManager featureManager)
public void init(ViewProfilePanelModuleDescriptor moduleDescriptor)
ViewProfilePanel
init
in interface ViewProfilePanel
moduleDescriptor
- the controlling class that doles out this module.public boolean showPanel(com.atlassian.crowd.embedded.api.User profileUser, com.atlassian.crowd.embedded.api.User currentUser)
OptionalUserProfilePanel
showPanel
in interface OptionalUserProfilePanel
profileUser
- The profile being requestedcurrentUser
- The current userpublic String getHtml(com.atlassian.crowd.embedded.api.User profileUser)
ViewProfilePanel
getHtml
in interface ViewProfilePanel
profileUser
- The user whose profile is being viewed. May be null.Copyright © 2002-2015 Atlassian. All Rights Reserved.