public class ConfluenceUserImpl extends Object implements ConfluenceUser, Cloneable, Serializable, HasBackingUser
| Constructor and Description |
|---|
ConfluenceUserImpl() |
ConfluenceUserImpl(String username,
String fullName,
String email)
Create a new ConfluenceUserImpl with an automatically generated backing User.
|
ConfluenceUserImpl(com.atlassian.user.User backingUser) |
| Modifier and Type | Method and Description |
|---|---|
ConfluenceUserImpl |
clone()
Return a new copy of this ConfluenceUserImpl
|
boolean |
equals(Object o) |
com.atlassian.user.User |
getBackingUser() |
String |
getEmail() |
String |
getFullName() |
com.atlassian.sal.api.user.UserKey |
getKey()
Return the immutable and unique key for the user.
|
@Nullable String |
getLowerName() |
String |
getName() |
int |
hashCode() |
void |
setBackingUser(com.atlassian.user.User backingUser)
Provided to aid the strategy of automatically setting the backing user as this object is
loaded.
|
void |
setLowerName(@Nullable String lowerName) |
void |
setName(String name) |
String |
toString() |
public ConfluenceUserImpl()
public ConfluenceUserImpl(String username, String fullName, String email)
public ConfluenceUserImpl(com.atlassian.user.User backingUser)
public String getName()
public @Nullable String getLowerName()
getLowerName in interface ConfluenceUserpublic com.atlassian.sal.api.user.UserKey getKey()
ConfluenceUsergetKey in interface ConfluenceUserpublic String getFullName()
getFullName in interface com.atlassian.user.Userpublic String getEmail()
getEmail in interface com.atlassian.user.Userpublic com.atlassian.user.User getBackingUser()
getBackingUser in interface HasBackingUserpublic void setName(String name)
public void setLowerName(@Nullable String lowerName)
public void setBackingUser(com.atlassian.user.User backingUser)
backingUser - the backing User to setpublic boolean equals(Object o)
public int hashCode()
public String toString()
public ConfluenceUserImpl clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionCopyright © 2003–2021 Atlassian. All rights reserved.