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