Class JpaClientMapKeycloakTransaction
- java.lang.Object
-
- org.keycloak.models.map.storage.jpa.JpaMapKeycloakTransaction<JpaClientEntity,MapClientEntity,ClientModel>
-
- org.keycloak.models.map.storage.jpa.client.JpaClientMapKeycloakTransaction
-
- All Implemented Interfaces:
KeycloakTransaction
,MapKeycloakTransaction<MapClientEntity,ClientModel>
public class JpaClientMapKeycloakTransaction extends JpaMapKeycloakTransaction<JpaClientEntity,MapClientEntity,ClientModel>
-
-
Field Summary
-
Fields inherited from class org.keycloak.models.map.storage.jpa.JpaMapKeycloakTransaction
em
-
-
Constructor Summary
Constructors Constructor Description JpaClientMapKeycloakTransaction(KeycloakSession session, javax.persistence.EntityManager em)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JpaModelCriteriaBuilder
createJpaModelCriteriaBuilder()
protected MapClientEntity
mapToEntityDelegate(JpaClientEntity original)
javax.persistence.criteria.Selection<JpaClientEntity>
selectCbConstruct(javax.persistence.criteria.CriteriaBuilder cb, javax.persistence.criteria.Root<JpaClientEntity> root)
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
-
JpaClientMapKeycloakTransaction
public JpaClientMapKeycloakTransaction(KeycloakSession session, javax.persistence.EntityManager em)
-
-
Method Detail
-
selectCbConstruct
public javax.persistence.criteria.Selection<JpaClientEntity> selectCbConstruct(javax.persistence.criteria.CriteriaBuilder cb, javax.persistence.criteria.Root<JpaClientEntity> root)
- Specified by:
selectCbConstruct
in classJpaMapKeycloakTransaction<JpaClientEntity,MapClientEntity,ClientModel>
-
setEntityVersion
public void setEntityVersion(JpaRootEntity entity)
- Specified by:
setEntityVersion
in classJpaMapKeycloakTransaction<JpaClientEntity,MapClientEntity,ClientModel>
-
createJpaModelCriteriaBuilder
public JpaModelCriteriaBuilder createJpaModelCriteriaBuilder()
- Specified by:
createJpaModelCriteriaBuilder
in classJpaMapKeycloakTransaction<JpaClientEntity,MapClientEntity,ClientModel>
-
mapToEntityDelegate
protected MapClientEntity mapToEntityDelegate(JpaClientEntity original)
- Specified by:
mapToEntityDelegate
in classJpaMapKeycloakTransaction<JpaClientEntity,MapClientEntity,ClientModel>
-
-