public class ImmutableTimestampedUser extends Object implements TimestampedUser
Constructor and Description |
---|
ImmutableTimestampedUser(TimestampedUser user) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(User user)
CompareTo must be compatible with the equals() and hashCode() methods
|
Date |
getCreatedDate()
Returns the date the entity was created.
|
long |
getDirectoryId() |
String |
getDisplayName() |
String |
getEmailAddress() |
String |
getFirstName() |
String |
getLastName() |
String |
getName() |
Date |
getUpdatedDate()
Returns the date the entity was last updated.
|
boolean |
isActive() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode
public ImmutableTimestampedUser(TimestampedUser user)
public String getFirstName()
public String getLastName()
public long getDirectoryId()
getDirectoryId
in interface User
getDirectoryId
in interface DirectoryEntity
public boolean isActive()
public String getEmailAddress()
getEmailAddress
in interface User
public String getDisplayName()
getDisplayName
in interface User
public int compareTo(User user)
User
compareTo
in interface User
compareTo
in interface Comparable<User>
public Date getCreatedDate()
TimestampedEntity
getCreatedDate
in interface TimestampedEntity
public Date getUpdatedDate()
TimestampedEntity
getUpdatedDate
in interface TimestampedEntity
public String getName()
getName
in interface DirectoryEntity
getName
in interface Principal
Copyright © 2013 Atlassian. All Rights Reserved.