Class JpaUserMapStorage
java.lang.Object
org.keycloak.models.map.storage.jpa.JpaMapStorage<JpaUserEntity,MapUserEntity,UserModel>
org.keycloak.models.map.storage.jpa.user.JpaUserMapStorage
- All Implemented Interfaces:
MapStorage<MapUserEntity,
UserModel>
A
MapStorage
implementation for user entities.- Author:
- Stefan Guilhen
-
Field Summary
Fields inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorage
em
-
Constructor Summary
ConstructorDescriptionJpaUserMapStorage
(KeycloakSession session, jakarta.persistence.EntityManager em) -
Method Summary
Modifier and TypeMethodDescriptionprotected JpaModelCriteriaBuilder
protected MapUserEntity
mapToEntityDelegate
(JpaUserEntity original) protected jakarta.persistence.criteria.Selection<? extends JpaUserEntity>
selectCbConstruct
(jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.Root<JpaUserEntity> 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
-
JpaUserMapStorage
-
-
Method Details
-
selectCbConstruct
protected jakarta.persistence.criteria.Selection<? extends JpaUserEntity> selectCbConstruct(jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.Root<JpaUserEntity> root) - Specified by:
selectCbConstruct
in classJpaMapStorage<JpaUserEntity,
MapUserEntity, UserModel>
-
setEntityVersion
- Specified by:
setEntityVersion
in classJpaMapStorage<JpaUserEntity,
MapUserEntity, UserModel>
-
createJpaModelCriteriaBuilder
- Specified by:
createJpaModelCriteriaBuilder
in classJpaMapStorage<JpaUserEntity,
MapUserEntity, UserModel>
-
mapToEntityDelegate
- Specified by:
mapToEntityDelegate
in classJpaMapStorage<JpaUserEntity,
MapUserEntity, UserModel>
-