Class JpaUserLoginFailureMapStorage
- java.lang.Object
-
- org.keycloak.models.map.storage.jpa.JpaMapStorage<JpaUserLoginFailureEntity,MapUserLoginFailureEntity,UserLoginFailureModel>
-
- org.keycloak.models.map.storage.jpa.loginFailure.JpaUserLoginFailureMapStorage
-
- All Implemented Interfaces:
MapStorage<MapUserLoginFailureEntity,UserLoginFailureModel>
public class JpaUserLoginFailureMapStorage extends JpaMapStorage<JpaUserLoginFailureEntity,MapUserLoginFailureEntity,UserLoginFailureModel>
AJpaMapStorage
implementation for user login failure entities.- Author:
- Stefan Guilhen
-
-
Field Summary
-
Fields inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorage
em
-
-
Constructor Summary
Constructors Constructor Description JpaUserLoginFailureMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JpaModelCriteriaBuilder
createJpaModelCriteriaBuilder()
protected MapUserLoginFailureEntity
mapToEntityDelegate(JpaUserLoginFailureEntity original)
javax.persistence.criteria.Selection<JpaUserLoginFailureEntity>
selectCbConstruct(javax.persistence.criteria.CriteriaBuilder cb, javax.persistence.criteria.Root<JpaUserLoginFailureEntity> root)
void
setEntityVersion(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
-
-
-
-
Constructor Detail
-
JpaUserLoginFailureMapStorage
public JpaUserLoginFailureMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
-
Method Detail
-
selectCbConstruct
public javax.persistence.criteria.Selection<JpaUserLoginFailureEntity> selectCbConstruct(javax.persistence.criteria.CriteriaBuilder cb, javax.persistence.criteria.Root<JpaUserLoginFailureEntity> root)
- Specified by:
selectCbConstruct
in classJpaMapStorage<JpaUserLoginFailureEntity,MapUserLoginFailureEntity,UserLoginFailureModel>
-
setEntityVersion
public void setEntityVersion(JpaRootEntity entity)
- Specified by:
setEntityVersion
in classJpaMapStorage<JpaUserLoginFailureEntity,MapUserLoginFailureEntity,UserLoginFailureModel>
-
createJpaModelCriteriaBuilder
public JpaModelCriteriaBuilder createJpaModelCriteriaBuilder()
- Specified by:
createJpaModelCriteriaBuilder
in classJpaMapStorage<JpaUserLoginFailureEntity,MapUserLoginFailureEntity,UserLoginFailureModel>
-
mapToEntityDelegate
protected MapUserLoginFailureEntity mapToEntityDelegate(JpaUserLoginFailureEntity original)
- Specified by:
mapToEntityDelegate
in classJpaMapStorage<JpaUserLoginFailureEntity,MapUserLoginFailureEntity,UserLoginFailureModel>
-
-