Class JpaClientMapStorage
- java.lang.Object
-
- org.keycloak.models.map.storage.jpa.JpaMapStorage<JpaClientEntity,MapClientEntity,ClientModel>
-
- org.keycloak.models.map.storage.jpa.client.JpaClientMapStorage
-
- All Implemented Interfaces:
MapStorage<MapClientEntity,ClientModel>
public class JpaClientMapStorage extends JpaMapStorage<JpaClientEntity,MapClientEntity,ClientModel>
-
-
Field Summary
-
Fields inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorage
em
-
-
Constructor Summary
Constructors Constructor Description JpaClientMapStorage(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.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 Detail
-
JpaClientMapStorage
public JpaClientMapStorage(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 classJpaMapStorage<JpaClientEntity,MapClientEntity,ClientModel>
-
setEntityVersion
public void setEntityVersion(JpaRootEntity entity)
- Specified by:
setEntityVersion
in classJpaMapStorage<JpaClientEntity,MapClientEntity,ClientModel>
-
createJpaModelCriteriaBuilder
public JpaModelCriteriaBuilder createJpaModelCriteriaBuilder()
- Specified by:
createJpaModelCriteriaBuilder
in classJpaMapStorage<JpaClientEntity,MapClientEntity,ClientModel>
-
mapToEntityDelegate
protected MapClientEntity mapToEntityDelegate(JpaClientEntity original)
- Specified by:
mapToEntityDelegate
in classJpaMapStorage<JpaClientEntity,MapClientEntity,ClientModel>
-
-