com.atlassian.jira.plugin.profile
Class DefaultProfilePanel

java.lang.Object
  extended by com.atlassian.jira.plugin.profile.DefaultProfilePanel
All Implemented Interfaces:
ViewProfilePanel
Direct Known Subclasses:
ReferenceViewProfileTabPanel

public class DefaultProfilePanel
extends Object
implements ViewProfilePanel

Renders html for a view profile panel.

Since:
v3.12

Field Summary
 
Fields inherited from interface com.atlassian.jira.plugin.profile.ViewProfilePanel
VIEW_TEMPLATE
 
Constructor Summary
DefaultProfilePanel()
           
 
Method Summary
 String getHtml(com.atlassian.crowd.embedded.api.User profileUser)
          Renders the html to be used in this profile panel.
 String getTabKey()
           
 void init(ViewProfilePanelModuleDescriptor moduleDescriptor)
          This method is called on plugin initialization and provides the module with a reference to the parent module descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultProfilePanel

public DefaultProfilePanel()
Method Detail

init

public void init(ViewProfilePanelModuleDescriptor moduleDescriptor)
Description copied from interface: ViewProfilePanel
This method is called on plugin initialization and provides the module with a reference to the parent module descriptor.

Specified by:
init in interface ViewProfilePanel
Parameters:
moduleDescriptor - the controlling class that doles out this module.

getHtml

public String getHtml(com.atlassian.crowd.embedded.api.User profileUser)
Description copied from interface: ViewProfilePanel
Renders the html to be used in this profile panel.

Specified by:
getHtml in interface ViewProfilePanel
Parameters:
profileUser - The user whose profile is being viewed. May be null.
Returns:
the html content.

getTabKey

public String getTabKey()


Copyright © 2002-2012 Atlassian. All Rights Reserved.