Class JpaGroupMapKeycloakTransaction
- java.lang.Object
-
- org.keycloak.models.map.storage.jpa.JpaMapKeycloakTransaction<JpaGroupEntity,MapGroupEntity,GroupModel>
-
- org.keycloak.models.map.storage.jpa.group.JpaGroupMapKeycloakTransaction
-
- All Implemented Interfaces:
KeycloakTransaction
,MapKeycloakTransaction<MapGroupEntity,GroupModel>
public class JpaGroupMapKeycloakTransaction extends JpaMapKeycloakTransaction<JpaGroupEntity,MapGroupEntity,GroupModel>
-
-
Field Summary
-
Fields inherited from class org.keycloak.models.map.storage.jpa.JpaMapKeycloakTransaction
em
-
-
Constructor Summary
Constructors Constructor Description JpaGroupMapKeycloakTransaction(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.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
-
JpaGroupMapKeycloakTransaction
public JpaGroupMapKeycloakTransaction(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 classJpaMapKeycloakTransaction<JpaGroupEntity,MapGroupEntity,GroupModel>
-
setEntityVersion
public void setEntityVersion(JpaRootEntity entity)
- Specified by:
setEntityVersion
in classJpaMapKeycloakTransaction<JpaGroupEntity,MapGroupEntity,GroupModel>
-
createJpaModelCriteriaBuilder
public JpaModelCriteriaBuilder createJpaModelCriteriaBuilder()
- Specified by:
createJpaModelCriteriaBuilder
in classJpaMapKeycloakTransaction<JpaGroupEntity,MapGroupEntity,GroupModel>
-
mapToEntityDelegate
protected MapGroupEntity mapToEntityDelegate(JpaGroupEntity original)
- Specified by:
mapToEntityDelegate
in classJpaMapKeycloakTransaction<JpaGroupEntity,MapGroupEntity,GroupModel>
-
-