Interface AisConsentUsageRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<AisConsentUsage,Long>,org.springframework.data.repository.Repository<AisConsentUsage,Long>
public interface AisConsentUsageRepository extends org.springframework.data.repository.CrudRepository<AisConsentUsage,Long>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcountByConsentIdAndRequestUri(Long consentId, String requestUri)intcountByConsentIdAndResourceId(Long consentId, String resourceId)List<AisConsentUsage>findReadByConsentAndUsageDate(ConsentEntity aisConsent, LocalDate usageDate)Optional<AisConsentUsage>findWriteByConsentAndUsageDateAndRequestUri(ConsentEntity aisConsent, LocalDate usageDate, String requestUri)
-
-
-
Method Detail
-
findWriteByConsentAndUsageDateAndRequestUri
@Lock(OPTIMISTIC_FORCE_INCREMENT) Optional<AisConsentUsage> findWriteByConsentAndUsageDateAndRequestUri(ConsentEntity aisConsent, LocalDate usageDate, String requestUri)
-
findReadByConsentAndUsageDate
@Lock(OPTIMISTIC) List<AisConsentUsage> findReadByConsentAndUsageDate(ConsentEntity aisConsent, LocalDate usageDate)
-
-