Class JpaRoleDelegateProvider
- java.lang.Object
-
- org.keycloak.models.map.storage.jpa.JpaDelegateProvider<JpaRoleEntity>
-
- org.keycloak.models.map.storage.jpa.role.delegate.JpaRoleDelegateProvider
-
- All Implemented Interfaces:
DelegateProvider<MapRoleEntity>
public class JpaRoleDelegateProvider extends JpaDelegateProvider<JpaRoleEntity> implements DelegateProvider<MapRoleEntity>
-
-
Constructor Summary
Constructors Constructor Description JpaRoleDelegateProvider(JpaRoleEntity delegate, javax.persistence.EntityManager em)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JpaRoleEntity
getDelegate(boolean isRead, Enum<? extends EntityField<MapRoleEntity>> field, Object... parameters)
Returns a delegate for and entity for an operation on a field.-
Methods inherited from class org.keycloak.models.map.storage.jpa.JpaDelegateProvider
getDelegate, setDelegate
-
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.common.delegate.DelegateProvider
isUpdated
-
-
-
-
Constructor Detail
-
JpaRoleDelegateProvider
public JpaRoleDelegateProvider(JpaRoleEntity delegate, javax.persistence.EntityManager em)
-
-
Method Detail
-
getDelegate
public JpaRoleEntity getDelegate(boolean isRead, Enum<? extends EntityField<MapRoleEntity>> field, Object... parameters)
Description copied from interface:DelegateProvider
Returns a delegate for and entity for an operation on a field.- Specified by:
getDelegate
in interfaceDelegateProvider<MapRoleEntity>
- Parameters:
isRead
-true
when the delegate requested for a read operation, false otherwisefield
- Identification of the field this delegates operates on. While this parameter can be any object includingnull
, if it is a known field, then it is guaranteed to be one of theEntityField
s enumerated in one of theMap*EntityFields
enum.- Returns:
-
-