public class UserEntity extends Object implements UserWithAttributes, TimestampedUser
| Constructor and Description |
|---|
UserEntity(String name,
String firstName,
String lastName,
String displayName,
String emailAddress,
PasswordEntity password,
boolean active) |
UserEntity(String name,
String firstName,
String lastName,
String displayName,
String emailAddress,
PasswordEntity password,
boolean active,
boolean isPasswordEncrypted) |
UserEntity(String name,
String firstName,
String lastName,
String displayName,
String emailAddress,
PasswordEntity password,
boolean active,
String key,
Date createdDate,
Date updatedDate) |
UserEntity(String name,
String firstName,
String lastName,
String displayName,
String emailAddress,
PasswordEntity password,
boolean active,
String key,
Date createdDate,
Date updatedDate,
boolean isPasswordEncrypted) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitisMarkedAsDeletedpublic UserEntity(String name, String firstName, String lastName, String displayName, String emailAddress, PasswordEntity password, boolean active, String key, Date createdDate, Date updatedDate)
public UserEntity(String name, String firstName, String lastName, String displayName, String emailAddress, PasswordEntity password, boolean active, String key, Date createdDate, Date updatedDate, boolean isPasswordEncrypted)
public UserEntity(String name, String firstName, String lastName, String displayName, String emailAddress, PasswordEntity password, boolean active)
public String getDisplayName()
getDisplayName in interface Userpublic String getFirstName()
public String getLastName()
public String getEmailAddress()
getEmailAddress in interface Userpublic PasswordEntity getPassword()
public PasswordEntity getEncryptedPassword()
public String getName()
getName in interface DirectoryEntitygetName in interface Principal@Nullable public Date getCreatedDate()
getCreatedDate in interface TimestampedEntity@Nullable public Date getUpdatedDate()
getUpdatedDate in interface TimestampedEntitypublic void setAttributes(MultiValuedAttributeEntityList attributes)
public MultiValuedAttributeEntityList getAttributes()
public Set<String> getValues(String key)
getValues in interface Attributespublic String getValue(String key)
getValue in interface Attributespublic Set<String> getKeys()
getKeys in interface Attributespublic boolean isEmpty()
isEmpty in interface Attributes@Deprecated public long getDirectoryId()
getDirectoryId in interface UsergetDirectoryId in interface DirectoryEntity0public int compareTo(User user)
compareTo in interface UsercompareTo in interface Comparable<User>public String getExternalId()
public boolean equals(Object o)
public int hashCode()
public String toString()
public static UserEntity newMinimalInstance(String username)
username - username for the userCopyright © 2023 Atlassian. All rights reserved.