Interface ConsentDao

    • Method Detail

      • findConsentByCustomerAndConsentTemplate

        ConsentModel findConsentByCustomerAndConsentTemplate​(CustomerModel customer,
                                                             ConsentTemplateModel consentTemplate)
        Finds the latest consent for the specified customer and consent template.
        Parameters:
        customer - the customer to get the consent for
        consentTemplate - the consent template to get the consent for
        Returns:
        the consent if found, otherwise null
      • findAllConsentsByCustomer

        java.util.List<ConsentModel> findAllConsentsByCustomer​(CustomerModel customer)
        Finds all consents for the specified customer.
        Parameters:
        customer - the customer to get the consents for
        Returns:
        the consents