public interface ProductCarouselRendererService
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ProductModel> |
getDisplayableProducts(CategoryModel category)
When in preview mode, we will swap the given products of a product category for their counterpart in the catalog
version in session for their respective catalogs.
|
java.util.List<ProductModel> |
getDisplayableProducts(ProductCarouselComponentModel component)
When in preview mode, we will swap the given products of a product carousel component for their counterpart in the
catalog version in session for their respective catalogs.
|
java.util.List<CategoryModel> |
getListOfCategories(ProductCarouselComponentModel component)
Returns the full list categories without the session catalog version filtering out the ones from different
versions.
|
java.util.List<ProductModel> getDisplayableProducts(ProductCarouselComponentModel component)
component - the product carousel component modelProductModel for the catalog versions in sessionjava.util.List<ProductModel> getDisplayableProducts(CategoryModel category)
category - the ProductModel go retrieve the productsProductModel for the catalog versions in sessionjava.util.List<CategoryModel> getListOfCategories(ProductCarouselComponentModel component)
component - the product carousel component modelCategoryModel for the catalog versions in sessionCopyright © 2018 SAP SE. All Rights Reserved.