Class RemoveUnsyncedUserAction

java.lang.Object
org.apache.struts2.ActionSupport
All Implemented Interfaces:
WebInterface, ExternalUserManagementAware, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable

public class RemoveUnsyncedUserAction extends AbstractUsersAction implements ExternalUserManagementAware
Action for removing an unsynced user: a user whose account has been disconnected from an external directory, i.e. a user who has a known mapping but no backing user, but who has not yet been deleted from the application.
Since:
6.13.0
See Also:
  • Constructor Details

    • RemoveUnsyncedUserAction

      public RemoveUnsyncedUserAction()
  • Method Details

    • doDefault

      public String doDefault() throws Exception
      Description copied from class: ConfluenceActionSupport
      Convenient Action execution method which defaults to returning INPUT
      Overrides:
      doDefault in class ConfluenceActionSupport
      Throws:
      Exception
    • validate

      public void validate()
      Specified by:
      validate in interface MessageHolderAware
      Specified by:
      validate in interface org.apache.struts2.Validateable
      Overrides:
      validate in class org.apache.struts2.ActionSupport
    • getUser

      public ConfluenceUser getUser()
      Overrides:
      getUser in class AbstractUsersAction
    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
      Throws:
      Exception
    • setSpaceManager

      public void setSpaceManager(SpaceManager spaceManager)
    • hasPersonalSpace

      public boolean hasPersonalSpace()
    • getPersonalSpaceKey

      public @Nullable String getPersonalSpaceKey()
      Returns the key of the user's personal space if that space exists. Returns null if the user has no personal space.
    • getTaskId

      public String getTaskId()
    • getUserContentCleanupInformation

      public List<String> getUserContentCleanupInformation()
      A human-readable list of content that will be removed or modified by the deletion of this user.
      Returns:
      a list of i18n'd strings listing the consequences of removing this user.