Class SapCustomerIdMatchingStrategy

  • All Implemented Interfaces:
    de.hybris.platform.commerceservices.strategies.UserPropertyMatchingStrategy

    public class SapCustomerIdMatchingStrategy
    extends java.lang.Object
    implements de.hybris.platform.commerceservices.strategies.UserPropertyMatchingStrategy
    SAP customer ID matching strategy implementation for UserPropertyMatchingStrategy. 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.CustomerService getCustomerService()  
      <T extends UserModel>
      java.util.Optional<T>
      getUserByProperty​(java.lang.String propertyValue, java.lang.Class<T> clazz)  
      protected boolean isSupported​(java.lang.String propertyValue, java.lang.Class<?> clazz)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SapCustomerIdMatchingStrategy

        public SapCustomerIdMatchingStrategy​(de.hybris.platform.commerceservices.customer.CustomerService customerService)
    • Method Detail

      • getUserByProperty

        public <T extends UserModel> java.util.Optional<T> getUserByProperty​(java.lang.String propertyValue,
                                                                             java.lang.Class<T> clazz)
        Specified by:
        getUserByProperty in interface de.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()