@NotThreadSafe @Entity public class User extends GroupedPrincipal<User> implements com.foreach.across.modules.hibernate.repositories.Undeletable
| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
String |
getEmail() |
boolean |
getEmailConfirmed() |
String |
getFirstName() |
String |
getLabel()
Returns a display label for this user.
|
String |
getLastName() |
String |
getPassword() |
Set<UserRestriction> |
getRestrictions() |
String |
getUsername() |
boolean |
hasRestriction(UserRestriction restriction) |
boolean |
hasRestrictions() |
boolean |
isAccountNonExpired() |
boolean |
isAccountNonLocked() |
boolean |
isCredentialsNonExpired() |
boolean |
isDeleted() |
boolean |
isEnabled() |
void |
setDeleted(boolean deleted) |
void |
setDisplayName(String displayName) |
void |
setEmail(String email) |
void |
setEmailConfirmed(boolean emailConfirmed) |
void |
setFirstName(String firstName) |
void |
setLastName(String lastName) |
void |
setPassword(String password) |
void |
setRestrictions(Collection<UserRestriction> restrictions) |
void |
setUsername(String username) |
User |
toDto() |
addGroup, buildAuthoritySet, getGroups, getParentPrincipals, hasPermission, isMemberOf, removeGroup, setGroupsaddRole, getAuthorities, getCreatedBy, getCreatedDate, getId, getLastModifiedBy, getLastModifiedDate, getPrincipalName, getRoles, getUserDirectory, hasPermission, hasRole, hasRole, removeRole, setCreatedBy, setCreatedDate, setId, setLastModifiedBy, setLastModifiedDate, setPrincipalName, setRoles, setUserDirectory, toString, uniquePrincipalNameequals, getNewEntityId, hashCode, isNew, setNewEntityIdpublic String getUsername()
public void setUsername(String username)
public String getFirstName()
public void setFirstName(String firstName)
public String getLastName()
public void setLastName(String lastName)
public String getDisplayName()
public void setDisplayName(String displayName)
public String getEmail()
public void setEmail(String email)
public String getLabel()
public String getPassword()
public void setPassword(String password)
public boolean getEmailConfirmed()
public void setEmailConfirmed(boolean emailConfirmed)
public boolean isDeleted()
isDeleted in interface com.foreach.across.modules.hibernate.repositories.Undeletablepublic void setDeleted(boolean deleted)
setDeleted in interface com.foreach.across.modules.hibernate.repositories.Undeletablepublic Set<UserRestriction> getRestrictions()
public void setRestrictions(Collection<UserRestriction> restrictions)
public boolean hasRestriction(UserRestriction restriction)
public boolean hasRestrictions()
public boolean isAccountNonExpired()
public boolean isAccountNonLocked()
public boolean isCredentialsNonExpired()
public boolean isEnabled()
Copyright © 2020. All rights reserved.