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
ConstructorsConstructorDescriptionJpaUserMapStorage(KeycloakSession session, jakarta.persistence.EntityManager em) -
Method Summary
Modifier and TypeMethodDescriptionprotected JpaModelCriteriaBuilderprotected MapUserEntitymapToEntityDelegate(JpaUserEntity original) protected jakarta.persistence.criteria.Selection<? extends JpaUserEntity>selectCbConstruct(jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.Root<JpaUserEntity> root) protected voidsetEntityVersion(JpaRootEntity entity) Methods inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorage
clearQueryCache, create, delete, delete, getCount, mapToEntityDelegateUnique, read, read, removeFromCacheMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
selectCbConstructin classJpaMapStorage<JpaUserEntity,MapUserEntity, UserModel>
-
setEntityVersion
- Specified by:
setEntityVersionin classJpaMapStorage<JpaUserEntity,MapUserEntity, UserModel>
-
createJpaModelCriteriaBuilder
- Specified by:
createJpaModelCriteriaBuilderin classJpaMapStorage<JpaUserEntity,MapUserEntity, UserModel>
-
mapToEntityDelegate
- Specified by:
mapToEntityDelegatein classJpaMapStorage<JpaUserEntity,MapUserEntity, UserModel>
-