Class JpaUserDelegateProvider

All Implemented Interfaces:

public class JpaUserDelegateProvider extends JpaDelegateProvider<JpaUserEntity> implements DelegateProvider<MapUserEntity>
A DelegateProvider implementation for JpaUserEntity.
Stefan Guilhen
  • Constructor Details

    • JpaUserDelegateProvider

      public JpaUserDelegateProvider(JpaUserEntity delegate, jakarta.persistence.EntityManager em)
  • Method Details

    • getDelegate

      public MapUserEntity getDelegate(boolean isRead, Enum<? extends EntityField<MapUserEntity>> 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<MapUserEntity>
      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.
    • setDelegateWithAssociation

      protected void setDelegateWithAssociation(String associationName)