Class PiisConsentEntitySpecification

    • Method Detail

      • byPsuDataAndInstanceId

        public org.springframework.data.jpa.domain.Specification<ConsentEntity> byPsuDataAndInstanceId​(de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData,
                                                                                                       String instanceId)
        Returns specification for some entity for filtering data by PSU data and instance id.
        Parameters:
        psuIdData - PSU data
        instanceId - ID of particular service instance
        Returns:
        resulting specification
      • byPsuIdDataAndAuthorisationNumberAndAccountReferenceAndInstanceId

        public org.springframework.data.jpa.domain.Specification<ConsentEntity> byPsuIdDataAndAuthorisationNumberAndAccountReferenceAndInstanceId​(@NotNull
                                                                                                                                                  @NotNull de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData,
                                                                                                                                                  @NotNull
                                                                                                                                                  @NotNull String tppAuthorisationNumber,
                                                                                                                                                  @NotNull
                                                                                                                                                  @NotNull de.adorsys.psd2.xs2a.core.profile.AccountReference accountReference,
                                                                                                                                                  @NotNull
                                                                                                                                                  @NotNull String instanceId)
        Returns specification for ConsentEntity for filtering consents by PsuIdData, TppInfo and AccountReference.
        Parameters:
        psuIdData - mandatory PSU ID data
        tppAuthorisationNumber - mandatory TPP authorisation number
        accountReference - mandatory PIIS Account Reference
        Returns:
        resulting specification for ConsentEntity
      • byCurrencyAndAccountReferenceSelector

        public org.springframework.data.jpa.domain.Specification<ConsentEntity> byCurrencyAndAccountReferenceSelector​(@Nullable
                                                                                                                      @Nullable Currency currency,
                                                                                                                      @NotNull
                                                                                                                      @NotNull de.adorsys.psd2.xs2a.core.profile.AccountReferenceSelector selector)
        Returns specification for ConsentEntity for filtering consents by Currency and Account Reference Selector.
        Parameters:
        currency - optional Currency
        selector - mandatory Account Reference Selector
        Returns:
        resulting specification for ConsentEntity
      • byAccountReferenceSelector

        public org.springframework.data.jpa.domain.Specification<ConsentEntity> byAccountReferenceSelector​(@NotNull
                                                                                                           @NotNull de.adorsys.psd2.xs2a.core.profile.AccountReferenceSelector selector)
        Returns specification for ConsentEntity for filtering consents by Account Reference Selector.
        Parameters:
        selector - mandatory Account Reference Selector
        Returns:
        resulting specification for ConsentEntity