com.atlassian.crowd.directory
Class ImmutableTimestampedUser

java.lang.Object
  extended by com.atlassian.crowd.directory.ImmutableTimestampedUser
All Implemented Interfaces:
User, DirectoryEntity, TimestampedEntity, TimestampedUser, java.lang.Comparable<User>, java.security.Principal

public class ImmutableTimestampedUser
extends java.lang.Object
implements TimestampedUser


Constructor Summary
ImmutableTimestampedUser(TimestampedUser user)
           
 
Method Summary
 int compareTo(User user)
           
 java.util.Date getCreatedDate()
           
 long getDirectoryId()
           
 java.lang.String getDisplayName()
           
 java.lang.String getEmailAddress()
           
 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

ImmutableTimestampedUser

public ImmutableTimestampedUser(TimestampedUser user)
Method Detail

getFirstName

public java.lang.String getFirstName()

getLastName

public java.lang.String getLastName()

getDirectoryId

public long getDirectoryId()
Specified by:
getDirectoryId in interface User
Specified by:
getDirectoryId in interface DirectoryEntity

isActive

public boolean isActive()
Specified by:
isActive in interface User

getEmailAddress

public java.lang.String getEmailAddress()
Specified by:
getEmailAddress in interface User

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface User

compareTo

public int compareTo(User user)
Specified by:
compareTo in interface User
Specified by:
compareTo in interface java.lang.Comparable<User>

getCreatedDate

public java.util.Date getCreatedDate()
Specified by:
getCreatedDate in interface TimestampedEntity

getUpdatedDate

public java.util.Date getUpdatedDate()
Specified by:
getUpdatedDate in interface TimestampedEntity

getName

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


Copyright © 2012 Atlassian. All Rights Reserved.