Class JpaAdminEventMapKeycloakTransaction
- java.lang.Object
-
- org.keycloak.models.map.storage.jpa.JpaMapKeycloakTransaction<JpaAdminEventEntity,MapAdminEventEntity,AdminEvent>
-
- org.keycloak.models.map.storage.jpa.event.admin.JpaAdminEventMapKeycloakTransaction
-
- All Implemented Interfaces:
KeycloakTransaction
,MapKeycloakTransaction<MapAdminEventEntity,AdminEvent>
public class JpaAdminEventMapKeycloakTransaction extends JpaMapKeycloakTransaction<JpaAdminEventEntity,MapAdminEventEntity,AdminEvent>
AMapKeycloakTransaction
implementation for admin event entities.- Author:
- Stefan Guilhen
-
-
Field Summary
-
Fields inherited from class org.keycloak.models.map.storage.jpa.JpaMapKeycloakTransaction
em
-
-
Constructor Summary
Constructors Constructor Description JpaAdminEventMapKeycloakTransaction(KeycloakSession session, javax.persistence.EntityManager em)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JpaModelCriteriaBuilder
createJpaModelCriteriaBuilder()
protected MapAdminEventEntity
mapToEntityDelegate(JpaAdminEventEntity original)
protected javax.persistence.criteria.Selection<? extends JpaAdminEventEntity>
selectCbConstruct(javax.persistence.criteria.CriteriaBuilder cb, javax.persistence.criteria.Root<JpaAdminEventEntity> root)
protected void
setEntityVersion(JpaRootEntity entity)
-
Methods inherited from class org.keycloak.models.map.storage.jpa.JpaMapKeycloakTransaction
begin, clearQueryCache, commit, create, delete, delete, getCount, getRollbackOnly, isActive, mapToEntityDelegateUnique, read, read, removeFromCache, rollback, setRollbackOnly
-
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.MapKeycloakTransaction
exists, exists
-
-
-
-
Constructor Detail
-
JpaAdminEventMapKeycloakTransaction
public JpaAdminEventMapKeycloakTransaction(KeycloakSession session, javax.persistence.EntityManager em)
-
-
Method Detail
-
selectCbConstruct
protected javax.persistence.criteria.Selection<? extends JpaAdminEventEntity> selectCbConstruct(javax.persistence.criteria.CriteriaBuilder cb, javax.persistence.criteria.Root<JpaAdminEventEntity> root)
- Specified by:
selectCbConstruct
in classJpaMapKeycloakTransaction<JpaAdminEventEntity,MapAdminEventEntity,AdminEvent>
-
setEntityVersion
protected void setEntityVersion(JpaRootEntity entity)
- Specified by:
setEntityVersion
in classJpaMapKeycloakTransaction<JpaAdminEventEntity,MapAdminEventEntity,AdminEvent>
-
createJpaModelCriteriaBuilder
protected JpaModelCriteriaBuilder createJpaModelCriteriaBuilder()
- Specified by:
createJpaModelCriteriaBuilder
in classJpaMapKeycloakTransaction<JpaAdminEventEntity,MapAdminEventEntity,AdminEvent>
-
mapToEntityDelegate
protected MapAdminEventEntity mapToEntityDelegate(JpaAdminEventEntity original)
- Specified by:
mapToEntityDelegate
in classJpaMapKeycloakTransaction<JpaAdminEventEntity,MapAdminEventEntity,AdminEvent>
-
-