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:
JpaRealmEntity
,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:
getId
in interfaceAbstractEntity
-
setId
public void setId(String id)
- Specified by:
setId
in interfaceAbstractEntity
-
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
-
getComponent
public Optional<MapComponentEntity> getComponent(String componentId)
- Specified by:
getComponent
in interfaceMapRealmEntity
-
removeComponent
public Boolean removeComponent(String componentId)
- Specified by:
removeComponent
in interfaceMapRealmEntity
-
getAuthenticationFlow
public Optional<MapAuthenticationFlowEntity> getAuthenticationFlow(String flowId)
- Specified by:
getAuthenticationFlow
in interfaceMapRealmEntity
-
removeAuthenticationFlow
public Boolean removeAuthenticationFlow(String flowId)
- Specified by:
removeAuthenticationFlow
in interfaceMapRealmEntity
-
getAuthenticationExecution
public Optional<MapAuthenticationExecutionEntity> getAuthenticationExecution(String executionId)
- Specified by:
getAuthenticationExecution
in interfaceMapRealmEntity
-
removeAuthenticationExecution
public Boolean removeAuthenticationExecution(String executionId)
- Specified by:
removeAuthenticationExecution
in interfaceMapRealmEntity
-
getAuthenticatorConfig
public Optional<MapAuthenticatorConfigEntity> getAuthenticatorConfig(String authenticatorConfigId)
- Specified by:
getAuthenticatorConfig
in interfaceMapRealmEntity
-
removeAuthenticatorConfig
public Boolean removeAuthenticatorConfig(String authenticatorConfigId)
- Specified by:
removeAuthenticatorConfig
in interfaceMapRealmEntity
-
getRequiredActionProvider
public Optional<MapRequiredActionProviderEntity> getRequiredActionProvider(String requiredActionProviderId)
- Specified by:
getRequiredActionProvider
in interfaceMapRealmEntity
-
removeRequiredActionProvider
public Boolean removeRequiredActionProvider(String requiredActionProviderId)
- Specified by:
removeRequiredActionProvider
in interfaceMapRealmEntity
-
removeIdentityProvider
public Boolean removeIdentityProvider(String identityProviderId)
- Specified by:
removeIdentityProvider
in interfaceMapRealmEntity
-
getIdentityProviderMapper
public Optional<MapIdentityProviderMapperEntity> getIdentityProviderMapper(String identityProviderMapperId)
- Specified by:
getIdentityProviderMapper
in interfaceMapRealmEntity
-
removeIdentityProviderMapper
public Boolean removeIdentityProviderMapper(String identityProviderMapperId)
- Specified by:
removeIdentityProviderMapper
in interfaceMapRealmEntity
-
getClientInitialAccess
public Optional<MapClientInitialAccessEntity> getClientInitialAccess(String clientInitialAccessId)
- Specified by:
getClientInitialAccess
in interfaceMapRealmEntity
-
removeClientInitialAccess
public Boolean removeClientInitialAccess(String clientInitialAccessId)
- Specified by:
removeClientInitialAccess
in interfaceMapRealmEntity
-
removeExpiredClientInitialAccesses
public void removeExpiredClientInitialAccesses()
- Specified by:
removeExpiredClientInitialAccesses
in interfaceMapRealmEntity
-
hasClientInitialAccess
public boolean hasClientInitialAccess()
- Specified by:
hasClientInitialAccess
in interfaceMapRealmEntity
-
-