public class MerchCatalogServiceClientAdapter extends java.lang.Object implements MerchCatalogServiceClient
| Constructor and Description |
|---|
MerchCatalogServiceClientAdapter() |
| Modifier and Type | Method and 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.
|
<any> |
handleCategoriesAsync(CategoryHierarchyWrapper categories)
handleCategoriesAsync is an asynchronous method for sending categories to Merch v2.
|
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.
|
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.
|
<any> |
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.
|
<any> |
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.
|
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.
|
<any> |
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.
|
public java.lang.String handleProductsBatch(java.lang.Long version,
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> products)
handleProductsBatch in interface MerchCatalogServiceClientversion - the version to send the products as.products - a list of products to send.public <any> handleProductsBatchAsynch(java.lang.Long version,
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> products)
handleProductsBatchAsynch in interface MerchCatalogServiceClientversion - the version to send the products as.products - a list of products to send.public java.lang.Void publishProducts(java.lang.Long version)
publishProducts in interface MerchCatalogServiceClientversion - the version to publish.public <any> publishProductsAsync(java.lang.Long version)
publishProductsAsync in interface MerchCatalogServiceClientversion - the version to publish.public <any> handleCategoriesAsync(CategoryHierarchyWrapper categories)
handleCategoriesAsync in interface MerchCatalogServiceClientcategories - the CategoryHierarchyWrapper object to publish.public java.lang.String handleCategories(CategoryHierarchyWrapper categories)
handleCategories in interface MerchCatalogServiceClientcategories - the CategoryHierarchyWrapper object to publish.public java.lang.String handleProductsBatch(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> products)
handleProductsBatch in interface MerchCatalogServiceClientproducts - a list of products to send.public <any> handleProductsBatchAsynch(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> products)
handleProductsBatchAsynch in interface MerchCatalogServiceClientproducts - a list of products to send.public MerchCatalogServiceClient getAdaptee()
MerchCatalogServiceClient.protected ApiRegistryClientService getYaasServiceFactory()
ApiRegistryClientService.public void setApiRegistryClientService(ApiRegistryClientService apiRegistryClientService)
apiRegistryClientService - ApiRegistryClientService.Copyright © 2018 SAP SE. All Rights Reserved.