com.atlassian.crowd.model.user
public class InternalUserWithAttributes extends EntityWithAttributes implements UserWithAttributes
| Constructor and Description |
|---|
InternalUserWithAttributes(InternalUser user,
Map<String,Set<String>> attributes) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(User o)
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().
|
PasswordCredential |
getCredential() |
long |
getDirectoryId() |
String |
getDisplayName() |
String |
getEmailAddress() |
String |
getExternalId() |
String |
getFirstName() |
InternalUser |
getInternalUser() |
String |
getLastName() |
String |
getName() |
int |
hashCode()
Implementations must produce a hashcode based on
getDirectoryId() and case-insensitive getName().
|
boolean |
isActive() |
getKeys, getValue, getValues, isEmpty, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetKeys, getValue, getValues, isEmptypublic InternalUserWithAttributes(InternalUser user, Map<String,Set<String>> attributes)
public long getDirectoryId()
getDirectoryId in interface UsergetDirectoryId in interface DirectoryEntitypublic String getName()
getName in interface DirectoryEntitygetName in interface Principalpublic boolean isActive()
public String getEmailAddress()
getEmailAddress in interface Userpublic String getFirstName()
public String getLastName()
public String getDisplayName()
getDisplayName in interface Userpublic InternalUser getInternalUser()
public PasswordCredential getCredential()
public String getExternalId()
public boolean equals(Object o)
DirectoryEntityequals in interface Userequals in interface DirectoryEntityequals in interface Principalequals in class Objecto - object to compare to.true if and only if the directoryId
and the lowercase names of the directory entities match.public int hashCode()
DirectoryEntityCopyright © 2015 Atlassian. All Rights Reserved.