Class JpaRealmMapStorage
- java.lang.Object
- 
- org.keycloak.models.map.storage.jpa.JpaMapStorage<JpaRealmEntity,MapRealmEntity,RealmModel>
- 
- org.keycloak.models.map.storage.jpa.realm.JpaRealmMapStorage
 
 
- 
- All Implemented Interfaces:
- MapStorage<MapRealmEntity,RealmModel>
 
 public class JpaRealmMapStorage extends JpaMapStorage<JpaRealmEntity,MapRealmEntity,RealmModel> AMapStorageimplementation for realm entities.- Author:
- Stefan Guilhen
 
- 
- 
Field Summary- 
Fields inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorageem
 
- 
 - 
Constructor SummaryConstructors Constructor Description JpaRealmMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JpaModelCriteriaBuildercreateJpaModelCriteriaBuilder()protected MapRealmEntitymapToEntityDelegate(JpaRealmEntity original)protected javax.persistence.criteria.Selection<? extends JpaRealmEntity>selectCbConstruct(javax.persistence.criteria.CriteriaBuilder cb, javax.persistence.criteria.Root<JpaRealmEntity> root)protected voidsetEntityVersion(JpaRootEntity entity)- 
Methods inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorageclearQueryCache, create, delete, delete, getCount, mapToEntityDelegateUnique, read, read, removeFromCache
 - 
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.storage.MapStorageexists, exists
 
- 
 
- 
- 
- 
Constructor Detail- 
JpaRealmMapStoragepublic JpaRealmMapStorage(KeycloakSession session, javax.persistence.EntityManager em) 
 
- 
 - 
Method Detail- 
selectCbConstructprotected javax.persistence.criteria.Selection<? extends JpaRealmEntity> selectCbConstruct(javax.persistence.criteria.CriteriaBuilder cb, javax.persistence.criteria.Root<JpaRealmEntity> root) - Specified by:
- selectCbConstructin class- JpaMapStorage<JpaRealmEntity,MapRealmEntity,RealmModel>
 
 - 
setEntityVersionprotected void setEntityVersion(JpaRootEntity entity) - Specified by:
- setEntityVersionin class- JpaMapStorage<JpaRealmEntity,MapRealmEntity,RealmModel>
 
 - 
createJpaModelCriteriaBuilderprotected JpaModelCriteriaBuilder createJpaModelCriteriaBuilder() - Specified by:
- createJpaModelCriteriaBuilderin class- JpaMapStorage<JpaRealmEntity,MapRealmEntity,RealmModel>
 
 - 
mapToEntityDelegateprotected MapRealmEntity mapToEntityDelegate(JpaRealmEntity original) - Specified by:
- mapToEntityDelegatein class- JpaMapStorage<JpaRealmEntity,MapRealmEntity,RealmModel>
 
 
- 
 
-