com.atlassian.jira.plugin.profile
Interface OptionalUserProfilePanel

All Known Implementing Classes:
RoadmapUserProfilePanel

public interface OptionalUserProfilePanel

An optional interface for ViewProfilePanel modules that allows the panel to only be show when a criteria is met.

Since:
v4.1

Method Summary
 boolean showPanel(com.opensymphony.user.User profileUser, com.opensymphony.user.User currentUser)
          Whether or not to show the panel for a given user to a given user.
 

Method Detail

showPanel

boolean showPanel(com.opensymphony.user.User profileUser,
                  com.opensymphony.user.User currentUser)
Whether or not to show the panel for a given user to a given user.

Parameters:
profileUser - The profile being requested
currentUser - The current user
Returns:
true if the panel should be show, otherwise false


Copyright © 2002-2010 Atlassian. All Rights Reserved.