|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.confluence.core.ConfluenceActionSupport com.atlassian.confluence.user.actions.UserPopupAction
public class UserPopupAction
Renders the user popup boxes that appear when you hover over a user link.
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
UserPopupAction()
|
Method Summary | |
---|---|
boolean |
canFollowUser()
|
String |
execute()
|
String |
getProfileGroups()
|
com.atlassian.user.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 |
setProfileGroups(String profileGroups)
|
void |
setUsername(String username)
|
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.confluence.validation.MessageHolderAware |
---|
validate |
Constructor Detail |
---|
public UserPopupAction()
Method Detail |
---|
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public String getUsername()
public void setUsername(String username)
public void setProfileGroups(String profileGroups)
public com.atlassian.user.User getUser()
getUser
in interface UserAware
public boolean isFollowing()
public boolean isPermitted()
isPermitted
in class ConfluenceActionSupport
public void setFollowManager(FollowManager followManager)
public boolean isUserRequired()
UserAware
isUserRequired
in interface UserAware
public boolean isViewPermissionRequired()
isViewPermissionRequired
in interface UserAware
public boolean canFollowUser()
public String getProfileGroups()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |