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.
|
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(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 String getLowerName()
public com.atlassian.sal.api.user.UserKey getKey()
ConfluenceUser
getKey
in interface ConfluenceUser
public String getFullName()
getFullName
in interface com.atlassian.user.User
public String getEmail()
getEmail
in interface com.atlassian.user.User
public com.atlassian.user.User getBackingUser()
getBackingUser
in interface HasBackingUser
public void setName(String name)
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 Object
CloneNotSupportedException
Copyright © 2003–2018 Atlassian. All rights reserved.