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