public class DefaultConsentDao extends DefaultGenericDao<ConsentModel> implements ConsentDao
ConsentDao interface extending DefaultGenericDao| Constructor and Description |
|---|
DefaultConsentDao() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ConsentModel> |
findAllConsentsByCustomer(CustomerModel customer)
Finds all consents for the specified customer.
|
ConsentModel |
findConsentByCustomerAndConsentTemplate(CustomerModel customer,
ConsentTemplateModel consentTemplate)
Finds the latest consent for the specified customer and consent template.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
populateBasicQueryParams(CustomerModel customer,
ConsentTemplateModel consentTemplate) |
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchServicepublic ConsentModel findConsentByCustomerAndConsentTemplate(CustomerModel customer, ConsentTemplateModel consentTemplate)
ConsentDaofindConsentByCustomerAndConsentTemplate in interface ConsentDaocustomer - the customer to get the consent forconsentTemplate - the consent template to get the consent forprotected java.util.Map<java.lang.String,java.lang.Object> populateBasicQueryParams(CustomerModel customer, ConsentTemplateModel consentTemplate)
public java.util.List<ConsentModel> findAllConsentsByCustomer(CustomerModel customer)
ConsentDaofindAllConsentsByCustomer in interface ConsentDaocustomer - the customer to get the consents forCopyright © 2018 SAP SE. All Rights Reserved.