public abstract class UserModelDefaultMethods extends Object implements UserModel
Modifier and Type | Class and Description |
---|---|
static class |
UserModelDefaultMethods.Streams
The
UserModelDefaultMethods.Streams class extends the UserModelDefaultMethods abstract class and
implements the UserModel.Streams interface, allowing subclasses to focus on the implementation of the
Stream -based query methods and providing default implementations for the collections-based variants that
delegate to their Stream counterparts. |
UserModel.RequiredAction, UserModel.SearchableFields, UserModel.UserRemovedEvent
COMPARE_BY_USERNAME, DISABLED_REASON, EMAIL, EMAIL_VERIFIED, ENABLED, EXACT, FIRST_NAME, GROUPS, IDP_ALIAS, IDP_USER_ID, INCLUDE_SERVICE_ACCOUNT, LAST_NAME, LOCALE, SEARCH, USERNAME
Constructor and Description |
---|
UserModelDefaultMethods() |
Modifier and Type | Method and Description |
---|---|
String |
getEmail() |
String |
getFirstName() |
String |
getLastName() |
void |
setEmail(String email)
Sets email for this user.
|
void |
setFirstName(String firstName) |
void |
setLastName(String lastName) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addRequiredAction, addRequiredAction, getAttribute, getAttributes, getAttributeStream, getCreatedTimestamp, getFederationLink, getFirstAttribute, getGroups, getGroups, getGroups, getGroupsCount, getGroupsCountByNameContaining, getGroupsStream, getGroupsStream, getId, getRequiredActions, getRequiredActionsStream, getServiceAccountClientLink, getUsername, isEmailVerified, isEnabled, isMemberOf, joinGroup, leaveGroup, removeAttribute, removeRequiredAction, removeRequiredAction, setAttribute, setCreatedTimestamp, setEmailVerified, setEnabled, setFederationLink, setServiceAccountClientLink, setSingleAttribute, setUsername
deleteRoleMapping, getClientRoleMappings, getClientRoleMappingsStream, getRealmRoleMappings, getRealmRoleMappingsStream, getRoleMappings, getRoleMappingsStream, grantRole, hasRole
public String getFirstName()
getFirstName
in interface UserModel
public void setFirstName(String firstName)
setFirstName
in interface UserModel
public String getLastName()
getLastName
in interface UserModel
public void setLastName(String lastName)
setLastName
in interface UserModel
public void setEmail(String email)
UserModel
Copyright © 2021 JBoss by Red Hat. All rights reserved.