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 UpdateProfileContextpublic String getUsername()
getUsername in interface UpdateProfileContextpublic void setUsername(String username)
setUsername in interface UpdateProfileContextpublic String getEmail()
getEmail in interface UpdateProfileContextpublic void setEmail(String email)
setEmail in interface UpdateProfileContextpublic String getFirstName()
getFirstName in interface UpdateProfileContextpublic void setFirstName(String firstName)
setFirstName in interface UpdateProfileContextpublic String getLastName()
getLastName in interface UpdateProfileContextpublic void setLastName(String lastName)
setLastName in interface UpdateProfileContextpublic Map<String,List<String>> getAttributes()
getAttributes in interface UpdateProfileContextpublic void setSingleAttribute(String name, String value)
setSingleAttribute in interface UpdateProfileContextpublic void setAttribute(String key, List<String> value)
setAttribute in interface UpdateProfileContextpublic String getFirstAttribute(String name)
getFirstAttribute in interface UpdateProfileContextpublic List<String> getAttribute(String key)
getAttribute in interface UpdateProfileContextCopyright © 2016 JBoss by Red Hat. All rights reserved.