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, 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
CachedCrowdUser(com.atlassian.crowd.model.user.TimestampedUser user)
           
 
Method Summary
 int compareTo(com.atlassian.crowd.embedded.api.User other)
           
 Date getCreatedDate()
           
 long getDirectoryId()
           
 String getDisplayName()
           
 String getEmailAddress()
           
 String getFirstName()
           
 String getLastName()
           
 String getName()
           
 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 String getEmailAddress()
Specified by:
getEmailAddress in interface com.atlassian.crowd.embedded.api.User

getDisplayName

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

getCreatedDate

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

getUpdatedDate

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

getFirstName

public String getFirstName()

getLastName

public String getLastName()

getName

public String getName()
Specified by:
getName in interface com.atlassian.crowd.model.DirectoryEntity
Specified by:
getName in interface 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 Comparable<com.atlassian.crowd.embedded.api.User>


Copyright © 2003-2012 Atlassian. All Rights Reserved.