public class

UserPopupAction

extends ConfluenceActionSupport
implements UserAware
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.user.actions.UserPopupAction

Class Overview

Renders the user popup boxes that appear when you hover over a user link.

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
[Expand]
Inherited Fields
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
UserPopupAction()
Public Methods
boolean canFollowUser()
String execute()
User getUser()
String getUsername()
boolean isFollowing()
boolean isPermitted()
boolean isUserRequired()
If the action requires that the user be set before being run, then it should return true to this method.
boolean isViewPermissionRequired()
void setFollowManager(FollowManager followManager)
void setUsername(String username)
[Expand]
Inherited Methods
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.confluence.plugin.descriptor.web.WebInterface
From interface com.atlassian.confluence.user.actions.UserAware
From interface com.opensymphony.xwork.Action
From interface com.opensymphony.xwork.LocaleProvider
From interface com.opensymphony.xwork.TextProvider
From interface com.opensymphony.xwork.Validateable
From interface com.opensymphony.xwork.ValidationAware

Public Constructors

public UserPopupAction ()

Public Methods

public boolean canFollowUser ()

public String execute ()

Throws
Exception

public User getUser ()

public String getUsername ()

public boolean isFollowing ()

public boolean isPermitted ()

public boolean isUserRequired ()

If the action requires that the user be set before being run, then it should return true to this method. If the action requires a user, but no user is available, then the interceptor will automatically redirect to the 'notfound' result

Returns
  • true if the action requires a page in order to execute

public boolean isViewPermissionRequired ()

public void setFollowManager (FollowManager followManager)

public void setUsername (String username)