Class UserPopupAction

    • Constructor Detail

      • UserPopupAction

        public UserPopupAction()
    • 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
      • getUsername

        public String getUsername()
      • setUsername

        public void setUsername​(String username)
      • setProfileGroups

        public void setProfileGroups​(String profileGroups)
      • getUser

        public com.atlassian.user.User getUser()
        Specified by:
        getUser in interface UserAware
        Returns:
        user - the user that the action worked on
      • isFollowing

        public boolean isFollowing()
      • setFollowManager

        public void setFollowManager​(FollowManager followManager)
      • isUserRequired

        public boolean isUserRequired()
        Description copied from interface: UserAware
        If the action requires that the user be set before being run, then it should return true to this method. If the action requires a user, but no user is available, then the interceptor will automatically redirect to the 'notfound' result
        Specified by:
        isUserRequired in interface UserAware
        Returns:
        true if the action requires a page in order to execute
      • isViewPermissionRequired

        public boolean isViewPermissionRequired()
        Specified by:
        isViewPermissionRequired in interface UserAware
        Returns:
        true if the action requires a check on com.atlassian.confluence.user.actions.UserAwareInterceptor.VIEW_USER_PROFILE_PERMISSION
      • canFollowUser

        public boolean canFollowUser()
      • getProfileGroups

        public String getProfileGroups()