Class JpaRootAuthenticationSessionMapStorage
- java.lang.Object
- 
- org.keycloak.models.map.storage.jpa.JpaMapStorage<JpaRootAuthenticationSessionEntity,MapRootAuthenticationSessionEntity,RootAuthenticationSessionModel>
- 
- org.keycloak.models.map.storage.jpa.authSession.JpaRootAuthenticationSessionMapStorage
 
 
- 
- All Implemented Interfaces:
- MapStorage<MapRootAuthenticationSessionEntity,RootAuthenticationSessionModel>
 
 public class JpaRootAuthenticationSessionMapStorage extends JpaMapStorage<JpaRootAuthenticationSessionEntity,MapRootAuthenticationSessionEntity,RootAuthenticationSessionModel> 
- 
- 
Field Summary- 
Fields inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorageem
 
- 
 - 
Constructor SummaryConstructors Constructor Description JpaRootAuthenticationSessionMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description JpaModelCriteriaBuildercreateJpaModelCriteriaBuilder()booleandelete(String key)Instructs this storage to delete a value associated with the identifierkeyfrom the underlying store upon commit.protected MapRootAuthenticationSessionEntitymapToEntityDelegate(JpaRootAuthenticationSessionEntity original)javax.persistence.criteria.Selection<JpaRootAuthenticationSessionEntity>selectCbConstruct(javax.persistence.criteria.CriteriaBuilder cb, javax.persistence.criteria.Root<JpaRootAuthenticationSessionEntity> root)voidsetEntityVersion(JpaRootEntity entity)- 
Methods inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorageclearQueryCache, create, delete, getCount, mapToEntityDelegateUnique, read, read, removeFromCache
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.models.map.storage.MapStorageexists, exists
 
- 
 
- 
- 
- 
Constructor Detail- 
JpaRootAuthenticationSessionMapStoragepublic JpaRootAuthenticationSessionMapStorage(KeycloakSession session, javax.persistence.EntityManager em) 
 
- 
 - 
Method Detail- 
selectCbConstructpublic javax.persistence.criteria.Selection<JpaRootAuthenticationSessionEntity> selectCbConstruct(javax.persistence.criteria.CriteriaBuilder cb, javax.persistence.criteria.Root<JpaRootAuthenticationSessionEntity> root) 
 - 
setEntityVersionpublic void setEntityVersion(JpaRootEntity entity) 
 - 
createJpaModelCriteriaBuilderpublic JpaModelCriteriaBuilder createJpaModelCriteriaBuilder() 
 - 
mapToEntityDelegateprotected MapRootAuthenticationSessionEntity mapToEntityDelegate(JpaRootAuthenticationSessionEntity original) 
 - 
deletepublic boolean delete(String key) Description copied from interface:MapStorageInstructs this storage to delete a value associated with the identifierkeyfrom the underlying store upon commit.- Specified by:
- deletein interface- MapStorage<MapRootAuthenticationSessionEntity,RootAuthenticationSessionModel>
- Overrides:
- deletein class- JpaMapStorage<JpaRootAuthenticationSessionEntity,MapRootAuthenticationSessionEntity,RootAuthenticationSessionModel>
- Parameters:
- key- identifier of a value
- Returns:
- Returns trueif the object has been deleted or result cannot be determined,falseotherwise.
 
 
- 
 
-