Class JpaScopeMapKeycloakTransaction
- java.lang.Object
-
- org.keycloak.models.map.storage.jpa.JpaMapKeycloakTransaction<JpaScopeEntity,MapScopeEntity,Scope>
-
- org.keycloak.models.map.storage.jpa.authorization.scope.JpaScopeMapKeycloakTransaction
-
- All Implemented Interfaces:
KeycloakTransaction
,MapKeycloakTransaction<MapScopeEntity,Scope>
public class JpaScopeMapKeycloakTransaction extends JpaMapKeycloakTransaction<JpaScopeEntity,MapScopeEntity,Scope>
-
-
Field Summary
-
Fields inherited from class org.keycloak.models.map.storage.jpa.JpaMapKeycloakTransaction
em
-
-
Constructor Summary
Constructors Constructor Description JpaScopeMapKeycloakTransaction(KeycloakSession session, javax.persistence.EntityManager em)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JpaModelCriteriaBuilder
createJpaModelCriteriaBuilder()
protected MapScopeEntity
mapToEntityDelegate(JpaScopeEntity original)
protected javax.persistence.criteria.Selection<JpaScopeEntity>
selectCbConstruct(javax.persistence.criteria.CriteriaBuilder cb, javax.persistence.criteria.Root<JpaScopeEntity> 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, read, read, removeFromCache, rollback, setRollbackOnly
-
-
-
-
Constructor Detail
-
JpaScopeMapKeycloakTransaction
public JpaScopeMapKeycloakTransaction(KeycloakSession session, javax.persistence.EntityManager em)
-
-
Method Detail
-
selectCbConstruct
protected javax.persistence.criteria.Selection<JpaScopeEntity> selectCbConstruct(javax.persistence.criteria.CriteriaBuilder cb, javax.persistence.criteria.Root<JpaScopeEntity> root)
- Specified by:
selectCbConstruct
in classJpaMapKeycloakTransaction<JpaScopeEntity,MapScopeEntity,Scope>
-
setEntityVersion
public void setEntityVersion(JpaRootEntity entity)
- Specified by:
setEntityVersion
in classJpaMapKeycloakTransaction<JpaScopeEntity,MapScopeEntity,Scope>
-
createJpaModelCriteriaBuilder
public JpaModelCriteriaBuilder createJpaModelCriteriaBuilder()
- Specified by:
createJpaModelCriteriaBuilder
in classJpaMapKeycloakTransaction<JpaScopeEntity,MapScopeEntity,Scope>
-
mapToEntityDelegate
protected MapScopeEntity mapToEntityDelegate(JpaScopeEntity original)
- Specified by:
mapToEntityDelegate
in classJpaMapKeycloakTransaction<JpaScopeEntity,MapScopeEntity,Scope>
-
-