Class JpaSingleUseObjectMapStorage
java.lang.Object
org.keycloak.models.map.storage.jpa.JpaMapStorage<JpaSingleUseObjectEntity,MapSingleUseObjectEntity,SingleUseObjectValueModel>
org.keycloak.models.map.storage.jpa.singleUseObject.JpaSingleUseObjectMapStorage
- All Implemented Interfaces:
MapStorage<MapSingleUseObjectEntity,SingleUseObjectValueModel>
public class JpaSingleUseObjectMapStorage
extends JpaMapStorage<JpaSingleUseObjectEntity,MapSingleUseObjectEntity,SingleUseObjectValueModel>
A
MapStorage implementation for single-use object entities.- Author:
- Stefan Guilhen
-
Field Summary
Fields inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorage
em -
Constructor Summary
ConstructorsConstructorDescriptionJpaSingleUseObjectMapStorage(KeycloakSession session, jakarta.persistence.EntityManager em) -
Method Summary
Modifier and TypeMethodDescriptionprotected JpaModelCriteriaBuilderprotected MapSingleUseObjectEntitymapToEntityDelegate(JpaSingleUseObjectEntity original) protected jakarta.persistence.criteria.Selection<? extends JpaSingleUseObjectEntity>selectCbConstruct(jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.Root<JpaSingleUseObjectEntity> 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
-
JpaSingleUseObjectMapStorage
-
-
Method Details
-
selectCbConstruct
protected jakarta.persistence.criteria.Selection<? extends JpaSingleUseObjectEntity> selectCbConstruct(jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.Root<JpaSingleUseObjectEntity> root) - Specified by:
selectCbConstructin classJpaMapStorage<JpaSingleUseObjectEntity,MapSingleUseObjectEntity, SingleUseObjectValueModel>
-
setEntityVersion
- Specified by:
setEntityVersionin classJpaMapStorage<JpaSingleUseObjectEntity,MapSingleUseObjectEntity, SingleUseObjectValueModel>
-
createJpaModelCriteriaBuilder
-
mapToEntityDelegate
- Specified by:
mapToEntityDelegatein classJpaMapStorage<JpaSingleUseObjectEntity,MapSingleUseObjectEntity, SingleUseObjectValueModel>
-