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
A
ConfluenceUser
implementation based on a UserKey
object, and which looks up the "real"
ConfluenceUser
lazily as necessary to fulfil the method contract. If only getKey()
is called
then no delegate lookup will be performed.- Since:
- 6.0.5
- See Also:
-
Constructor Details
-
DeferredLookupUser
public DeferredLookupUser(com.atlassian.sal.api.user.UserKey userKey)
-
-
Method Details
-
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
- Specified by:
getLowerName
in interfaceConfluenceUser
- Returns:
- the lower username
-
getFullName
- Specified by:
getFullName
in interfacecom.atlassian.user.User
-
getEmail
- Specified by:
getEmail
in interfacecom.atlassian.user.User
-
getName
-
equals
-
hashCode
public int hashCode()
-