public interface ConsentRepository extends org.springframework.data.repository.CrudRepository<ConsentEntity,Long>
Modifier and Type | Method and Description |
---|---|
Optional<ConsentEntity> |
findByTppAuthId(String authId) |
List<ConsentEntity> |
findByUserEntityAndConsentTypeAndConsentConfirmedOrderByCreationTimeDesc(UserEntity userEntity,
ConsentType consentType,
Boolean consentConfirmed) |
Optional<ConsentEntity> |
findFirstByUserEntityAndBankIdAndConsentTypeAndConsentConfirmedOrderByCreationTimeDesc(UserEntity userEntity,
String bankId,
ConsentType consentType,
Boolean consentConfirmed) |
List<ConsentEntity> |
findListByUserEntityAndBankIdAndConsentTypeAndConsentConfirmed(UserEntity userEntity,
String bankId,
ConsentType consentType,
Boolean consentConfirmed) |
Optional<ConsentEntity> findByTppAuthId(String authId)
Optional<ConsentEntity> findFirstByUserEntityAndBankIdAndConsentTypeAndConsentConfirmedOrderByCreationTimeDesc(UserEntity userEntity, String bankId, ConsentType consentType, Boolean consentConfirmed)
List<ConsentEntity> findListByUserEntityAndBankIdAndConsentTypeAndConsentConfirmed(UserEntity userEntity, String bankId, ConsentType consentType, Boolean consentConfirmed)
List<ConsentEntity> findByUserEntityAndConsentTypeAndConsentConfirmedOrderByCreationTimeDesc(UserEntity userEntity, ConsentType consentType, Boolean consentConfirmed)
Copyright © 2020. All rights reserved.