Class RemoveUserAction

    • Constructor Detail

      • RemoveUserAction

        public RemoveUserAction()
    • Method Detail

      • 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)
      • isUserRemovable

        public boolean isUserRemovable()
      • 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)