com.atlassian.confluence.user.crowd
Class CachedCrowdUser

java.lang.Object
  extended by com.atlassian.confluence.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, java.io.Serializable, java.lang.Comparable<com.atlassian.crowd.embedded.api.User>, java.security.Principal

@Immutable
public class CachedCrowdUser
extends java.lang.Object
implements com.atlassian.crowd.model.user.TimestampedUser, java.io.Serializable

Immutable Timestamped user for caching

See Also:
Serialized Form

Constructor Summary
CachedCrowdUser(com.atlassian.crowd.model.user.TimestampedUser user)
           
 
Method Summary
 int compareTo(com.atlassian.crowd.embedded.api.User other)
           
 java.util.Date getCreatedDate()
           
 long getDirectoryId()
           
 java.lang.String getDisplayName()
           
 java.lang.String getEmailAddress()
           
 java.lang.String getExternalId()
           
 java.lang.String getFirstName()
           
 java.lang.String getLastName()
           
 java.lang.String getName()
           
 java.util.Date getUpdatedDate()
           
 boolean isActive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.crowd.model.DirectoryEntity
equals, hashCode
 
Methods inherited from interface com.atlassian.crowd.embedded.api.User
equals, hashCode
 
Methods inherited from interface java.security.Principal
toString
 

Constructor Detail

CachedCrowdUser

public CachedCrowdUser(com.atlassian.crowd.model.user.TimestampedUser user)
Method Detail

getDirectoryId

public long getDirectoryId()
Specified by:
getDirectoryId in interface com.atlassian.crowd.embedded.api.User
Specified by:
getDirectoryId in interface com.atlassian.crowd.model.DirectoryEntity

isActive

public boolean isActive()
Specified by:
isActive in interface com.atlassian.crowd.embedded.api.User

getEmailAddress

public java.lang.String getEmailAddress()
Specified by:
getEmailAddress in interface com.atlassian.crowd.embedded.api.User

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface com.atlassian.crowd.embedded.api.User

getCreatedDate

public java.util.Date getCreatedDate()
Specified by:
getCreatedDate in interface com.atlassian.crowd.model.TimestampedEntity

getUpdatedDate

public java.util.Date getUpdatedDate()
Specified by:
getUpdatedDate in interface com.atlassian.crowd.model.TimestampedEntity

getFirstName

public java.lang.String getFirstName()

getLastName

public java.lang.String getLastName()

getExternalId

public java.lang.String getExternalId()

getName

public java.lang.String getName()
Specified by:
getName in interface com.atlassian.crowd.model.DirectoryEntity
Specified by:
getName in interface java.security.Principal

compareTo

public int compareTo(com.atlassian.crowd.embedded.api.User other)
Specified by:
compareTo in interface com.atlassian.crowd.embedded.api.User
Specified by:
compareTo in interface java.lang.Comparable<com.atlassian.crowd.embedded.api.User>


Copyright © 2003-2014 Atlassian. All Rights Reserved.