Package org.keycloak.models.map.user
Class MapUserEntity.AbstractUserEntity
java.lang.Object
org.keycloak.models.map.common.UpdatableEntity.Impl
org.keycloak.models.map.user.MapUserEntity.AbstractUserEntity
- All Implemented Interfaces:
AbstractEntity
,EntityWithAttributes
,UpdatableEntity
,MapUserEntity
- Direct Known Subclasses:
JpaUserEntity
,MapUserEntityFieldDelegate
,MapUserEntityImpl
,MapUserEntityImpl.Empty
- Enclosing interface:
- MapUserEntity
public abstract static class MapUserEntity.AbstractUserEntity
extends UpdatableEntity.Impl
implements MapUserEntity
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.map.user.MapUserEntity
MapUserEntity.AbstractUserEntity
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
Field Summary
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
An optional operation clearing the updated flag.getId()
boolean
Flag signalizing that any of the setters has been meaningfully used.moveCredential
(String credentialId, String newPreviousCredentialId) void
void
Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
markUpdatedFlag
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.models.map.common.EntityWithAttributes
getAttribute, getAttributes, removeAttribute, setAttribute, setAttributes
Methods inherited from interface org.keycloak.models.map.user.MapUserEntity
addCredential, addFederatedIdentity, addGroupsMembership, addRequiredAction, addRolesMembership, addUserConsent, credentialManager, getCreatedTimestamp, getCredential, getCredentials, getEmail, getEmailConstraint, getFederatedIdentities, getFederatedIdentity, getFederationLink, getFirstName, getGroupsMembership, getLastName, getNotBefore, getRealmId, getRequiredActions, getRolesMembership, getServiceAccountClientLink, getUserConsent, getUserConsents, getUsername, isEmailVerified, isEnabled, removeCredential, removeCredential, removeFederatedIdentity, removeFederatedIdentity, removeGroupsMembership, removeRequiredAction, removeRolesMembership, removeUserConsent, removeUserConsent, setCreatedTimestamp, setCredentials, setEmail, setEmailConstraint, setEmailVerified, setEnabled, setFederatedIdentities, setFederationLink, setFirstName, setGroupsMembership, setLastName, setNotBefore, setRealmId, setRequiredActions, setRolesMembership, setServiceAccountClientLink, setUserConsents, setUsername
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
markUpdatedFlag
-
Constructor Details
-
AbstractUserEntity
public AbstractUserEntity()
-
-
Method Details
-
isUpdated
public boolean isUpdated()Description copied from interface:UpdatableEntity
Flag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdated
in interfaceUpdatableEntity
- Overrides:
isUpdated
in classUpdatableEntity.Impl
- Returns:
-
clearUpdatedFlag
public void clearUpdatedFlag()Description copied from interface:UpdatableEntity
An optional operation clearing the updated flag. Right after using this method, theUpdatableEntity.isUpdated()
would returnfalse
.- Specified by:
clearUpdatedFlag
in interfaceUpdatableEntity
- Overrides:
clearUpdatedFlag
in classUpdatableEntity.Impl
-
getId
- Specified by:
getId
in interfaceAbstractEntity
-
setId
- Specified by:
setId
in interfaceAbstractEntity
-
setEmail
- Specified by:
setEmail
in interfaceMapUserEntity
-
moveCredential
- Specified by:
moveCredential
in interfaceMapUserEntity
-