Package com.hybris.merchandising.client
Interface MerchCatalogServiceClient
-
- All Known Implementing Classes:
MerchCatalogServiceClientAdapter,NoOpMerchCatalogServiceClientAdapter
public interface MerchCatalogServiceClientMerchCatalogServiceClient is a JAX-RS interface for the Merchandising Catalog Service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringhandleCategories(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.StringhandleProductsBatch(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.StringhandleProductsBatch(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.VoidpublishProducts(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.
-
-
-
Method Detail
-
handleProductsBatch
@POST @Produces("application/json") @Path("/${tenant}/products") java.lang.String handleProductsBatch(@QueryParam("version") 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.- Parameters:
version- the version to send the products as.products- a list of products to send.- Returns:
- String - ID of the operation.
-
handleProductsBatch
@POST @Produces("application/json") @Path("/${tenant}/products") 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.- Parameters:
products- a list of products to send.- Returns:
- String - ID of the operation.
-
handleProductsBatchAsynch
@POST @Produces("application/json") @Path("/${tenant}/products") 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.- Parameters:
products- a list of products to send.- Returns:
- String - ID of the operation.
-
handleProductsBatchAsynch
@POST @Produces("application/json") @Path("/${tenant}/products") rx.Observable<java.lang.String> handleProductsBatchAsynch(@QueryParam("version") 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.- Parameters:
version- the version to send the products as.products- a list of products to send.- Returns:
- String - ID of the operation.
-
publishProducts
@POST @Produces("application/json") @Path("/${tenant}/products/publish") java.lang.Void publishProducts(@QueryParam("version") java.lang.Long version)publishProducts is an API for marking a set of products as being published to live in a synchronous manner.- Parameters:
version- the version to publish.- Returns:
- Void.
-
publishProductsAsync
@POST @Produces("application/json") @Path("/${tenant}/products/publish") rx.Observable<java.lang.Void> publishProductsAsync(@QueryParam("version") java.lang.Long version)publishProducts is an API for marking a set of products as being published to live in an asynchronous manner.- Parameters:
version- the version to publish.- Returns:
- Void.
-
handleCategoriesAsync
@POST @Produces("application/json") @Path("/${tenant}/categories") rx.Observable<java.lang.String> handleCategoriesAsync(CategoryHierarchyWrapper categories)handleCategoriesAsync is an asynchronous method for sending categories to Merch v2.- Parameters:
categories- theCategoryHierarchyWrapperobject to publish.- Returns:
- an Observable containing the response.
-
handleCategories
@POST @Produces("application/json") @Path("/${tenant}/categories") java.lang.String handleCategories(CategoryHierarchyWrapper categories)handleCategories is a method for sending categories to Merch v2.- Parameters:
categories- theCategoryHierarchyWrapperobject to publish.- Returns:
- String - ID of the operation.
-
-