public interface UserModel extends RoleMapperModel
Modifier and Type | Interface and Description |
---|---|
static class |
UserModel.RequiredAction |
static interface |
UserModel.UserRemovedEvent |
Modifier and Type | Field and Description |
---|---|
static String |
EMAIL |
static String |
FIRST_NAME |
static String |
GROUPS |
static String |
INCLUDE_SERVICE_ACCOUNT |
static String |
LAST_NAME |
static String |
LOCALE |
static String |
USERNAME |
deleteRoleMapping, getClientRoleMappings, getRealmRoleMappings, getRoleMappings, grantRole, hasRole
static final String USERNAME
static final String LAST_NAME
static final String FIRST_NAME
static final String EMAIL
static final String LOCALE
static final String INCLUDE_SERVICE_ACCOUNT
static final String GROUPS
String getId()
String getUsername()
void setUsername(String username)
Long getCreatedTimestamp()
void setCreatedTimestamp(Long timestamp)
boolean isEnabled()
void setEnabled(boolean enabled)
void setSingleAttribute(String name, String value)
name
- value
- void removeAttribute(String name)
String getFirstAttribute(String name)
name
- List<String> getAttribute(String name)
name
- void addRequiredAction(String action)
void removeRequiredAction(String action)
void addRequiredAction(UserModel.RequiredAction action)
void removeRequiredAction(UserModel.RequiredAction action)
String getFirstName()
void setFirstName(String firstName)
String getLastName()
void setLastName(String lastName)
String getEmail()
void setEmail(String email)
boolean isEmailVerified()
void setEmailVerified(boolean verified)
Set<GroupModel> getGroups()
default Set<GroupModel> getGroups(int first, int max)
default Set<GroupModel> getGroups(String search, int first, int max)
default long getGroupsCount()
default long getGroupsCountByNameContaining(String search)
void joinGroup(GroupModel group)
void leaveGroup(GroupModel group)
boolean isMemberOf(GroupModel group)
String getFederationLink()
void setFederationLink(String link)
String getServiceAccountClientLink()
void setServiceAccountClientLink(String clientInternalId)
Copyright © 2019 JBoss by Red Hat. All rights reserved.