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
AConfluenceUserimplementation based on aUserKeyobject, and which looks up the "real"ConfluenceUserlazily 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 booleanequals(Object o)StringgetEmail()StringgetFullName()com.atlassian.sal.api.user.UserKeygetKey()Return the immutable and unique key for the user.StringgetLowerName()StringgetName()inthashCode()
-
-
-
Method Detail
-
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
public String getLowerName()
- Specified by:
getLowerNamein interfaceConfluenceUser- Returns:
- the lower username
-
getFullName
public String getFullName()
- Specified by:
getFullNamein interfacecom.atlassian.user.User
-
getEmail
public String getEmail()
- Specified by:
getEmailin interfacecom.atlassian.user.User
-
getName
public String getName()
-
equals
public boolean equals(Object o)
-
-