|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.user.actions.AbstractUsersAction
com.atlassian.confluence.user.actions.RemoveUserAction
public class RemoveUserAction
Action for removing a user. This gets quite complicated as we have to make sure the user really is able to be removed.
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.user.actions.AbstractUsersAction |
---|
user, username |
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, 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 | |
---|---|
RemoveUserAction()
|
Method Summary | |
---|---|
String |
execute()
|
List |
getUserCommentedSpaces()
|
List |
getUserEditedSpaces()
|
List |
getUserOwnedSpaces()
|
boolean |
hasPersonalSpace()
|
boolean |
isUserRemovable()
|
void |
setSpaceManager(SpaceManager spaceManager)
|
void |
setUserContentManager(UserContentManager userContentManager)
|
Methods inherited from class com.atlassian.confluence.user.actions.AbstractUsersAction |
---|
getRemoteUsername, getUser, getUsername, isAllowedToAddUsers, isPermitted, setUsername |
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 |
Constructor Detail |
---|
public RemoveUserAction()
Method Detail |
---|
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public void setUserContentManager(UserContentManager userContentManager)
public void setSpaceManager(SpaceManager spaceManager)
public boolean isUserRemovable()
public boolean hasPersonalSpace()
public List getUserOwnedSpaces()
public List getUserEditedSpaces()
public List getUserCommentedSpaces()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |