com.atlassian.jira.plugin.profile
Class RoadmapUserProfilePanel
java.lang.Object
com.atlassian.jira.plugin.profile.RoadmapUserProfilePanel
- All Implemented Interfaces:
- OptionalUserProfilePanel, ViewProfilePanel
public class RoadmapUserProfilePanel
- extends Object
- implements ViewProfilePanel, OptionalUserProfilePanel
A user profile panel that displays the users personal roadmap
- Since:
- v4.1
Method Summary |
String |
getHtml(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(User profileUser,
User currentUser)
Only displaythe panel if the it is the current user looking at their own profile,
and assignee and fix for are visable in a project that has versions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoadmapUserProfilePanel
public RoadmapUserProfilePanel(VersionDrillDownRenderer panelRenderer,
JiraAuthenticationContext authenticationContext,
VersionManager versionManager,
VelocityRequestContextFactory requestContextFactory,
ProjectManager projectManager,
UserProjectHistoryManager projectHistoryManager,
PermissionManager permissionManager,
com.atlassian.plugin.webresource.WebResourceManager webResourceManager,
FieldVisibilityManager fieldVisibilityManager)
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.
showPanel
public boolean showPanel(User profileUser,
User currentUser)
- Only displaythe panel if the it is the current user looking at their own profile,
and assignee and fix for are visable in a project that has versions
- Specified by:
showPanel
in interface OptionalUserProfilePanel
- Parameters:
profileUser
- The profile being requestedcurrentUser
- The current user
- Returns:
- true if pofile user equals current user, otherwise false
getHtml
public String getHtml(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.
Copyright © 2002-2011 Atlassian. All Rights Reserved.