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
ConstructorsConstructorDescriptionJpaResourceServerMapStorage(org.keycloak.models.KeycloakSession session, jakarta.persistence.EntityManager em) -
Method Summary
Modifier and TypeMethodDescriptionprotected MapResourceServerEntitymapToEntityDelegate(JpaResourceServerEntity original) protected jakarta.persistence.criteria.Selection<JpaResourceServerEntity>selectCbConstruct(jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.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, removeFromCacheMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.models.map.storage.MapStorage
exists, exists
-
Constructor Details
-
JpaResourceServerMapStorage
public JpaResourceServerMapStorage(org.keycloak.models.KeycloakSession session, jakarta.persistence.EntityManager em)
-
-
Method Details
-
selectCbConstruct
protected jakarta.persistence.criteria.Selection<JpaResourceServerEntity> selectCbConstruct(jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.Root<JpaResourceServerEntity> root) - Specified by:
selectCbConstructin classJpaMapStorage<JpaResourceServerEntity,MapResourceServerEntity, org.keycloak.authorization.model.ResourceServer>
-
setEntityVersion
- Specified by:
setEntityVersionin classJpaMapStorage<JpaResourceServerEntity,MapResourceServerEntity, org.keycloak.authorization.model.ResourceServer>
-
createJpaModelCriteriaBuilder
- Specified by:
createJpaModelCriteriaBuilderin classJpaMapStorage<JpaResourceServerEntity,MapResourceServerEntity, org.keycloak.authorization.model.ResourceServer>
-
mapToEntityDelegate
- Specified by:
mapToEntityDelegatein classJpaMapStorage<JpaResourceServerEntity,MapResourceServerEntity, org.keycloak.authorization.model.ResourceServer>
-