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