@Entity(name="consent") public class ConsentEntity extends InstanceDependableEntity implements Authorisable
| Constructor and Description |
|---|
ConsentEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
addUsage(AisConsentUsage aisConsentUsage) |
void |
consentPostLoad() |
void |
consentPrePersist() |
void |
consentPreUpdate() |
String |
getInternalRequestId(de.adorsys.psd2.xs2a.core.authorisation.AuthorisationType authorisationType) |
boolean |
isConfirmationExpired(long expirationPeriodMs) |
boolean |
isExpiredByDate() |
boolean |
isNonReccuringAlreadyUsed()
Checks, whether the consent is non-recurring and was used any time before today.
|
boolean |
isOneAccessType() |
boolean |
isWrongConsentData() |
boolean |
shouldConsentBeExpired() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAuthorisationTemplate, getExternalId, getPsuDataList, setPsuDataListpublic void consentPostLoad()
public void consentPreUpdate()
public void consentPrePersist()
public boolean isConfirmationExpired(long expirationPeriodMs)
public void addUsage(AisConsentUsage aisConsentUsage)
public boolean isWrongConsentData()
public boolean isExpiredByDate()
public boolean shouldConsentBeExpired()
public boolean isNonReccuringAlreadyUsed()
public boolean isOneAccessType()
public String getInternalRequestId(de.adorsys.psd2.xs2a.core.authorisation.AuthorisationType authorisationType)
getInternalRequestId in interface AuthorisableCopyright © 2020. All rights reserved.