public interface CachedUserModel extends UserModel
UserModel.RequiredAction, UserModel.UserRemovedEvent
EMAIL, FIRST_NAME, GROUPS, INCLUDE_SERVICE_ACCOUNT, LAST_NAME, LOCALE, USERNAME
Modifier and Type | Method and Description |
---|---|
ConcurrentMap |
getCachedWith()
Returns a map that contains custom things that are cached along with this model.
|
long |
getCacheTimestamp()
When was the model was loaded from database.
|
UserModel |
getDelegateForUpdate()
Invalidates the cache for this user and returns a delegate that represents the actual data provider
|
void |
invalidate()
Invalidate the cache for this model
|
boolean |
isMarkedForEviction() |
addRequiredAction, addRequiredAction, getAttribute, getAttributes, getCreatedTimestamp, getEmail, getFederationLink, getFirstAttribute, getFirstName, getGroups, getGroups, getGroups, getGroupsCount, getGroupsCountByNameContaining, getId, getLastName, getRequiredActions, getServiceAccountClientLink, getUsername, isEmailVerified, isEnabled, isMemberOf, joinGroup, leaveGroup, removeAttribute, removeRequiredAction, removeRequiredAction, setAttribute, setCreatedTimestamp, setEmail, setEmailVerified, setEnabled, setFederationLink, setFirstName, setLastName, setServiceAccountClientLink, setSingleAttribute, setUsername
deleteRoleMapping, getClientRoleMappings, getRealmRoleMappings, getRoleMappings, grantRole, hasRole
UserModel getDelegateForUpdate()
boolean isMarkedForEviction()
void invalidate()
long getCacheTimestamp()
ConcurrentMap getCachedWith()
Copyright © 2019 JBoss by Red Hat. All rights reserved.