public class FintechConsentAccess extends Object implements ConsentAccess
| Constructor and Description |
|---|
FintechConsentAccess() |
| Modifier and Type | Method and Description |
|---|---|
ProtocolFacingConsent |
createDoNotPersist()
Factory method for new consent,
|
void |
delete(ProtocolFacingConsent consent)
Delete consent object from database.
|
List<ProtocolFacingConsent> |
findByCurrentServiceSessionOrderByModifiedDesc()
Available consents for current session execution.
|
Optional<ProtocolFacingConsent> |
findSingleByCurrentServiceSession()
Available consent for current session execution.
|
Collection<ProtocolFacingConsent> |
getAvailableConsentsForCurrentPsu()
Lists all consents that are available for current PSU.
|
boolean |
isFinTechScope() |
void |
save(ProtocolFacingConsent consent)
Save consent object to database.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFirstByCurrentSessionpublic boolean isFinTechScope()
isFinTechScope in interface ConsentAccesspublic ProtocolFacingConsent createDoNotPersist()
ConsentAccesscreateDoNotPersist in interface ConsentAccesspublic void save(ProtocolFacingConsent consent)
ConsentAccesssave in interface ConsentAccesspublic void delete(ProtocolFacingConsent consent)
ConsentAccessdelete in interface ConsentAccesspublic Optional<ProtocolFacingConsent> findSingleByCurrentServiceSession()
ConsentAccessfindSingleByCurrentServiceSession in interface ConsentAccesspublic List<ProtocolFacingConsent> findByCurrentServiceSessionOrderByModifiedDesc()
ConsentAccessfindByCurrentServiceSessionOrderByModifiedDesc in interface ConsentAccesspublic Collection<ProtocolFacingConsent> getAvailableConsentsForCurrentPsu()
ConsentAccessgetAvailableConsentsForCurrentPsu in interface ConsentAccessCopyright © 2020. All rights reserved.