Class JpaUserLoginFailureMapKeycloakTransaction
- java.lang.Object
-
- org.keycloak.models.map.storage.jpa.JpaMapKeycloakTransaction<JpaUserLoginFailureEntity,MapUserLoginFailureEntity,UserLoginFailureModel>
-
- org.keycloak.models.map.storage.jpa.loginFailure.JpaUserLoginFailureMapKeycloakTransaction
-
- All Implemented Interfaces:
KeycloakTransaction
,MapKeycloakTransaction<MapUserLoginFailureEntity,UserLoginFailureModel>
public class JpaUserLoginFailureMapKeycloakTransaction extends JpaMapKeycloakTransaction<JpaUserLoginFailureEntity,MapUserLoginFailureEntity,UserLoginFailureModel>
AJpaMapKeycloakTransaction
implementation for user login failure entities.- Author:
- Stefan Guilhen
-
-
Field Summary
-
Fields inherited from class org.keycloak.models.map.storage.jpa.JpaMapKeycloakTransaction
em
-
-
Constructor Summary
Constructors Constructor Description JpaUserLoginFailureMapKeycloakTransaction(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.JpaMapKeycloakTransaction
begin, clearQueryCache, commit, create, delete, delete, getCount, getRollbackOnly, isActive, mapToEntityDelegateUnique, read, read, removeFromCache, rollback, setRollbackOnly
-
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.MapKeycloakTransaction
exists, exists
-
-
-
-
Constructor Detail
-
JpaUserLoginFailureMapKeycloakTransaction
public JpaUserLoginFailureMapKeycloakTransaction(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 classJpaMapKeycloakTransaction<JpaUserLoginFailureEntity,MapUserLoginFailureEntity,UserLoginFailureModel>
-
setEntityVersion
public void setEntityVersion(JpaRootEntity entity)
- Specified by:
setEntityVersion
in classJpaMapKeycloakTransaction<JpaUserLoginFailureEntity,MapUserLoginFailureEntity,UserLoginFailureModel>
-
createJpaModelCriteriaBuilder
public JpaModelCriteriaBuilder createJpaModelCriteriaBuilder()
-
mapToEntityDelegate
protected MapUserLoginFailureEntity mapToEntityDelegate(JpaUserLoginFailureEntity original)
- Specified by:
mapToEntityDelegate
in classJpaMapKeycloakTransaction<JpaUserLoginFailureEntity,MapUserLoginFailureEntity,UserLoginFailureModel>
-
-