Class ConsentEntity

    • Constructor Detail

      • ConsentEntity

        public ConsentEntity()
    • Method Detail

      • consentPostLoad

        public void consentPostLoad()
      • consentPreUpdate

        public void consentPreUpdate()
      • consentPrePersist

        public void consentPrePersist()
      • isConfirmationExpired

        public boolean isConfirmationExpired​(long expirationPeriodMs)
      • isWrongConsentData

        public boolean isWrongConsentData()
      • isExpiredByDate

        public boolean isExpiredByDate()
      • shouldConsentBeExpired

        public boolean shouldConsentBeExpired()
      • isNonReccuringAlreadyUsed

        public boolean isNonReccuringAlreadyUsed()
        Checks, whether the consent is non-recurring and was used any time before today. Currently non-recurring consent allows to perform read operations only within the day, it was used first time.
        Returns:
        Returns true if consent is non-recurrent and has no usages before today, false otherwise.
      • isOneAccessType

        public boolean isOneAccessType()
      • getInternalRequestId

        public String getInternalRequestId​(de.adorsys.psd2.xs2a.core.authorisation.AuthorisationType authorisationType)
        Specified by:
        getInternalRequestId in interface Authorisable