Package de.adorsys.psd2.event.persist
Interface EventReportRepository
-
public interface EventReportRepository
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ReportEvent>getEventsForPeriod(@NotNull OffsetDateTime start, @NotNull OffsetDateTime end, @Nullable String instanceId)Returns a list of Event objects, recorded in given time periodList<ReportEvent>getEventsForPeriodAndConsentId(@NotNull OffsetDateTime start, @NotNull OffsetDateTime end, @NotNull String consentId, @Nullable String instanceId)Returns a list of Event objects, recorded in given time period and with the given consentIdList<ReportEvent>getEventsForPeriodAndEventOrigin(@NotNull OffsetDateTime start, @NotNull OffsetDateTime end, @NotNull de.adorsys.psd2.event.core.model.EventOrigin eventOrigin, @Nullable String instanceId)Returns a list of Event objects from a specific origin, recorded in given time periodList<ReportEvent>getEventsForPeriodAndEventType(@NotNull OffsetDateTime start, @NotNull OffsetDateTime end, @NotNull de.adorsys.psd2.event.core.model.EventType eventType, @Nullable String instanceId)Returns a list of Event objects of the specific type, recorded in given time periodList<ReportEvent>getEventsForPeriodAndPaymentId(@NotNull OffsetDateTime start, @NotNull OffsetDateTime end, @NotNull String paymentId, @Nullable String instanceId)Returns a list of Event objects, recorded in given time period and with the given paymentId
-
-
-
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 periodend- Last date of the periodinstanceId- 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 periodend- Last date of the periodconsentId- Id of the consentinstanceId- 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 periodend- Last date of the periodpaymentId- Id of the paymentinstanceId- 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 periodend- Last date of the periodeventType- The searched type of the eventsinstanceId- 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 periodend- Last date of the periodeventOrigin- The searched origin of the eventsinstanceId- The id of particular service instance- Returns:
- List of Event objects, recorded in given time period and from a specific origin
-
-