Class JpaDelegateProvider<T extends JpaRootEntity & AbstractEntity>
- java.lang.Object
- 
- org.keycloak.models.map.storage.jpa.JpaDelegateProvider<T>
 
- 
- Direct Known Subclasses:
- JpaClientDelegateProvider,- JpaClientScopeDelegateProvider,- JpaGroupDelegateProvider,- JpaLockDelegateProvider,- JpaPermissionDelegateProvider,- JpaPolicyDelegateProvider,- JpaRealmDelegateProvider,- JpaResourceDelegateProvider,- JpaResourceServerDelegateProvider,- JpaRoleDelegateProvider,- JpaRootAuthenticationSessionDelegateProvider,- JpaScopeDelegateProvider,- JpaUserDelegateProvider,- JpaUserLoginFailureDelegateProvider
 
 public abstract class JpaDelegateProvider<T extends JpaRootEntity & AbstractEntity> extends Object Base class for all delegate providers for the JPA storage. Wraps the delegate so that it can be safely updated during lazy loading.
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedJpaDelegateProvider(T delegate)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TgetDelegate()protected voidsetDelegate(T newDelegate)Validates the new entity.
 
- 
- 
- 
Constructor Detail- 
JpaDelegateProviderprotected JpaDelegateProvider(T delegate) 
 
- 
 - 
Method Detail- 
getDelegateprotected T getDelegate() 
 - 
setDelegateprotected void setDelegate(T newDelegate) Validates the new entity. Will throwModelIllegalStateExceptionif the entity has been deleted or changed in the meantime.
 
- 
 
-