Class JpaResourceServerDelegateProvider
java.lang.Object
org.keycloak.models.map.storage.jpa.JpaDelegateProvider<JpaResourceServerEntity>
org.keycloak.models.map.storage.jpa.authorization.resourceServer.delegate.JpaResourceServerDelegateProvider
- All Implemented Interfaces:
DelegateProvider<MapResourceServerEntity>
public class JpaResourceServerDelegateProvider
extends JpaDelegateProvider<JpaResourceServerEntity>
implements DelegateProvider<MapResourceServerEntity>
-
Constructor Summary
ConstructorsConstructorDescriptionJpaResourceServerDelegateProvider(JpaResourceServerEntity delegate, jakarta.persistence.EntityManager em) -
Method Summary
Modifier and TypeMethodDescriptiongetDelegate(boolean isRead, Enum<? extends EntityField<MapResourceServerEntity>> 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, setDelegateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.models.map.common.delegate.DelegateProvider
isUpdated
-
Constructor Details
-
JpaResourceServerDelegateProvider
public JpaResourceServerDelegateProvider(JpaResourceServerEntity delegate, jakarta.persistence.EntityManager em)
-
-
Method Details
-
getDelegate
public MapResourceServerEntity getDelegate(boolean isRead, Enum<? extends EntityField<MapResourceServerEntity>> field, Object... parameters) Description copied from interface:DelegateProviderReturns a delegate for and entity for an operation on a field.- Specified by:
getDelegatein interfaceDelegateProvider<MapResourceServerEntity>- Parameters:
isRead-truewhen 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 theEntityFields enumerated in one of theMap*EntityFieldsenum.- Returns:
-