Package org.keycloak.models.map.common
Class UpdatableEntity.Impl
java.lang.Object
org.keycloak.models.map.common.UpdatableEntity.Impl
- All Implemented Interfaces:
UpdatableEntity
- Direct Known Subclasses:
JpaAuthenticationSessionEntity
,JpaComponentEntity
,JpaUserConsentEntity
,JpaUserFederatedIdentityEntity
,LdapRoleEntity
,MapAdminEventEntity.AbstractAdminEventEntity
,MapAuthenticatedClientSessionEntity.AbstractAuthenticatedClientSessionEntity
,MapAuthenticationExecutionEntityFieldDelegate
,MapAuthenticationExecutionEntityImpl
,MapAuthenticationExecutionEntityImpl.Empty
,MapAuthenticationFlowEntityFieldDelegate
,MapAuthenticationFlowEntityImpl
,MapAuthenticationFlowEntityImpl.Empty
,MapAuthenticationSessionEntityFieldDelegate
,MapAuthenticationSessionEntityImpl
,MapAuthenticationSessionEntityImpl.Empty
,MapAuthenticatorConfigEntityFieldDelegate
,MapAuthenticatorConfigEntityImpl
,MapAuthenticatorConfigEntityImpl.Empty
,MapAuthEventEntity.AbstractAuthEventEntity
,MapClientEntity.AbstractClientEntity
,MapClientInitialAccessEntityFieldDelegate
,MapClientInitialAccessEntityImpl
,MapClientInitialAccessEntityImpl.Empty
,MapClientScopeEntity.AbstractClientScopeEntity
,MapComponentEntityFieldDelegate
,MapComponentEntityImpl
,MapComponentEntityImpl.Empty
,MapGroupEntity.AbstractGroupEntity
,MapIdentityProviderEntityFieldDelegate
,MapIdentityProviderEntityImpl
,MapIdentityProviderEntityImpl.Empty
,MapIdentityProviderMapperEntityFieldDelegate
,MapIdentityProviderMapperEntityImpl
,MapIdentityProviderMapperEntityImpl.Empty
,MapLockEntity.AbstractLockEntity
,MapOTPPolicyEntityFieldDelegate
,MapOTPPolicyEntityImpl
,MapOTPPolicyEntityImpl.Empty
,MapPermissionTicketEntity.AbstractMapPermissionTicketEntity
,MapPolicyEntity.AbstractMapPolicyEntity
,MapProtocolMapperEntityFieldDelegate
,MapProtocolMapperEntityImpl
,MapProtocolMapperEntityImpl.Empty
,MapRealmEntity.AbstractRealmEntity
,MapRequiredActionProviderEntityFieldDelegate
,MapRequiredActionProviderEntityImpl
,MapRequiredActionProviderEntityImpl.Empty
,MapRequiredCredentialEntityFieldDelegate
,MapRequiredCredentialEntityImpl
,MapRequiredCredentialEntityImpl.Empty
,MapResourceEntity.AbstractMapResourceEntity
,MapResourceServerEntity.AbstractMapResourceServerEntity
,MapRoleEntity.AbstractRoleEntity
,MapRootAuthenticationSessionEntity.AbstractRootAuthenticationSessionEntity
,MapScopeEntity.AbstractMapScopeEntity
,MapSingleUseObjectEntity.AbstractSingleUseObjectEntity
,MapUserConsentEntityFieldDelegate
,MapUserConsentEntityImpl
,MapUserConsentEntityImpl.Empty
,MapUserCredentialEntityFieldDelegate
,MapUserCredentialEntityImpl
,MapUserCredentialEntityImpl.Empty
,MapUserEntity.AbstractUserEntity
,MapUserFederatedIdentityEntityFieldDelegate
,MapUserFederatedIdentityEntityImpl
,MapUserFederatedIdentityEntityImpl.Empty
,MapUserLoginFailureEntity.AbstractUserLoginFailureEntity
,MapUserSessionEntity.AbstractUserSessionEntity
,MapWebAuthnPolicyEntityFieldDelegate
,MapWebAuthnPolicyEntityImpl
,MapWebAuthnPolicyEntityImpl.Empty
- Enclosing interface:
- UpdatableEntity
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
An optional operation clearing the updated flag.boolean
Flag signalizing that any of the setters has been meaningfully used.void
An optional operation setting the updated flag.
-
Field Details
-
updated
protected boolean updated
-
-
Constructor Details
-
Impl
public Impl()
-
-
Method Details
-
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
- 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
-
markUpdatedFlag
public void markUpdatedFlag()Description copied from interface:UpdatableEntity
An optional operation setting the updated flag. Right after using this method, theUpdatableEntity.isUpdated()
would returntrue
.- Specified by:
markUpdatedFlag
in interfaceUpdatableEntity
-