Class RemoveUnsyncedUserAction

  • 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

    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:
    Serialized Form
    • Constructor Detail

      • RemoveUnsyncedUserAction

        public RemoveUnsyncedUserAction()
    • Method Detail

      • validate

        public void validate()
        Specified by:
        validate in interface MessageHolderAware
        Specified by:
        validate in interface com.opensymphony.xwork2.Validateable
        Overrides:
        validate in class com.opensymphony.xwork2.ActionSupport
      • execute

        public String execute()
                       throws Exception
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.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.
      • setEventPublisher

        public void setEventPublisher​(com.atlassian.event.api.EventPublisher eventPublisher)