public class

RemoveUserAction

extends AbstractUsersAction
implements ExternalUserManagementAware
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.user.actions.AbstractUsersAction
         ↳ com.atlassian.confluence.user.actions.RemoveUserAction

Class Overview

Action for removing a user. This gets quite complicated as we have to make sure the user really is able to be removed.

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.user.actions.AbstractUsersAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
RemoveUserAction()
Public Methods
String execute()
List getUserCommentedSpaces()
List getUserEditedSpaces()
List getUserOwnedSpaces()
boolean hasPersonalSpace()
boolean isUserRemovable()
void setSpaceManager(SpaceManager spaceManager)
void setUserContentManager(UserContentManager userContentManager)
[Expand]
Inherited Methods
From class com.atlassian.confluence.user.actions.AbstractUsersAction
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.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 RemoveUserAction ()

Public Methods

public String execute ()

Throws
Exception

public List getUserCommentedSpaces ()

public List getUserEditedSpaces ()

public List getUserOwnedSpaces ()

Returns
  • list of spaces that the user to be removed has edited content in, excluding the user's personal space, if one exists

public boolean hasPersonalSpace ()

public boolean isUserRemovable ()

public void setSpaceManager (SpaceManager spaceManager)

public void setUserContentManager (UserContentManager userContentManager)