Class CustomerContextRequestHydrator

java.lang.Object
com.broadleafcommerce.data.tracking.core.web.DefaultContextRequestHydrator
com.broadleafcommerce.customer.web.endpoint.CustomerContextRequestHydrator
All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator, org.springframework.core.Ordered

public class CustomerContextRequestHydrator extends com.broadleafcommerce.data.tracking.core.web.DefaultContextRequestHydrator
Hydrates the customerContextId to the tenantId if it was not provided in the ContextRequest.
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    com.broadleafcommerce.data.tracking.core.context.ContextRequest
    hydrate(com.broadleafcommerce.data.tracking.core.context.ContextRequest dehydrated)
     

    Methods inherited from class com.broadleafcommerce.data.tracking.core.web.DefaultContextRequestHydrator

    determineCatalog, fetchFromCache, setApplicationService, setAttributesConverter, setCatalogService, setDataRouteReference, setEnvironment, setupCurrentCatalog, setupSiteInheritanceLines

    Methods inherited from class java.lang.Object

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

    • CustomerContextRequestHydrator

      public CustomerContextRequestHydrator()
  • Method Details

    • hydrate

      public com.broadleafcommerce.data.tracking.core.context.ContextRequest hydrate(com.broadleafcommerce.data.tracking.core.context.ContextRequest dehydrated)
      Specified by:
      hydrate in interface com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator
      Overrides:
      hydrate in class com.broadleafcommerce.data.tracking.core.web.DefaultContextRequestHydrator
    • getOrder

      public int getOrder()