|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.user.ConfluenceUserImpl
public class ConfluenceUserImpl
An implementation of the ConfluenceUser which wraps an atlassian-user User
Constructor Summary | |
---|---|
ConfluenceUserImpl()
|
|
ConfluenceUserImpl(java.lang.String username,
java.lang.String fullName,
java.lang.String email)
Create a new ConfluenceUserImpl with an automatically generated backing User. |
|
ConfluenceUserImpl(com.atlassian.user.User backingUser)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Return a new copy of this ConfluenceUserImpl |
boolean |
equals(java.lang.Object obj)
|
com.atlassian.user.User |
getBackingUser()
|
java.lang.String |
getEmail()
|
java.lang.String |
getFullName()
|
com.atlassian.sal.api.user.UserKey |
getKey()
Return the immutable and unique key for the user. |
java.lang.String |
getLowerName()
|
java.lang.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(java.lang.String lowerName)
|
void |
setName(java.lang.String name)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConfluenceUserImpl()
public ConfluenceUserImpl(java.lang.String username, java.lang.String fullName, java.lang.String email)
public ConfluenceUserImpl(com.atlassian.user.User backingUser)
Method Detail |
---|
public java.lang.String getName()
getName
in interface com.atlassian.user.Entity
getName
in interface java.security.Principal
public java.lang.String getLowerName()
public com.atlassian.sal.api.user.UserKey getKey()
ConfluenceUser
getKey
in interface ConfluenceUser
public java.lang.String getFullName()
getFullName
in interface com.atlassian.user.User
public java.lang.String getEmail()
getEmail
in interface com.atlassian.user.User
public com.atlassian.user.User getBackingUser()
getBackingUser
in interface HasBackingUser
public void setName(java.lang.String name)
public void setLowerName(java.lang.String lowerName)
public void setBackingUser(com.atlassian.user.User backingUser)
backingUser
- the backing User to setpublic boolean equals(java.lang.Object obj)
equals
in interface java.security.Principal
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.security.Principal
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface java.security.Principal
toString
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |