Class DeferredLookupUser
- java.lang.Object
-
- com.atlassian.confluence.internal.user.DeferredLookupUser
-
- All Implemented Interfaces:
RelatableEntity
,ConfluenceUser
,com.atlassian.user.Entity
,com.atlassian.user.User
,Serializable
,Principal
public class DeferredLookupUser extends Object implements ConfluenceUser
AConfluenceUser
implementation based on aUserKey
object, and which looks up the "real"ConfluenceUser
lazily as necessary to fulfil the method contract. If onlygetKey()
is called then no delegate lookup will be performed.- Since:
- 6.0.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeferredLookupUser(com.atlassian.sal.api.user.UserKey userKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
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()
-
-
-
Method Detail
-
getKey
public com.atlassian.sal.api.user.UserKey getKey()
Description copied from interface:ConfluenceUser
Return the immutable and unique key for the user.- Specified by:
getKey
in interfaceConfluenceUser
- Returns:
- the unique key for this user.
-
getLowerName
public String getLowerName()
- Specified by:
getLowerName
in interfaceConfluenceUser
- Returns:
- the lower username
-
getFullName
public String getFullName()
- Specified by:
getFullName
in interfacecom.atlassian.user.User
-
getEmail
public String getEmail()
- Specified by:
getEmail
in interfacecom.atlassian.user.User
-
getName
public String getName()
-
equals
public boolean equals(Object o)
-
-