@Service @Transactional(readOnly=true) public class AisConsentServiceInternal extends Object implements AisConsentService
| Constructor and Description |
|---|
AisConsentServiceInternal() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkConsentAndSaveActionLog(AisConsentActionRequest request)
Save information about uses of consent
|
Optional<String> |
createConsent(CreateAisConsentRequest request)
Create AIS consent
|
boolean |
findAndTerminateOldConsentsByNewConsentId(String newConsentId) |
Optional<AisAccountConsent> |
getAisAccountConsentById(String consentId)
Read full information of consent by id
|
Optional<de.adorsys.psd2.xs2a.core.consent.ConsentStatus> |
getConsentStatusById(String consentId)
Read status of consent by id
|
Optional<AisAccountConsent> |
getInitialAisAccountConsentById(String consentId)
Read full initial information of consent by id
|
Optional<List<de.adorsys.psd2.xs2a.core.psu.PsuIdData>> |
getPsuDataByConsentId(String consentId) |
Optional<String> |
updateAspspAccountAccess(String consentId,
AisAccountAccessInfo request)
Update AIS consent account access by id
|
Optional<AisAccountConsent> |
updateAspspAccountAccessWithResponse(String consentId,
AisAccountAccessInfo request) |
boolean |
updateConsentStatusById(String consentId,
de.adorsys.psd2.xs2a.core.consent.ConsentStatus status)
Update consent status by id
|
boolean |
updateMultilevelScaRequired(String consentId,
boolean multilevelScaRequired) |
@Transactional public Optional<String> createConsent(CreateAisConsentRequest request)
request - needed parameters for creating AIS consent@Transactional public Optional<de.adorsys.psd2.xs2a.core.consent.ConsentStatus> getConsentStatusById(String consentId)
consentId - id of consent@Transactional public boolean updateConsentStatusById(String consentId, de.adorsys.psd2.xs2a.core.consent.ConsentStatus status)
consentId - id of consentstatus - new consent status@Transactional public Optional<AisAccountConsent> getAisAccountConsentById(String consentId)
consentId - id of consent@Transactional public Optional<AisAccountConsent> getInitialAisAccountConsentById(String consentId)
consentId - id of consent@Transactional public boolean findAndTerminateOldConsentsByNewConsentId(String newConsentId)
@Transactional public void checkConsentAndSaveActionLog(AisConsentActionRequest request)
request - needed parameters for logging usage AIS consent@Transactional public Optional<String> updateAspspAccountAccess(String consentId, AisAccountAccessInfo request)
request - needed parameters for updating AIS consentconsentId - id of the consent to be updated@Transactional public Optional<AisAccountConsent> updateAspspAccountAccessWithResponse(String consentId, AisAccountAccessInfo request)
public Optional<List<de.adorsys.psd2.xs2a.core.psu.PsuIdData>> getPsuDataByConsentId(String consentId)
@Transactional public boolean updateMultilevelScaRequired(String consentId, boolean multilevelScaRequired)
Copyright © 2019. All rights reserved.