|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.user.ConfluenceUserImpl
public class ConfluenceUserImpl
An implementation of the ConfluenceUser which wraps an atlassian-user User
| Constructor Summary | |
|---|---|
ConfluenceUserImpl()
|
|
ConfluenceUserImpl(String username,
String fullName,
String email)
Create a new ConfluenceUserImpl with an automatically generated backing User. |
|
ConfluenceUserImpl(com.atlassian.user.User backingUser)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConfluenceUserImpl()
public ConfluenceUserImpl(String username,
String fullName,
String email)
public ConfluenceUserImpl(com.atlassian.user.User backingUser)
| Method Detail |
|---|
public String getName()
getName in interface com.atlassian.user.EntitygetName in interface Principalpublic String getLowerName()
public com.atlassian.sal.api.user.UserKey getKey()
ConfluenceUser
getKey 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(String lowerName)
public void setBackingUser(com.atlassian.user.User backingUser)
backingUser - the backing User to setpublic boolean equals(Object obj)
equals in interface Principalequals in class Objectpublic int hashCode()
hashCode in interface PrincipalhashCode in class Objectpublic String toString()
toString in interface PrincipaltoString in class Object
public Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||