Class SapCustomerIdMatchingStrategy
- java.lang.Object
-
- com.sap.hybris.sapcustomerb2c.strategy.SapCustomerIdMatchingStrategy
-
- All Implemented Interfaces:
de.hybris.platform.commerceservices.strategies.UserPropertyMatchingStrategy
public class SapCustomerIdMatchingStrategy extends java.lang.Object implements de.hybris.platform.commerceservices.strategies.UserPropertyMatchingStrategySAP customer ID matching strategy implementation forUserPropertyMatchingStrategy. The customerId pattern used in OCC should match the customerId pattern generated by the sapCustomerIdGenerator.
-
-
Constructor Summary
Constructors Constructor Description SapCustomerIdMatchingStrategy(de.hybris.platform.commerceservices.customer.CustomerService customerService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.hybris.platform.commerceservices.customer.CustomerServicegetCustomerService()<T extends UserModel>
java.util.Optional<T>getUserByProperty(java.lang.String propertyValue, java.lang.Class<T> clazz)protected booleanisSupported(java.lang.String propertyValue, java.lang.Class<?> clazz)
-
-
-
Method Detail
-
getUserByProperty
public <T extends UserModel> java.util.Optional<T> getUserByProperty(java.lang.String propertyValue, java.lang.Class<T> clazz)
- Specified by:
getUserByPropertyin interfacede.hybris.platform.commerceservices.strategies.UserPropertyMatchingStrategy
-
isSupported
protected boolean isSupported(java.lang.String propertyValue, java.lang.Class<?> clazz)
-
getCustomerService
public de.hybris.platform.commerceservices.customer.CustomerService getCustomerService()
-
-