Class HotRodUserEntity.AbstractHotRodUserEntityDelegate
- java.lang.Object
-
- org.keycloak.models.map.storage.hotRod.common.UpdatableHotRodEntityDelegateImpl<HotRodUserEntity>
-
- org.keycloak.models.map.storage.hotRod.user.HotRodUserEntity.AbstractHotRodUserEntityDelegate
-
- All Implemented Interfaces:
AbstractEntity
,EntityWithAttributes
,UpdatableEntity
,HotRodEntityDelegate<HotRodUserEntity>
,MapUserEntity
- Direct Known Subclasses:
HotRodUserEntityDelegate
- Enclosing class:
- HotRodUserEntity
public abstract static class HotRodUserEntity.AbstractHotRodUserEntityDelegate extends UpdatableHotRodEntityDelegateImpl<HotRodUserEntity> 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
-
-
Constructor Summary
Constructors Constructor Description AbstractHotRodUserEntityDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearUpdatedFlag()
An optional operation clearing the updated flag.String
getId()
boolean
isUpdated()
Flag signalizing that any of the setters has been meaningfully used.Boolean
moveCredential(String credentialId, String newPreviousCredentialId)
void
setEmail(String email, boolean duplicateEmailsAllowed)
void
setId(String id)
void
setUsername(String username)
-
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.storage.hotRod.common.HotRodEntityDelegate
getHotRodEntity
-
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
-
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceAbstractEntity
-
setId
public void setId(String id)
- Specified by:
setId
in interfaceAbstractEntity
-
setEmail
public void setEmail(String email, boolean duplicateEmailsAllowed)
- Specified by:
setEmail
in interfaceMapUserEntity
-
setUsername
public void setUsername(String username)
- Specified by:
setUsername
in interfaceMapUserEntity
-
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 classUpdatableHotRodEntityDelegateImpl<HotRodUserEntity>
- 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 classUpdatableHotRodEntityDelegateImpl<HotRodUserEntity>
-
moveCredential
public Boolean moveCredential(String credentialId, String newPreviousCredentialId)
- Specified by:
moveCredential
in interfaceMapUserEntity
-
-