Package org.keycloak.models.map.realm
Class MapRealmEntity.AbstractRealmEntity
- java.lang.Object
-
- org.keycloak.models.map.common.UpdatableEntity.Impl
-
- org.keycloak.models.map.realm.MapRealmEntity.AbstractRealmEntity
-
- All Implemented Interfaces:
AbstractEntity,EntityWithAttributes,UpdatableEntity,MapRealmEntity
- Direct Known Subclasses:
MapRealmEntityFieldDelegate,MapRealmEntityImpl,MapRealmEntityImpl.Empty
- Enclosing interface:
- MapRealmEntity
public abstract static class MapRealmEntity.AbstractRealmEntity extends UpdatableEntity.Impl implements MapRealmEntity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.realm.MapRealmEntity
MapRealmEntity.AbstractRealmEntity
-
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
Constructors Constructor Description AbstractRealmEntity()
-
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.common.EntityWithAttributes
getAttribute, getAttributes, removeAttribute, setAttribute, setAttributes
-
Methods inherited from interface org.keycloak.models.map.realm.MapRealmEntity
addAuthenticationExecution, addAuthenticationFlow, addAuthenticatorConfig, addClientInitialAccess, addComponent, addDefaultClientScopeId, addDefaultGroupId, addIdentityProvider, addIdentityProviderMapper, addOptionalClientScopeId, addRequiredActionProvider, addRequiredCredential, getAccessCodeLifespan, getAccessCodeLifespanLogin, getAccessCodeLifespanUserAction, getAccessTokenLifespan, getAccessTokenLifespanForImplicitFlow, getAccountTheme, getActionTokenGeneratedByAdminLifespan, getAdminTheme, getAuthenticationExecutions, getAuthenticationFlows, getAuthenticatorConfigs, getBrowserFlow, getBrowserSecurityHeaders, getClientAuthenticationFlow, getClientInitialAccesses, getClientOfflineSessionIdleTimeout, getClientOfflineSessionMaxLifespan, getClientSessionIdleTimeout, getClientSessionMaxLifespan, getComponents, getDefaultClientScopeIds, getDefaultGroupIds, getDefaultLocale, getDefaultRoleId, getDirectGrantFlow, getDisplayName, getDisplayNameHtml, getDockerAuthenticationFlow, getEmailTheme, getEnabledEventTypes, getEventsExpiration, getEventsListeners, getIdentityProviderMappers, getIdentityProviders, getLocalizationText, getLocalizationTexts, getLoginTheme, getMasterAdminClient, getName, getNotBefore, getOfflineSessionIdleTimeout, getOfflineSessionMaxLifespan, getOptionalClientScopeIds, getOTPPolicy, getPasswordPolicy, getRefreshTokenMaxReuse, getRegistrationFlow, getRequiredActionProviders, getRequiredCredentials, getResetCredentialsFlow, getSmtpConfig, getSslRequired, getSsoSessionIdleTimeout, getSsoSessionIdleTimeoutRememberMe, getSsoSessionMaxLifespan, getSsoSessionMaxLifespanRememberMe, getSupportedLocales, getWebAuthnPolicy, getWebAuthnPolicyPasswordless, isAdminEventsDetailsEnabled, isAdminEventsEnabled, isAllowUserManagedAccess, isDuplicateEmailsAllowed, isEditUsernameAllowed, isEnabled, isEventsEnabled, isInternationalizationEnabled, isLoginWithEmailAllowed, isOfflineSessionMaxLifespanEnabled, isRegistrationAllowed, isRegistrationEmailAsUsername, isRememberMe, isResetPasswordAllowed, isRevokeRefreshToken, isVerifyEmail, removeDefaultClientScopeId, removeDefaultGroupId, removeLocalizationText, removeOptionalClientScopeId, setAccessCodeLifespan, setAccessCodeLifespanLogin, setAccessCodeLifespanUserAction, setAccessTokenLifespan, setAccessTokenLifespanForImplicitFlow, setAccountTheme, setActionTokenGeneratedByAdminLifespan, setAdminEventsDetailsEnabled, setAdminEventsEnabled, setAdminTheme, setAllowUserManagedAccess, setBrowserFlow, setBrowserSecurityHeader, setBrowserSecurityHeaders, setClientAuthenticationFlow, setClientOfflineSessionIdleTimeout, setClientOfflineSessionMaxLifespan, setClientSessionIdleTimeout, setClientSessionMaxLifespan, setDefaultLocale, setDefaultRoleId, setDirectGrantFlow, setDisplayName, setDisplayNameHtml, setDockerAuthenticationFlow, setDuplicateEmailsAllowed, setEditUsernameAllowed, setEmailTheme, setEnabled, setEnabledEventTypes, setEventsEnabled, setEventsExpiration, setEventsListeners, setInternationalizationEnabled, setLocalizationText, setLoginTheme, setLoginWithEmailAllowed, setMasterAdminClient, setName, setNotBefore, setOfflineSessionIdleTimeout, setOfflineSessionMaxLifespan, setOfflineSessionMaxLifespanEnabled, setOTPPolicy, setPasswordPolicy, setRefreshTokenMaxReuse, setRegistrationAllowed, setRegistrationEmailAsUsername, setRegistrationFlow, setRememberMe, setResetCredentialsFlow, setResetPasswordAllowed, setRevokeRefreshToken, setSmtpConfig, setSslRequired, setSsoSessionIdleTimeout, setSsoSessionIdleTimeoutRememberMe, setSsoSessionMaxLifespan, setSsoSessionMaxLifespanRememberMe, setSupportedLocales, setVerifyEmail, setWebAuthnPolicy, setWebAuthnPolicyPasswordless
-
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceAbstractEntity
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceAbstractEntity
-
isUpdated
public boolean isUpdated()
Description copied from interface:UpdatableEntityFlag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdatedin interfaceUpdatableEntity- Overrides:
isUpdatedin classUpdatableEntity.Impl- Returns:
-
clearUpdatedFlag
public void clearUpdatedFlag()
Description copied from interface:UpdatableEntityAn optional operation clearing the updated flag. Right after using this method, theUpdatableEntity.isUpdated()would returnfalse.- Specified by:
clearUpdatedFlagin interfaceUpdatableEntity- Overrides:
clearUpdatedFlagin classUpdatableEntity.Impl
-
getComponent
public Optional<MapComponentEntity> getComponent(String componentId)
- Specified by:
getComponentin interfaceMapRealmEntity
-
removeComponent
public Boolean removeComponent(String componentId)
- Specified by:
removeComponentin interfaceMapRealmEntity
-
getAuthenticationFlow
public Optional<MapAuthenticationFlowEntity> getAuthenticationFlow(String flowId)
- Specified by:
getAuthenticationFlowin interfaceMapRealmEntity
-
removeAuthenticationFlow
public Boolean removeAuthenticationFlow(String flowId)
- Specified by:
removeAuthenticationFlowin interfaceMapRealmEntity
-
getAuthenticationExecution
public Optional<MapAuthenticationExecutionEntity> getAuthenticationExecution(String executionId)
- Specified by:
getAuthenticationExecutionin interfaceMapRealmEntity
-
removeAuthenticationExecution
public Boolean removeAuthenticationExecution(String executionId)
- Specified by:
removeAuthenticationExecutionin interfaceMapRealmEntity
-
getAuthenticatorConfig
public Optional<MapAuthenticatorConfigEntity> getAuthenticatorConfig(String authenticatorConfigId)
- Specified by:
getAuthenticatorConfigin interfaceMapRealmEntity
-
removeAuthenticatorConfig
public Boolean removeAuthenticatorConfig(String authenticatorConfigId)
- Specified by:
removeAuthenticatorConfigin interfaceMapRealmEntity
-
getRequiredActionProvider
public Optional<MapRequiredActionProviderEntity> getRequiredActionProvider(String requiredActionProviderId)
- Specified by:
getRequiredActionProviderin interfaceMapRealmEntity
-
removeRequiredActionProvider
public Boolean removeRequiredActionProvider(String requiredActionProviderId)
- Specified by:
removeRequiredActionProviderin interfaceMapRealmEntity
-
removeIdentityProvider
public Boolean removeIdentityProvider(String identityProviderId)
- Specified by:
removeIdentityProviderin interfaceMapRealmEntity
-
getIdentityProviderMapper
public Optional<MapIdentityProviderMapperEntity> getIdentityProviderMapper(String identityProviderMapperId)
- Specified by:
getIdentityProviderMapperin interfaceMapRealmEntity
-
removeIdentityProviderMapper
public Boolean removeIdentityProviderMapper(String identityProviderMapperId)
- Specified by:
removeIdentityProviderMapperin interfaceMapRealmEntity
-
getClientInitialAccess
public Optional<MapClientInitialAccessEntity> getClientInitialAccess(String clientInitialAccessId)
- Specified by:
getClientInitialAccessin interfaceMapRealmEntity
-
removeClientInitialAccess
public Boolean removeClientInitialAccess(String clientInitialAccessId)
- Specified by:
removeClientInitialAccessin interfaceMapRealmEntity
-
removeExpiredClientInitialAccesses
public void removeExpiredClientInitialAccesses()
- Specified by:
removeExpiredClientInitialAccessesin interfaceMapRealmEntity
-
hasClientInitialAccess
public boolean hasClientInitialAccess()
- Specified by:
hasClientInitialAccessin interfaceMapRealmEntity
-
-