Package org.keycloak.models.map.user
Class MapUserEntityImpl.Empty
java.lang.Object
org.keycloak.models.map.common.UpdatableEntity.Impl
org.keycloak.models.map.user.MapUserEntity.AbstractUserEntity
org.keycloak.models.map.user.MapUserEntityImpl.Empty
- All Implemented Interfaces:
AbstractEntity
,EntityWithAttributes
,UpdatableEntity
,MapUserEntity
- Enclosing class:
- MapUserEntityImpl
public static class MapUserEntityImpl.Empty
extends MapUserEntity.AbstractUserEntity
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
addCredential
(MapUserCredentialEntity credentialEntity) void
addFederatedIdentity
(MapUserFederatedIdentityEntity federatedIdentity) void
addGroupsMembership
(String groupId) void
addRequiredAction
(String requiredAction) void
addRolesMembership
(String roleId) void
addUserConsent
(MapUserConsentEntity userConsentEntity) getAttribute
(String name) getCredential
(String id) getEmail()
getFederatedIdentity
(String identityProviderId) getId()
getUserConsent
(String clientId) boolean
Flag signalizing that any of the setters has been meaningfully used.void
removeAttribute
(String name) removeCredential
(MapUserCredentialEntity credentialEntity) removeFederatedIdentity
(String identityProviderId) void
removeGroupsMembership
(String groupId) void
removeRequiredAction
(String requiredAction) void
removeRolesMembership
(String roleId) removeUserConsent
(String clientId) removeUserConsent
(MapUserConsentEntity userConsentEntity) void
setAttribute
(String name, List<String> value) void
setAttributes
(Map<String, List<String>> attributes) void
setCreatedTimestamp
(Long createdTimestamp) void
setCredentials
(List<MapUserCredentialEntity> credentials) void
void
setEmailConstraint
(String emailConstraint) void
setEmailVerified
(Boolean emailVerified) void
setEnabled
(Boolean enabled) void
setFederatedIdentities
(Set<MapUserFederatedIdentityEntity> federatedIdentities) void
setFederationLink
(String federationLink) void
setFirstName
(String firstName) void
setGroupsMembership
(Set<String> groupsMembership) void
void
setLastName
(String lastName) void
setNotBefore
(Long notBefore) void
setRealmId
(String realmId) void
setRequiredActions
(Set<String> requiredActions) void
setRolesMembership
(Set<String> rolesMembership) void
setServiceAccountClientLink
(String serviceAccountClientLink) void
setUserConsents
(Set<MapUserConsentEntity> userConsentEntity) void
setUsername
(String username) Methods inherited from class org.keycloak.models.map.user.MapUserEntity.AbstractUserEntity
clearUpdatedFlag, moveCredential, setEmail
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.user.MapUserEntity
credentialManager, moveCredential, setEmail
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag, markUpdatedFlag
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Empty
public Empty()
-
-
Method Details
-
setId
- Specified by:
setId
in interfaceAbstractEntity
- Overrides:
setId
in classMapUserEntity.AbstractUserEntity
-
getId
- Specified by:
getId
in interfaceAbstractEntity
- Overrides:
getId
in classMapUserEntity.AbstractUserEntity
-
removeAttribute
- Specified by:
removeAttribute
in interfaceEntityWithAttributes
-
setAttribute
- Specified by:
setAttribute
in interfaceEntityWithAttributes
-
setAttributes
- Specified by:
setAttributes
in interfaceEntityWithAttributes
-
getAttribute
- Specified by:
getAttribute
in interfaceEntityWithAttributes
-
getAttributes
- Specified by:
getAttributes
in interfaceEntityWithAttributes
-
setCreatedTimestamp
- Specified by:
setCreatedTimestamp
in interfaceMapUserEntity
-
getCreatedTimestamp
- Specified by:
getCreatedTimestamp
in interfaceMapUserEntity
-
getCredentials
- Specified by:
getCredentials
in interfaceMapUserEntity
-
setCredentials
- Specified by:
setCredentials
in interfaceMapUserEntity
-
removeCredential
- Specified by:
removeCredential
in interfaceMapUserEntity
-
addCredential
- Specified by:
addCredential
in interfaceMapUserEntity
-
removeCredential
- Specified by:
removeCredential
in interfaceMapUserEntity
-
getCredential
- Specified by:
getCredential
in interfaceMapUserEntity
-
setEmail
- Specified by:
setEmail
in interfaceMapUserEntity
-
getEmail
- Specified by:
getEmail
in interfaceMapUserEntity
-
setEmailConstraint
- Specified by:
setEmailConstraint
in interfaceMapUserEntity
-
getEmailConstraint
- Specified by:
getEmailConstraint
in interfaceMapUserEntity
-
isEmailVerified
- Specified by:
isEmailVerified
in interfaceMapUserEntity
-
setEmailVerified
- Specified by:
setEmailVerified
in interfaceMapUserEntity
-
isEnabled
- Specified by:
isEnabled
in interfaceMapUserEntity
-
setEnabled
- Specified by:
setEnabled
in interfaceMapUserEntity
-
getFederatedIdentities
- Specified by:
getFederatedIdentities
in interfaceMapUserEntity
-
getFederatedIdentity
- Specified by:
getFederatedIdentity
in interfaceMapUserEntity
-
removeFederatedIdentity
- Specified by:
removeFederatedIdentity
in interfaceMapUserEntity
-
removeFederatedIdentity
- Specified by:
removeFederatedIdentity
in interfaceMapUserEntity
-
setFederatedIdentities
- Specified by:
setFederatedIdentities
in interfaceMapUserEntity
-
addFederatedIdentity
- Specified by:
addFederatedIdentity
in interfaceMapUserEntity
-
getFederationLink
- Specified by:
getFederationLink
in interfaceMapUserEntity
-
setFederationLink
- Specified by:
setFederationLink
in interfaceMapUserEntity
-
getFirstName
- Specified by:
getFirstName
in interfaceMapUserEntity
-
setFirstName
- Specified by:
setFirstName
in interfaceMapUserEntity
-
getGroupsMembership
- Specified by:
getGroupsMembership
in interfaceMapUserEntity
-
addGroupsMembership
- Specified by:
addGroupsMembership
in interfaceMapUserEntity
-
removeGroupsMembership
- Specified by:
removeGroupsMembership
in interfaceMapUserEntity
-
setGroupsMembership
- Specified by:
setGroupsMembership
in interfaceMapUserEntity
-
getLastName
- Specified by:
getLastName
in interfaceMapUserEntity
-
setLastName
- Specified by:
setLastName
in interfaceMapUserEntity
-
setNotBefore
- Specified by:
setNotBefore
in interfaceMapUserEntity
-
getNotBefore
- Specified by:
getNotBefore
in interfaceMapUserEntity
-
getRealmId
- Specified by:
getRealmId
in interfaceMapUserEntity
-
setRealmId
- Specified by:
setRealmId
in interfaceMapUserEntity
-
removeRequiredAction
- Specified by:
removeRequiredAction
in interfaceMapUserEntity
-
addRequiredAction
- Specified by:
addRequiredAction
in interfaceMapUserEntity
-
setRequiredActions
- Specified by:
setRequiredActions
in interfaceMapUserEntity
-
getRequiredActions
- Specified by:
getRequiredActions
in interfaceMapUserEntity
-
getRolesMembership
- Specified by:
getRolesMembership
in interfaceMapUserEntity
-
removeRolesMembership
- Specified by:
removeRolesMembership
in interfaceMapUserEntity
-
setRolesMembership
- Specified by:
setRolesMembership
in interfaceMapUserEntity
-
addRolesMembership
- Specified by:
addRolesMembership
in interfaceMapUserEntity
-
setServiceAccountClientLink
- Specified by:
setServiceAccountClientLink
in interfaceMapUserEntity
-
getServiceAccountClientLink
- Specified by:
getServiceAccountClientLink
in interfaceMapUserEntity
-
addUserConsent
- Specified by:
addUserConsent
in interfaceMapUserEntity
-
removeUserConsent
- Specified by:
removeUserConsent
in interfaceMapUserEntity
-
getUserConsents
- Specified by:
getUserConsents
in interfaceMapUserEntity
-
removeUserConsent
- Specified by:
removeUserConsent
in interfaceMapUserEntity
-
setUserConsents
- Specified by:
setUserConsents
in interfaceMapUserEntity
-
getUserConsent
- Specified by:
getUserConsent
in interfaceMapUserEntity
-
setUsername
- Specified by:
setUsername
in interfaceMapUserEntity
-
getUsername
- Specified by:
getUsername
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 classMapUserEntity.AbstractUserEntity
- Returns:
-