com.atlassian.jira.plugin.profile
Interface ViewProfilePanel

All Known Implementing Classes:
DarkFeaturesUserProfilePanel, DefaultProfilePanel, ReferenceViewProfileTabPanel, SummaryUserProfilePanel

@PublicSpi
public interface ViewProfilePanel

Defines a "panel" of content that will be displayed on the view profile page, in the center. These panels will be groups by named "tabs".

Since:
v3.12

Field Summary
static String VIEW_TEMPLATE
          The default velocity template name that is used to render the view.
 
Method Summary
 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.
 

Field Detail

VIEW_TEMPLATE

static final String VIEW_TEMPLATE
The default velocity template name that is used to render the view.

See Also:
Constant Field Values
Method Detail

init

void init(ViewProfilePanelModuleDescriptor moduleDescriptor)
This method is called on plugin initialization and provides the module with a reference to the parent module descriptor.

Parameters:
moduleDescriptor - the controlling class that doles out this module.

getHtml

String getHtml(com.atlassian.crowd.embedded.api.User profileUser)
Renders the html to be used in this profile panel.

Parameters:
profileUser - The user whose profile is being viewed. May be null.
Returns:
the html content.


Copyright © 2002-2015 Atlassian. All Rights Reserved.