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>
A
MapStorage
implementation for realm entities.- Author:
- Stefan Guilhen
-
Field Summary
Fields inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorage
em
-
Constructor Summary
ConstructorDescriptionJpaRealmMapStorage
(KeycloakSession session, jakarta.persistence.EntityManager em) -
Method Summary
Modifier and TypeMethodDescriptionprotected JpaModelCriteriaBuilder
protected MapRealmEntity
mapToEntityDelegate
(JpaRealmEntity original) protected jakarta.persistence.criteria.Selection<? extends JpaRealmEntity>
selectCbConstruct
(jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.Root<JpaRealmEntity> root) protected void
setEntityVersion
(JpaRootEntity entity) Methods inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorage
clearQueryCache, create, delete, delete, getCount, mapToEntityDelegateUnique, read, read, removeFromCache
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.storage.MapStorage
exists, exists
-
Constructor Details
-
JpaRealmMapStorage
-
-
Method Details
-
selectCbConstruct
protected jakarta.persistence.criteria.Selection<? extends JpaRealmEntity> selectCbConstruct(jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.Root<JpaRealmEntity> root) - Specified by:
selectCbConstruct
in classJpaMapStorage<JpaRealmEntity,
MapRealmEntity, RealmModel>
-
setEntityVersion
- Specified by:
setEntityVersion
in classJpaMapStorage<JpaRealmEntity,
MapRealmEntity, RealmModel>
-
createJpaModelCriteriaBuilder
- Specified by:
createJpaModelCriteriaBuilder
in classJpaMapStorage<JpaRealmEntity,
MapRealmEntity, RealmModel>
-
mapToEntityDelegate
- Specified by:
mapToEntityDelegate
in classJpaMapStorage<JpaRealmEntity,
MapRealmEntity, RealmModel>
-