com.atlassian.jira.plugin.profile
Interface OptionalUserProfilePanel
- All Known Implementing Classes:
- DarkFeaturesUserProfilePanel, 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.atlassian.crowd.embedded.api.User profileUser,
com.atlassian.crowd.embedded.api.User currentUser)
Whether or not to show the panel for a given user to a given user. |
showPanel
boolean showPanel(com.atlassian.crowd.embedded.api.User profileUser,
com.atlassian.crowd.embedded.api.User currentUser)
- Whether or not to show the panel for a given user to a given user.
- Parameters:
profileUser
- The profile being requestedcurrentUser
- The current user
- Returns:
- true if the panel should be show, otherwise false
Copyright © 2002-2012 Atlassian. All Rights Reserved.