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 |
---|---|
Object |
clone()
Return a new copy of this ConfluenceUserImpl
|
boolean |
equals(Object obj) |
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 obj)
public int hashCode()
public String toString()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2003–2016 Atlassian. All rights reserved.