Class CachedCrowdUser
- java.lang.Object
-
- com.atlassian.confluence.impl.user.crowd.CachedCrowdUser
-
- All Implemented Interfaces:
com.atlassian.crowd.embedded.api.User
,com.atlassian.crowd.model.DirectoryEntity
,com.atlassian.crowd.model.TimestampedEntity
,com.atlassian.crowd.model.user.TimestampedUser
,com.atlassian.crowd.model.user.User
,Serializable
,Comparable<com.atlassian.crowd.embedded.api.User>
,Principal
@Immutable public class CachedCrowdUser extends Object implements com.atlassian.crowd.model.user.TimestampedUser, Serializable
Immutable Timestamped user for caching- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CachedCrowdUser(com.atlassian.crowd.model.user.TimestampedUser user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(com.atlassian.crowd.embedded.api.User other)
Date
getCreatedDate()
long
getDirectoryId()
String
getDisplayName()
String
getEmailAddress()
String
getExternalId()
String
getFirstName()
String
getLastName()
String
getName()
Date
getUpdatedDate()
boolean
isActive()
-
-
-
Method Detail
-
getDirectoryId
public long getDirectoryId()
- Specified by:
getDirectoryId
in interfacecom.atlassian.crowd.model.DirectoryEntity
- Specified by:
getDirectoryId
in interfacecom.atlassian.crowd.embedded.api.User
-
isActive
public boolean isActive()
- Specified by:
isActive
in interfacecom.atlassian.crowd.embedded.api.User
-
getEmailAddress
public String getEmailAddress()
- Specified by:
getEmailAddress
in interfacecom.atlassian.crowd.embedded.api.User
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfacecom.atlassian.crowd.embedded.api.User
-
getCreatedDate
public Date getCreatedDate()
- Specified by:
getCreatedDate
in interfacecom.atlassian.crowd.model.TimestampedEntity
-
getUpdatedDate
public Date getUpdatedDate()
- Specified by:
getUpdatedDate
in interfacecom.atlassian.crowd.model.TimestampedEntity
-
getFirstName
public String getFirstName()
- Specified by:
getFirstName
in interfacecom.atlassian.crowd.model.user.User
-
getLastName
public String getLastName()
- Specified by:
getLastName
in interfacecom.atlassian.crowd.model.user.User
-
getExternalId
public String getExternalId()
- Specified by:
getExternalId
in interfacecom.atlassian.crowd.model.user.User
-
getName
public String getName()
-
compareTo
public int compareTo(com.atlassian.crowd.embedded.api.User other)
- Specified by:
compareTo
in interfaceComparable<com.atlassian.crowd.embedded.api.User>
- Specified by:
compareTo
in interfacecom.atlassian.crowd.embedded.api.User
-
-