Class JpaUserDelegateProvider
- java.lang.Object
-
- org.keycloak.models.map.storage.jpa.JpaDelegateProvider<JpaUserEntity>
-
- org.keycloak.models.map.storage.jpa.user.delegate.JpaUserDelegateProvider
-
- All Implemented Interfaces:
DelegateProvider<MapUserEntity>
public class JpaUserDelegateProvider extends JpaDelegateProvider<JpaUserEntity> implements DelegateProvider<MapUserEntity>
ADelegateProviderimplementation forJpaUserEntity.- Author:
- Stefan Guilhen
-
-
Constructor Summary
Constructors Constructor Description JpaUserDelegateProvider(JpaUserEntity delegate, javax.persistence.EntityManager em)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapUserEntitygetDelegate(boolean isRead, Enum<? extends EntityField<MapUserEntity>> field, Object... parameters)Returns a delegate for and entity for an operation on a field.protected voidsetDelegateWithAssociation(String associationName)-
Methods inherited from class org.keycloak.models.map.storage.jpa.JpaDelegateProvider
getDelegate, setDelegate
-
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.delegate.DelegateProvider
isUpdated
-
-
-
-
Constructor Detail
-
JpaUserDelegateProvider
public JpaUserDelegateProvider(JpaUserEntity delegate, javax.persistence.EntityManager em)
-
-
Method Detail
-
getDelegate
public MapUserEntity getDelegate(boolean isRead, Enum<? extends EntityField<MapUserEntity>> field, Object... parameters)
Description copied from interface:DelegateProviderReturns a delegate for and entity for an operation on a field.- Specified by:
getDelegatein interfaceDelegateProvider<MapUserEntity>- Parameters:
isRead-truewhen the delegate requested for a read operation, false otherwisefield- Identification of the field this delegates operates on. While this parameter can be any object includingnull, if it is a known field, then it is guaranteed to be one of theEntityFields enumerated in one of theMap*EntityFieldsenum.- Returns:
-
setDelegateWithAssociation
protected void setDelegateWithAssociation(String associationName)
-
-