public interface User extends Comparable<User>, Principal
Modifier and Type | Method and Description |
---|---|
int |
compareTo(User user)
CompareTo must be compatible with the equals() and hashCode() methods
|
boolean |
equals(Object o)
Implementations must ensure equality based on
getDirectoryId() and case-insensitive getName().
|
long |
getDirectoryId() |
String |
getDisplayName() |
String |
getEmailAddress() |
int |
hashCode()
Implementations must produce a hashcode based on
getDirectoryId() and case-insensitive getName().
|
boolean |
isActive() |
long getDirectoryId()
boolean isActive()
true if and only if the user is allowed to authenticate.
String getEmailAddress()
String getDisplayName()
boolean equals(Object o)
int hashCode()
int compareTo(User user)
compareTo
in interface Comparable<User>
Copyright © 2013 Atlassian. All Rights Reserved.