Class JpaRealmDelegateProvider
- java.lang.Object
- 
- org.keycloak.models.map.storage.jpa.JpaDelegateProvider<JpaRealmEntity>
- 
- org.keycloak.models.map.storage.jpa.realm.delegate.JpaRealmDelegateProvider
 
 
- 
- All Implemented Interfaces:
- DelegateProvider<MapRealmEntity>
 
 public class JpaRealmDelegateProvider extends JpaDelegateProvider<JpaRealmEntity> implements DelegateProvider<MapRealmEntity> ADelegateProviderimplementation forJpaRealmEntity.- Author:
- Stefan Guilhen
 
- 
- 
Constructor SummaryConstructors Constructor Description JpaRealmDelegateProvider(JpaRealmEntity delegate, javax.persistence.EntityManager em)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MapRealmEntitygetDelegate(boolean isRead, Enum<? extends EntityField<MapRealmEntity>> 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.JpaDelegateProvidergetDelegate, setDelegate
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.models.map.common.delegate.DelegateProviderisUpdated
 
- 
 
- 
- 
- 
Constructor Detail- 
JpaRealmDelegateProviderpublic JpaRealmDelegateProvider(JpaRealmEntity delegate, javax.persistence.EntityManager em) 
 
- 
 - 
Method Detail- 
getDelegatepublic MapRealmEntity getDelegate(boolean isRead, Enum<? extends EntityField<MapRealmEntity>> field, Object... parameters) Description copied from interface:DelegateProviderReturns a delegate for and entity for an operation on a field.- Specified by:
- getDelegatein interface- DelegateProvider<MapRealmEntity>
- Parameters:
- isRead-- truewhen the delegate requested for a read operation, false otherwise
- field- Identification of the field this delegates operates on. While this parameter can be any object including- null, if it is a known field, then it is guaranteed to be one of the- EntityFields enumerated in one of the- Map*EntityFieldsenum.
- Returns:
 
 - 
setDelegateWithAssociationprotected void setDelegateWithAssociation(String associationName) 
 
- 
 
-