Interface EventReportRepository


  • public interface EventReportRepository
    • Method Detail

      • getEventsForPeriod

        List<ReportEvent> getEventsForPeriod​(@NotNull
                                             @NotNull OffsetDateTime start,
                                             @NotNull
                                             @NotNull OffsetDateTime end,
                                             @Nullable
                                             @Nullable String instanceId)
        Returns a list of Event objects, recorded in given time period
        Parameters:
        start - First date of the period
        end - Last date of the period
        instanceId - The id of particular service instance
        Returns:
        List of Event objects, recorded in given time period
      • getEventsForPeriodAndConsentId

        List<ReportEvent> getEventsForPeriodAndConsentId​(@NotNull
                                                         @NotNull OffsetDateTime start,
                                                         @NotNull
                                                         @NotNull OffsetDateTime end,
                                                         @NotNull
                                                         @NotNull String consentId,
                                                         @Nullable
                                                         @Nullable String instanceId)
        Returns a list of Event objects, recorded in given time period and with the given consentId
        Parameters:
        start - First date of the period
        end - Last date of the period
        consentId - Id of the consent
        instanceId - The id of particular service instance
        Returns:
        List of Event objects, recorded in given time period and with a given consentId
      • getEventsForPeriodAndPaymentId

        List<ReportEvent> getEventsForPeriodAndPaymentId​(@NotNull
                                                         @NotNull OffsetDateTime start,
                                                         @NotNull
                                                         @NotNull OffsetDateTime end,
                                                         @NotNull
                                                         @NotNull String paymentId,
                                                         @Nullable
                                                         @Nullable String instanceId)
        Returns a list of Event objects, recorded in given time period and with the given paymentId
        Parameters:
        start - First date of the period
        end - Last date of the period
        paymentId - Id of the payment
        instanceId - The id of particular service instance
        Returns:
        List of Event objects, recorded in given time period and with a given paymentId
      • getEventsForPeriodAndEventType

        List<ReportEvent> getEventsForPeriodAndEventType​(@NotNull
                                                         @NotNull OffsetDateTime start,
                                                         @NotNull
                                                         @NotNull OffsetDateTime end,
                                                         @NotNull
                                                         @NotNull de.adorsys.psd2.event.core.model.EventType eventType,
                                                         @Nullable
                                                         @Nullable String instanceId)
        Returns a list of Event objects of the specific type, recorded in given time period
        Parameters:
        start - First date of the period
        end - Last date of the period
        eventType - The searched type of the events
        instanceId - The id of particular service instance
        Returns:
        List of Event objects, recorded in given time period and of a specific type
      • getEventsForPeriodAndEventOrigin

        List<ReportEvent> getEventsForPeriodAndEventOrigin​(@NotNull
                                                           @NotNull OffsetDateTime start,
                                                           @NotNull
                                                           @NotNull OffsetDateTime end,
                                                           @NotNull
                                                           @NotNull de.adorsys.psd2.event.core.model.EventOrigin eventOrigin,
                                                           @Nullable
                                                           @Nullable String instanceId)
        Returns a list of Event objects from a specific origin, recorded in given time period
        Parameters:
        start - First date of the period
        end - Last date of the period
        eventOrigin - The searched origin of the events
        instanceId - The id of particular service instance
        Returns:
        List of Event objects, recorded in given time period and from a specific origin