|
||||||||||
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 |
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)
username
- fullName
- email
- public ConfluenceUserImpl(com.atlassian.user.User backingUser)
Method Detail |
---|
public String getName()
getName
in interface com.atlassian.user.Entity
getName
in interface Principal
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()
public void setName(String name)
public void setBackingUser(com.atlassian.user.User backingUser)
backingUser
- the backing User to setpublic boolean equals(Object obj)
equals
in interface Principal
equals
in class Object
public int hashCode()
hashCode
in interface Principal
hashCode
in class Object
public String toString()
toString
in interface Principal
toString
in class Object
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |