Package org.keycloak.models
Class UserModelDefaultMethods
- java.lang.Object
-
- org.keycloak.models.UserModelDefaultMethods
-
- All Implemented Interfaces:
RoleMapperModel
,UserModel
- Direct Known Subclasses:
AbstractUserAdapter
,AbstractUserAdapterFederatedStorage
,UserModelDefaultMethods.Streams
public abstract class UserModelDefaultMethods extends Object implements UserModel
- Version:
- $Revision: 1 $
- Author:
- Martin Idel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserModelDefaultMethods.Streams
Deprecated.This interface is no longer necessary, collection-based methods were removed from the parent interface and therefore the parent interface can be used directly-
Nested classes/interfaces inherited from interface org.keycloak.models.UserModel
UserModel.RequiredAction, UserModel.SearchableFields, UserModel.UserRemovedEvent
-
-
Field Summary
-
Fields inherited from interface org.keycloak.models.UserModel
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 Summary
Constructors Constructor Description UserModelDefaultMethods()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.keycloak.models.RoleMapperModel
deleteRoleMapping, getClientRoleMappingsStream, getRealmRoleMappingsStream, getRoleMappingsStream, grantRole, hasDirectRole, hasRole
-
Methods inherited from interface org.keycloak.models.UserModel
addRequiredAction, addRequiredAction, credentialManager, getAttributes, getAttributeStream, getCreatedTimestamp, getFederationLink, getFirstAttribute, getGroupsCount, getGroupsCountByNameContaining, getGroupsStream, getGroupsStream, getId, getRequiredActionsStream, getServiceAccountClientLink, getUsername, isEmailVerified, isEnabled, isMemberOf, joinGroup, leaveGroup, removeAttribute, removeRequiredAction, removeRequiredAction, setAttribute, setCreatedTimestamp, setEmailVerified, setEnabled, setFederationLink, setServiceAccountClientLink, setSingleAttribute, setUsername
-
-
-
-
Method Detail
-
getFirstName
public String getFirstName()
- Specified by:
getFirstName
in interfaceUserModel
-
setFirstName
public void setFirstName(String firstName)
- Specified by:
setFirstName
in interfaceUserModel
-
getLastName
public String getLastName()
- Specified by:
getLastName
in interfaceUserModel
-
setLastName
public void setLastName(String lastName)
- Specified by:
setLastName
in interfaceUserModel
-
setEmail
public void setEmail(String email)
Description copied from interface:UserModel
Sets email for this user.
-
-