Class JpaResourceServerMapStorage
- java.lang.Object
-
- org.keycloak.models.map.storage.jpa.JpaMapStorage<JpaResourceServerEntity,MapResourceServerEntity,org.keycloak.authorization.model.ResourceServer>
-
- org.keycloak.models.map.storage.jpa.authorization.resourceServer.JpaResourceServerMapStorage
-
- All Implemented Interfaces:
MapStorage<MapResourceServerEntity,org.keycloak.authorization.model.ResourceServer>
public class JpaResourceServerMapStorage extends JpaMapStorage<JpaResourceServerEntity,MapResourceServerEntity,org.keycloak.authorization.model.ResourceServer>
-
-
Field Summary
-
Fields inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorage
em
-
-
Constructor Summary
Constructors Constructor Description JpaResourceServerMapStorage(org.keycloak.models.KeycloakSession session, javax.persistence.EntityManager em)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JpaModelCriteriaBuildercreateJpaModelCriteriaBuilder()protected MapResourceServerEntitymapToEntityDelegate(JpaResourceServerEntity original)protected javax.persistence.criteria.Selection<JpaResourceServerEntity>selectCbConstruct(javax.persistence.criteria.CriteriaBuilder cb, javax.persistence.criteria.Root<JpaResourceServerEntity> 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<JpaResourceServerEntity> selectCbConstruct(javax.persistence.criteria.CriteriaBuilder cb, javax.persistence.criteria.Root<JpaResourceServerEntity> root)
- Specified by:
selectCbConstructin classJpaMapStorage<JpaResourceServerEntity,MapResourceServerEntity,org.keycloak.authorization.model.ResourceServer>
-
setEntityVersion
public void setEntityVersion(JpaRootEntity entity)
- Specified by:
setEntityVersionin classJpaMapStorage<JpaResourceServerEntity,MapResourceServerEntity,org.keycloak.authorization.model.ResourceServer>
-
createJpaModelCriteriaBuilder
public JpaModelCriteriaBuilder createJpaModelCriteriaBuilder()
- Specified by:
createJpaModelCriteriaBuilderin classJpaMapStorage<JpaResourceServerEntity,MapResourceServerEntity,org.keycloak.authorization.model.ResourceServer>
-
mapToEntityDelegate
protected MapResourceServerEntity mapToEntityDelegate(JpaResourceServerEntity original)
- Specified by:
mapToEntityDelegatein classJpaMapStorage<JpaResourceServerEntity,MapResourceServerEntity,org.keycloak.authorization.model.ResourceServer>
-
-