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