Class JpaGroupDelegateProvider

java.lang.Object
org.keycloak.models.map.storage.jpa.JpaDelegateProvider<JpaGroupEntity>
org.keycloak.models.map.storage.jpa.group.delegate.JpaGroupDelegateProvider
All Implemented Interfaces:
DelegateProvider<MapGroupEntity>

public class JpaGroupDelegateProvider extends JpaDelegateProvider<JpaGroupEntity> implements DelegateProvider<MapGroupEntity>
  • Constructor Details

    • JpaGroupDelegateProvider

      public JpaGroupDelegateProvider(JpaGroupEntity delegate, jakarta.persistence.EntityManager em)
  • Method Details

    • getDelegate

      public MapGroupEntity getDelegate(boolean isRead, Enum<? extends EntityField<MapGroupEntity>> field, Object... parameters)
      Description copied from interface: DelegateProvider
      Returns a delegate for and entity for an operation on a field.
      Specified by:
      getDelegate in interface DelegateProvider<MapGroupEntity>
      Parameters:
      isRead - true when the delegate requested for a read operation, false otherwise
      field - Identification of the field this delegates operates on. While this parameter can be any object including null, if it is a known field, then it is guaranteed to be one of the EntityFields enumerated in one of the Map*EntityFields enum.
      Returns: