- All Known Implementing Classes:
public interface CachedUserModel extends UserModel
Cached users will implement this interface
- $Revision: 1 $
- Bill Burke
Nested Class Summary
Method SummaryModifier and TypeMethodDescriptionReturns a map that contains custom things that are cached along with this model.
longWhen was the model was loaded from database.Invalidates the cache for this user and returns a delegate that represents the actual data provider
voidInvalidate the cache for this model
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, getEmail, getFederationLink, getFirstAttribute, getFirstName, getGroupsCount, getGroupsCountByNameContaining, getGroupsStream, getGroupsStream, getId, getLastName, getRequiredActionsStream, getServiceAccountClientLink, getUsername, isEmailVerified, isEnabled, isMemberOf, joinGroup, leaveGroup, removeAttribute, removeRequiredAction, removeRequiredAction, setAttribute, setCreatedTimestamp, setEmail, setEmailVerified, setEnabled, setFederationLink, setFirstName, setLastName, setServiceAccountClientLink, setSingleAttribute, setUsername
getDelegateForUpdateUserModel getDelegateForUpdate()Invalidates the cache for this user and returns a delegate that represents the actual data provider
invalidatevoid invalidate()Invalidate the cache for this model
getCacheTimestamplong getCacheTimestamp()When was the model was loaded from database.
getCachedWithConcurrentMap getCachedWith()Returns a map that contains custom things that are cached along with this model. You can write to this map.