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