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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearUpdatedFlag()
An optional operation clearing the updated flag.String
getId()
boolean
hasClientInitialAccess()
boolean
isUpdated()
Flag signalizing that any of the setters has been meaningfully used.void
removeExpiredClientInitialAccesses()
void
setId(String id)
-
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, getAuthenticationExecution, getAuthenticationExecutions, getAuthenticationFlow, getAuthenticationFlows, getAuthenticatorConfig, getAuthenticatorConfigs, getBrowserFlow, getBrowserSecurityHeaders, getClientAuthenticationFlow, getClientInitialAccess, getClientInitialAccesses, getClientOfflineSessionIdleTimeout, getClientOfflineSessionMaxLifespan, getClientSessionIdleTimeout, getClientSessionMaxLifespan, getComponent, getComponents, getDefaultClientScopeIds, getDefaultGroupIds, getDefaultLocale, getDefaultRoleId, getDirectGrantFlow, getDisplayName, getDisplayNameHtml, getDockerAuthenticationFlow, getEmailTheme, getEnabledEventTypes, getEventsExpiration, getEventsListeners, getIdentityProviderMapper, getIdentityProviderMappers, getIdentityProviders, getLocalizationText, getLocalizationTexts, getLoginTheme, getMasterAdminClient, getName, getNotBefore, getOfflineSessionIdleTimeout, getOfflineSessionMaxLifespan, getOptionalClientScopeIds, getOTPPolicy, getPasswordPolicy, getRefreshTokenMaxReuse, getRegistrationFlow, getRequiredActionProvider, 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, removeAuthenticationExecution, removeAuthenticationFlow, removeAuthenticatorConfig, removeClientInitialAccess, removeComponent, removeDefaultClientScopeId, removeDefaultGroupId, removeIdentityProvider, removeIdentityProviderMapper, removeLocalizationText, removeOptionalClientScopeId, removeRequiredActionProvider, 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
-
removeExpiredClientInitialAccesses
public void removeExpiredClientInitialAccesses()
- Specified by:
removeExpiredClientInitialAccesses
in interfaceMapRealmEntity
-
hasClientInitialAccess
public boolean hasClientInitialAccess()
- Specified by:
hasClientInitialAccess
in interfaceMapRealmEntity
-
-