Class JpaScopeMapStorage
- java.lang.Object
-
- org.keycloak.models.map.storage.jpa.JpaMapStorage<JpaScopeEntity,MapScopeEntity,org.keycloak.authorization.model.Scope>
-
- org.keycloak.models.map.storage.jpa.authorization.scope.JpaScopeMapStorage
-
- All Implemented Interfaces:
MapStorage<MapScopeEntity,org.keycloak.authorization.model.Scope>
public class JpaScopeMapStorage extends JpaMapStorage<JpaScopeEntity,MapScopeEntity,org.keycloak.authorization.model.Scope>
-
-
Field Summary
-
Fields inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorage
em
-
-
Constructor Summary
Constructors Constructor Description JpaScopeMapStorage(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.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
-
-
-
-
Method Detail
-
selectCbConstruct
protected javax.persistence.criteria.Selection<JpaScopeEntity> selectCbConstruct(javax.persistence.criteria.CriteriaBuilder cb, javax.persistence.criteria.Root<JpaScopeEntity> root)
- Specified by:
selectCbConstructin classJpaMapStorage<JpaScopeEntity,MapScopeEntity,org.keycloak.authorization.model.Scope>
-
setEntityVersion
public void setEntityVersion(JpaRootEntity entity)
- Specified by:
setEntityVersionin classJpaMapStorage<JpaScopeEntity,MapScopeEntity,org.keycloak.authorization.model.Scope>
-
createJpaModelCriteriaBuilder
public JpaModelCriteriaBuilder createJpaModelCriteriaBuilder()
- Specified by:
createJpaModelCriteriaBuilderin classJpaMapStorage<JpaScopeEntity,MapScopeEntity,org.keycloak.authorization.model.Scope>
-
mapToEntityDelegate
protected MapScopeEntity mapToEntityDelegate(JpaScopeEntity original)
- Specified by:
mapToEntityDelegatein classJpaMapStorage<JpaScopeEntity,MapScopeEntity,org.keycloak.authorization.model.Scope>
-
-