Class MerchCatalogServiceClientAdapter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MerchCatalogServiceClient getAdaptee()
      Gets the configured service.
      protected ApiRegistryClientService getYaasServiceFactory()
      Gets the configured client service.
      java.lang.String handleCategories​(CategoryHierarchyWrapper categories)
      handleCategories is a method for sending categories to Merch v2.
      rx.Observable<java.lang.String> handleCategoriesAsync​(CategoryHierarchyWrapper categories)
      handleCategoriesAsync is an asynchronous method for sending categories to Merch v2.
      java.lang.String handleProductsBatch​(java.lang.Long version, java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> products)
      handleProductsBatch is a handler for accepting a batch of products and sending them to the Merchandising Catalog service.
      java.lang.String handleProductsBatch​(java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> products)
      handleProductsBatch is a handler for accepting a batch of products and sending them to the Merchandising Catalog service.
      rx.Observable<java.lang.String> handleProductsBatchAsynch​(java.lang.Long version, java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> products)
      handleProductsBatchAsync is a handler for accepting a batch of products and sending them to the Merchandising Catalog service.
      rx.Observable<java.lang.String> handleProductsBatchAsynch​(java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> products)
      handleProductsBatchAsynch is a handler for accepting a batch of products and sending them to the Merchandising Catalog service.
      java.lang.Void publishProducts​(java.lang.Long version)
      publishProducts is an API for marking a set of products as being published to live in a synchronous manner.
      rx.Observable<java.lang.Void> publishProductsAsync​(java.lang.Long version)
      publishProducts is an API for marking a set of products as being published to live in an asynchronous manner.
      void setApiRegistryClientService​(ApiRegistryClientService apiRegistryClientService)
      Sets the configured client service.
      • Methods inherited from class java.lang.Object

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

      • MerchCatalogServiceClientAdapter

        public MerchCatalogServiceClientAdapter()
    • Method Detail

      • handleProductsBatch

        public java.lang.String handleProductsBatch​(java.lang.Long version,
                                                    java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> products)
        handleProductsBatch is a handler for accepting a batch of products and sending them to the Merchandising Catalog service.
        Specified by:
        handleProductsBatch in interface MerchCatalogServiceClient
        Parameters:
        version - the version to send the products as.
        products - a list of products to send.
        Returns:
        String - ID of the operation.
      • handleProductsBatchAsynch

        public rx.Observable<java.lang.String> handleProductsBatchAsynch​(java.lang.Long version,
                                                                         java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> products)
        handleProductsBatchAsync is a handler for accepting a batch of products and sending them to the Merchandising Catalog service.
        Specified by:
        handleProductsBatchAsynch in interface MerchCatalogServiceClient
        Parameters:
        version - the version to send the products as.
        products - a list of products to send.
        Returns:
        String - ID of the operation.
      • publishProducts

        public java.lang.Void publishProducts​(java.lang.Long version)
        publishProducts is an API for marking a set of products as being published to live in a synchronous manner.
        Specified by:
        publishProducts in interface MerchCatalogServiceClient
        Parameters:
        version - the version to publish.
        Returns:
        Void.
      • publishProductsAsync

        public rx.Observable<java.lang.Void> publishProductsAsync​(java.lang.Long version)
        publishProducts is an API for marking a set of products as being published to live in an asynchronous manner.
        Specified by:
        publishProductsAsync in interface MerchCatalogServiceClient
        Parameters:
        version - the version to publish.
        Returns:
        Void.
      • handleProductsBatch

        public java.lang.String handleProductsBatch​(java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> products)
        handleProductsBatch is a handler for accepting a batch of products and sending them to the Merchandising Catalog service.
        Specified by:
        handleProductsBatch in interface MerchCatalogServiceClient
        Parameters:
        products - a list of products to send.
        Returns:
        String - ID of the operation.
      • handleProductsBatchAsynch

        public rx.Observable<java.lang.String> handleProductsBatchAsynch​(java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> products)
        handleProductsBatchAsynch is a handler for accepting a batch of products and sending them to the Merchandising Catalog service.
        Specified by:
        handleProductsBatchAsynch in interface MerchCatalogServiceClient
        Parameters:
        products - a list of products to send.
        Returns:
        String - ID of the operation.