Class DefaultCustomerEmailResolutionService
- java.lang.Object
-
- de.hybris.platform.commerceservices.customer.impl.DefaultCustomerEmailResolutionService
-
- All Implemented Interfaces:
CustomerEmailResolutionService
public class DefaultCustomerEmailResolutionService extends java.lang.Object implements CustomerEmailResolutionService
Default implementation ofCustomerEmailResolutionService.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_CUSTOMER_EMAILstatic java.lang.StringDEFAULT_CUSTOMER_KEY
-
Constructor Summary
Constructors Constructor Description DefaultCustomerEmailResolutionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConfigurationServicegetConfigurationService()java.lang.StringgetEmailForCustomer(CustomerModel customerModel)Retrieves email address of a given customervoidsetConfigurationService(ConfigurationService configurationService)protected java.lang.StringvalidateAndProcessEmailForCustomer(CustomerModel customerModel)
-
-
-
Field Detail
-
DEFAULT_CUSTOMER_KEY
public static final java.lang.String DEFAULT_CUSTOMER_KEY
- See Also:
- Constant Field Values
-
DEFAULT_CUSTOMER_EMAIL
public static final java.lang.String DEFAULT_CUSTOMER_EMAIL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
getEmailForCustomer
public java.lang.String getEmailForCustomer(CustomerModel customerModel)
Description copied from interface:CustomerEmailResolutionServiceRetrieves email address of a given customer- Specified by:
getEmailForCustomerin interfaceCustomerEmailResolutionService- Parameters:
customerModel- the customer- Returns:
- the customer's email address
-
validateAndProcessEmailForCustomer
protected java.lang.String validateAndProcessEmailForCustomer(CustomerModel customerModel)
-
-