Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getOrder()  
      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
    • Constructor Detail

      • CustomerContextRequestHydrator

        public CustomerContextRequestHydrator()
    • Method Detail

      • 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()