@Service public class PiisConsentEntitySpecification extends ConsentFilterableSpecification
| Constructor and Description |
|---|
PiisConsentEntitySpecification(CommonSpecification<ConsentEntity> commonSpecification,
ConsentSpecification consentSpecification) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.jpa.domain.Specification<ConsentEntity> |
byAccountReferenceSelector(@NotNull de.adorsys.psd2.xs2a.core.profile.AccountReferenceSelector selector)
Returns specification for ConsentEntity for filtering consents by Account Reference Selector.
|
org.springframework.data.jpa.domain.Specification<ConsentEntity> |
byCurrencyAndAccountReferenceSelector(@Nullable Currency currency,
@NotNull de.adorsys.psd2.xs2a.core.profile.AccountReferenceSelector selector)
Returns specification for ConsentEntity for filtering consents by Currency and Account Reference Selector.
|
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.
|
org.springframework.data.jpa.domain.Specification<ConsentEntity> |
byPsuIdDataAndAuthorisationNumberAndAccountReference(@NotNull de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData,
@NotNull String tppAuthorisationNumber,
@NotNull de.adorsys.psd2.xs2a.core.profile.AccountReference accountReference)
Returns specification for ConsentEntity for filtering consents by PsuIdData, TppInfo and AccountReference.
|
de.adorsys.psd2.xs2a.core.consent.ConsentType |
getType() |
byAspspAccountIdAndCreationPeriodAndInstanceId, byConsentIdAndInstanceId, byConsentType, byPsuDataInListAndInstanceId, byPsuIdDataAndCreationPeriodAndInstanceId, byTppIdAndCreationPeriodAndPsuIdDataAndInstanceIdpublic PiisConsentEntitySpecification(CommonSpecification<ConsentEntity> commonSpecification, ConsentSpecification consentSpecification)
public de.adorsys.psd2.xs2a.core.consent.ConsentType getType()
getType in class ConsentFilterableSpecificationpublic org.springframework.data.jpa.domain.Specification<ConsentEntity> byPsuDataAndInstanceId(de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData, String instanceId)
psuIdData - PSU datainstanceId - ID of particular service instancepublic org.springframework.data.jpa.domain.Specification<ConsentEntity> byPsuIdDataAndAuthorisationNumberAndAccountReference(@NotNull @NotNull de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData, @NotNull @NotNull String tppAuthorisationNumber, @NotNull @NotNull de.adorsys.psd2.xs2a.core.profile.AccountReference accountReference)
psuIdData - mandatory PSU ID datatppAuthorisationNumber - mandatory TPP authorisation numberaccountReference - mandatory PIIS Account Referencepublic org.springframework.data.jpa.domain.Specification<ConsentEntity> byCurrencyAndAccountReferenceSelector(@Nullable @Nullable Currency currency, @NotNull @NotNull de.adorsys.psd2.xs2a.core.profile.AccountReferenceSelector selector)
currency - optional Currencyselector - mandatory Account Reference Selectorpublic org.springframework.data.jpa.domain.Specification<ConsentEntity> byAccountReferenceSelector(@NotNull @NotNull de.adorsys.psd2.xs2a.core.profile.AccountReferenceSelector selector)
selector - mandatory Account Reference SelectorCopyright © 2020. All rights reserved.