Class ConfluenceUserImpl

    • Constructor Detail

      • ConfluenceUserImpl

        public ConfluenceUserImpl()
      • ConfluenceUserImpl

        public ConfluenceUserImpl​(String username,
                                  String fullName,
                                  String email)
        Create a new ConfluenceUserImpl with an automatically generated backing User.
      • ConfluenceUserImpl

        public ConfluenceUserImpl​(com.atlassian.user.User backingUser)
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface com.atlassian.user.Entity
        Specified by:
        getName in interface Principal
      • getKey

        public com.atlassian.sal.api.user.UserKey getKey()
        Description copied from interface: ConfluenceUser
        Return the immutable and unique key for the user.
        Specified by:
        getKey in interface ConfluenceUser
        the unique key for this user.
      • getFullName

        public String getFullName()
        Specified by:
        getFullName in interface com.atlassian.user.User
      • getEmail

        public String getEmail()
        Specified by:
        getEmail in interface com.atlassian.user.User
      • getBackingUser

        public com.atlassian.user.User getBackingUser()
        Specified by:
        getBackingUser in interface HasBackingUser
        the backing user
      • setName

        public void setName​(String name)
      • setLowerName

        public void setLowerName​(@Nullable String lowerName)
      • setBackingUser

        public void setBackingUser​(com.atlassian.user.User backingUser)
        Provided to aid the strategy of automatically setting the backing user as this object is loaded.
        backingUser - the backing User to set