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:ConfluenceUserReturn the immutable and unique key for the user.- Specified by:
getKeyin interfaceConfluenceUser- Returns:
- the unique key for this user.
-
getLowerName
- Specified by:
getLowerNamein interfaceConfluenceUser- Returns:
- the lower username
-
getFullName
- Specified by:
getFullNamein interfacecom.atlassian.user.User
-
getEmail
- Specified by:
getEmailin interfacecom.atlassian.user.User
-
getName
-
equals
-
hashCode
public int hashCode()
-