public class DarkFeaturesUserProfilePanel extends Object implements ViewProfilePanel, OptionalUserProfilePanel
VIEW_TEMPLATE| Constructor and Description |
|---|
DarkFeaturesUserProfilePanel(JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager,
FeatureManager featureManager,
XsrfTokenGenerator xsrfTokenGenerator) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHtml(ApplicationUser profileUser)
Renders the html to be used in this profile panel.
|
String |
getXsrfToken() |
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(ApplicationUser profileUser,
ApplicationUser currentUser)
Whether or not to show the panel for a given user to a given user.
|
public DarkFeaturesUserProfilePanel(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, FeatureManager featureManager, XsrfTokenGenerator xsrfTokenGenerator)
public void init(ViewProfilePanelModuleDescriptor moduleDescriptor)
ViewProfilePanelinit in interface ViewProfilePanelmoduleDescriptor - the controlling class that doles out this module.public boolean showPanel(ApplicationUser profileUser, ApplicationUser currentUser)
OptionalUserProfilePanelshowPanel in interface OptionalUserProfilePanelprofileUser - The profile being requestedcurrentUser - The current userpublic String getHtml(ApplicationUser profileUser)
ViewProfilePanelgetHtml in interface ViewProfilePanelprofileUser - The user whose profile is being viewed. May be null.public String getXsrfToken()
Copyright © 2002-2019 Atlassian. All Rights Reserved.