public abstract class GenericSpecification extends Object
| Constructor and Description |
|---|
GenericSpecification() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> org.springframework.data.jpa.domain.Specification<T> |
byAspspAccountId(@Nullable String aspspAccountId)
Returns specification for some entity for filtering data by aspsp account id.
|
protected <T> org.springframework.data.jpa.domain.Specification<T> |
byCreationTimestamp(@Nullable LocalDate start,
@Nullable LocalDate end)
Returns specification for some entity for filtering data by creation date.
|
protected <T> org.springframework.data.jpa.domain.Specification<T> |
byCreationTimestamp(@Nullable OffsetDateTime start,
@Nullable OffsetDateTime end)
Returns specification for some entity for filtering data by creation date-time.
|
protected <T> org.springframework.data.jpa.domain.Specification<T> |
byInstanceId(@Nullable String instanceId)
Returns specification for some entity for filtering data by instance id.
|
<T> org.springframework.data.jpa.domain.Specification<T> |
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.
|
<T> org.springframework.data.jpa.domain.Specification<T> |
byPsuDataInListAndInstanceId(de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData,
String instanceId)
Returns specification for some entity for filtering data by PSU data from list and instance id.
|
protected <T> org.springframework.data.jpa.domain.Specification<T> |
byPsuIdData(@Nullable de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData)
Returns specification for some entity for filtering data by PSU ID data.
|
protected <T> org.springframework.data.jpa.domain.Specification<T> |
byPsuIdDataInList(@Nullable de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData)
Returns specification for some entity for filtering data by PSU ID data from list.
|
protected <T> org.springframework.data.jpa.domain.Specification<T> |
byTppAuthorisationNumber(@Nullable String tppAuthorisationNumber)
Returns specification for some entity for filtering data by TPP authorisation number.
|
protected <T> org.springframework.data.jpa.domain.Specification<T> |
byTppAuthorisationNumberWithoutJoin(@Nullable String tppAuthorisationNumber)
Returns specification for some entity for filtering data by TPP authorisation number stored in the same entity.
|
public <T> org.springframework.data.jpa.domain.Specification<T> byPsuDataInListAndInstanceId(de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData,
String instanceId)
T - type of the entity, for which this specification will be createdpsuIdData - PSU datainstanceId - ID of particular service instancepublic <T> org.springframework.data.jpa.domain.Specification<T> byPsuDataAndInstanceId(de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData,
String instanceId)
T - type of the entity, for which this specification will be createdpsuIdData - PSU datainstanceId - ID of particular service instanceprotected <T> org.springframework.data.jpa.domain.Specification<T> byPsuIdDataInList(@Nullable
@Nullable de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData)
If all fields in the given PsuIdData are null, this specification will not affect resulting data.
T - type of the entity, for which this specification will be createdpsuIdData - optional PSU ID datanull if PSU ID data was omittedprotected <T> org.springframework.data.jpa.domain.Specification<T> byPsuIdData(@Nullable
@Nullable de.adorsys.psd2.xs2a.core.psu.PsuIdData psuIdData)
If all fields in the given PsuIdData are null, this specification will not affect resulting data.
T - type of the entity, for which this specification will be createdpsuIdData - optional PSU ID datanull if PSU ID data was omittedprotected <T> org.springframework.data.jpa.domain.Specification<T> byTppAuthorisationNumber(@Nullable
@Nullable String tppAuthorisationNumber)
If optional parameter is not provided, this specification will not affect resulting data.
T - type of the entity, for which this specification will be createdtppAuthorisationNumber - optional TPP authorisation numberprotected <T> org.springframework.data.jpa.domain.Specification<T> byTppAuthorisationNumberWithoutJoin(@Nullable
@Nullable String tppAuthorisationNumber)
If optional parameter is not provided, this specification will not affect resulting data.
T - type of the entity, for which this specification will be createdtppAuthorisationNumber - optional TPP authorisation numberprotected <T> org.springframework.data.jpa.domain.Specification<T> byAspspAccountId(@Nullable
@Nullable String aspspAccountId)
If optional parameter is not provided, this specification will not affect resulting data.
T - type of the entity, for which this specification will be createdaspspAccountId - Bank specific account identifierprotected <T> org.springframework.data.jpa.domain.Specification<T> byInstanceId(@Nullable
@Nullable String instanceId)
T - type of the entity, for which this specification will be createdinstanceId - optional ID of particular service instancenull if instance id was omittedprotected <T> org.springframework.data.jpa.domain.Specification<T> byCreationTimestamp(@Nullable
@Nullable LocalDate start,
@Nullable
@Nullable LocalDate end)
If both optional parameters are not provided, this specification will not affect resulting data.
T - type of the entity, for which this specification will be createdstart - optional creation date that limits resulting data to objects created after this date(inclusive)end - optional creation date that limits resulting data to objects created before this date(inclusive)protected <T> org.springframework.data.jpa.domain.Specification<T> byCreationTimestamp(@Nullable
@Nullable OffsetDateTime start,
@Nullable
@Nullable OffsetDateTime end)
If both optional parameters are not provided, this specification will not affect resulting data.
T - type of the entity, for which this specification will be createdstart - optional creation date-time that limits resulting data to objects created after this date-time(inclusive)end - optional creation date-time that limits resulting data to objects created before this date-time(inclusive)Copyright © 2019. All rights reserved.