public class UserUpdateProfileContext extends Object implements UpdateProfileContext
Constructor and Description |
---|
UserUpdateProfileContext(RealmModel realm,
UserModel user) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAttribute(String key) |
Map<String,List<String>> |
getAttributes() |
String |
getEmail() |
String |
getFirstAttribute(String name) |
String |
getFirstName() |
String |
getLastName() |
String |
getUsername() |
boolean |
isEditUsernameAllowed() |
void |
setAttribute(String key,
List<String> value) |
void |
setEmail(String email) |
void |
setFirstName(String firstName) |
void |
setLastName(String lastName) |
void |
setSingleAttribute(String name,
String value) |
void |
setUsername(String username) |
public UserUpdateProfileContext(RealmModel realm, UserModel user)
public boolean isEditUsernameAllowed()
isEditUsernameAllowed
in interface UpdateProfileContext
public String getUsername()
getUsername
in interface UpdateProfileContext
public void setUsername(String username)
setUsername
in interface UpdateProfileContext
public String getEmail()
getEmail
in interface UpdateProfileContext
public void setEmail(String email)
setEmail
in interface UpdateProfileContext
public String getFirstName()
getFirstName
in interface UpdateProfileContext
public void setFirstName(String firstName)
setFirstName
in interface UpdateProfileContext
public String getLastName()
getLastName
in interface UpdateProfileContext
public void setLastName(String lastName)
setLastName
in interface UpdateProfileContext
public Map<String,List<String>> getAttributes()
getAttributes
in interface UpdateProfileContext
public void setSingleAttribute(String name, String value)
setSingleAttribute
in interface UpdateProfileContext
public void setAttribute(String key, List<String> value)
setAttribute
in interface UpdateProfileContext
public String getFirstAttribute(String name)
getFirstAttribute
in interface UpdateProfileContext
public List<String> getAttribute(String key)
getAttribute
in interface UpdateProfileContext
Copyright © 2020 JBoss by Red Hat. All rights reserved.