Package org.keycloak.models.map.user
Class MapUserEntityDelegate
- java.lang.Object
-
- org.keycloak.models.map.user.MapUserEntityDelegate
-
- All Implemented Interfaces:
AbstractEntity,HasDelegateProvider<MapUserEntity>,EntityWithAttributes,UpdatableEntity,MapUserEntity
@Generated("org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor") public class MapUserEntityDelegate extends Object implements MapUserEntity, HasDelegateProvider<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 MapUserEntityDelegate(DelegateProvider<MapUserEntity> delegateProvider)
-
Method Summary
-
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
-
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag
-
-
-
-
Constructor Detail
-
MapUserEntityDelegate
public MapUserEntityDelegate(DelegateProvider<MapUserEntity> delegateProvider)
-
-
Method Detail
-
getDelegateProvider
public DelegateProvider<MapUserEntity> getDelegateProvider()
- Specified by:
getDelegateProviderin interfaceHasDelegateProvider<MapUserEntity>
-
getAttributes
public Map<String,List<String>> getAttributes()
- Specified by:
getAttributesin interfaceEntityWithAttributes
-
setAttributes
public void setAttributes(Map<String,List<String>> attributes)
- Specified by:
setAttributesin interfaceEntityWithAttributes
-
getAttribute
public List<String> getAttribute(String name)
- Specified by:
getAttributein interfaceEntityWithAttributes
-
setAttribute
public void setAttribute(String name, List<String> value)
- Specified by:
setAttributein interfaceEntityWithAttributes
-
removeAttribute
public void removeAttribute(String name)
- Specified by:
removeAttributein interfaceEntityWithAttributes
-
isUpdated
public boolean isUpdated()
Description copied from interface:UpdatableEntityFlag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdatedin interfaceUpdatableEntity- Returns:
-
getId
public String getId()
- Specified by:
getIdin interfaceAbstractEntity
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceAbstractEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmIdin interfaceMapUserEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmIdin interfaceMapUserEntity
-
getUsername
public String getUsername()
- Specified by:
getUsernamein interfaceMapUserEntity
-
setUsername
public void setUsername(String username)
- Specified by:
setUsernamein interfaceMapUserEntity
-
getFirstName
public String getFirstName()
- Specified by:
getFirstNamein interfaceMapUserEntity
-
setFirstName
public void setFirstName(String firstName)
- Specified by:
setFirstNamein interfaceMapUserEntity
-
getCreatedTimestamp
public Long getCreatedTimestamp()
- Specified by:
getCreatedTimestampin interfaceMapUserEntity
-
setCreatedTimestamp
public void setCreatedTimestamp(Long createdTimestamp)
- Specified by:
setCreatedTimestampin interfaceMapUserEntity
-
getLastName
public String getLastName()
- Specified by:
getLastNamein interfaceMapUserEntity
-
setLastName
public void setLastName(String lastName)
- Specified by:
setLastNamein interfaceMapUserEntity
-
getEmail
public String getEmail()
- Specified by:
getEmailin interfaceMapUserEntity
-
setEmail
public void setEmail(String email)
- Specified by:
setEmailin interfaceMapUserEntity
-
setEmail
public void setEmail(String email, boolean duplicateEmailsAllowed)
- Specified by:
setEmailin interfaceMapUserEntity
-
isEnabled
public Boolean isEnabled()
- Specified by:
isEnabledin interfaceMapUserEntity
-
setEnabled
public void setEnabled(Boolean enabled)
- Specified by:
setEnabledin interfaceMapUserEntity
-
isEmailVerified
public Boolean isEmailVerified()
- Specified by:
isEmailVerifiedin interfaceMapUserEntity
-
setEmailVerified
public void setEmailVerified(Boolean emailVerified)
- Specified by:
setEmailVerifiedin interfaceMapUserEntity
-
getEmailConstraint
public String getEmailConstraint()
- Specified by:
getEmailConstraintin interfaceMapUserEntity
-
setEmailConstraint
public void setEmailConstraint(String emailConstraint)
- Specified by:
setEmailConstraintin interfaceMapUserEntity
-
getRequiredActions
public Set<String> getRequiredActions()
- Specified by:
getRequiredActionsin interfaceMapUserEntity
-
setRequiredActions
public void setRequiredActions(Set<String> requiredActions)
- Specified by:
setRequiredActionsin interfaceMapUserEntity
-
addRequiredAction
public void addRequiredAction(String requiredAction)
- Specified by:
addRequiredActionin interfaceMapUserEntity
-
removeRequiredAction
public void removeRequiredAction(String requiredAction)
- Specified by:
removeRequiredActionin interfaceMapUserEntity
-
getCredentials
public List<MapUserCredentialEntity> getCredentials()
- Specified by:
getCredentialsin interfaceMapUserEntity
-
getCredential
public Optional<MapUserCredentialEntity> getCredential(String id)
- Specified by:
getCredentialin interfaceMapUserEntity
-
setCredentials
public void setCredentials(List<MapUserCredentialEntity> credentials)
- Specified by:
setCredentialsin interfaceMapUserEntity
-
addCredential
public void addCredential(MapUserCredentialEntity credentialEntity)
- Specified by:
addCredentialin interfaceMapUserEntity
-
removeCredential
public Boolean removeCredential(MapUserCredentialEntity credentialEntity)
- Specified by:
removeCredentialin interfaceMapUserEntity
-
removeCredential
public Boolean removeCredential(String id)
- Specified by:
removeCredentialin interfaceMapUserEntity
-
moveCredential
public Boolean moveCredential(String credentialId, String newPreviousCredentialId)
- Specified by:
moveCredentialin interfaceMapUserEntity
-
getFederatedIdentities
public Set<MapUserFederatedIdentityEntity> getFederatedIdentities()
- Specified by:
getFederatedIdentitiesin interfaceMapUserEntity
-
getFederatedIdentity
public Optional<MapUserFederatedIdentityEntity> getFederatedIdentity(String identityProviderId)
- Specified by:
getFederatedIdentityin interfaceMapUserEntity
-
setFederatedIdentities
public void setFederatedIdentities(Set<MapUserFederatedIdentityEntity> federatedIdentities)
- Specified by:
setFederatedIdentitiesin interfaceMapUserEntity
-
addFederatedIdentity
public void addFederatedIdentity(MapUserFederatedIdentityEntity federatedIdentity)
- Specified by:
addFederatedIdentityin interfaceMapUserEntity
-
removeFederatedIdentity
public Boolean removeFederatedIdentity(MapUserFederatedIdentityEntity providerId)
- Specified by:
removeFederatedIdentityin interfaceMapUserEntity
-
removeFederatedIdentity
public Boolean removeFederatedIdentity(String identityProviderId)
- Specified by:
removeFederatedIdentityin interfaceMapUserEntity
-
getUserConsents
public Set<MapUserConsentEntity> getUserConsents()
- Specified by:
getUserConsentsin interfaceMapUserEntity
-
getUserConsent
public Optional<MapUserConsentEntity> getUserConsent(String clientId)
- Specified by:
getUserConsentin interfaceMapUserEntity
-
setUserConsents
public void setUserConsents(Set<MapUserConsentEntity> userConsentEntity)
- Specified by:
setUserConsentsin interfaceMapUserEntity
-
addUserConsent
public void addUserConsent(MapUserConsentEntity userConsentEntity)
- Specified by:
addUserConsentin interfaceMapUserEntity
-
removeUserConsent
public Boolean removeUserConsent(MapUserConsentEntity userConsentEntity)
- Specified by:
removeUserConsentin interfaceMapUserEntity
-
removeUserConsent
public Boolean removeUserConsent(String clientId)
- Specified by:
removeUserConsentin interfaceMapUserEntity
-
getGroupsMembership
public Set<String> getGroupsMembership()
- Specified by:
getGroupsMembershipin interfaceMapUserEntity
-
setGroupsMembership
public void setGroupsMembership(Set<String> groupsMembership)
- Specified by:
setGroupsMembershipin interfaceMapUserEntity
-
addGroupsMembership
public void addGroupsMembership(String groupId)
- Specified by:
addGroupsMembershipin interfaceMapUserEntity
-
removeGroupsMembership
public void removeGroupsMembership(String groupId)
- Specified by:
removeGroupsMembershipin interfaceMapUserEntity
-
getRolesMembership
public Set<String> getRolesMembership()
- Specified by:
getRolesMembershipin interfaceMapUserEntity
-
setRolesMembership
public void setRolesMembership(Set<String> rolesMembership)
- Specified by:
setRolesMembershipin interfaceMapUserEntity
-
addRolesMembership
public void addRolesMembership(String roleId)
- Specified by:
addRolesMembershipin interfaceMapUserEntity
-
removeRolesMembership
public void removeRolesMembership(String roleId)
- Specified by:
removeRolesMembershipin interfaceMapUserEntity
-
getFederationLink
public String getFederationLink()
- Specified by:
getFederationLinkin interfaceMapUserEntity
-
setFederationLink
public void setFederationLink(String federationLink)
- Specified by:
setFederationLinkin interfaceMapUserEntity
-
getServiceAccountClientLink
public String getServiceAccountClientLink()
- Specified by:
getServiceAccountClientLinkin interfaceMapUserEntity
-
setServiceAccountClientLink
public void setServiceAccountClientLink(String serviceAccountClientLink)
- Specified by:
setServiceAccountClientLinkin interfaceMapUserEntity
-
getNotBefore
public Long getNotBefore()
- Specified by:
getNotBeforein interfaceMapUserEntity
-
setNotBefore
public void setNotBefore(Long notBefore)
- Specified by:
setNotBeforein interfaceMapUserEntity
-
-