Interface VendorCMSStrategy
-
- All Known Implementing Classes:
DefaultVendorCMSStrategy
public interface VendorCMSStrategyA strategy for create cms page/restriction/slot/component for a vendor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContentSlotModelgetContentSlotByPositionAndCatalogVersion(VendorModel vendor, java.lang.String position, CatalogVersionModel catalogVersion)get the content slot instance from a vendor page by its positionjava.util.List<AbstractCMSComponentModel>getVendorProductCarouselComponents(VendorModel vendor)get the product carousel components in a vendor landing pageAbstractPageModelprepareLandingPageForVendor(VendorModel vendor)A key to create the whole landing page with default content slots and components
-
-
-
Method Detail
-
prepareLandingPageForVendor
AbstractPageModel prepareLandingPageForVendor(VendorModel vendor)
A key to create the whole landing page with default content slots and components- Parameters:
vendor- the specific vendor- Returns:
- the instance of this page
-
getContentSlotByPositionAndCatalogVersion
ContentSlotModel getContentSlotByPositionAndCatalogVersion(VendorModel vendor, java.lang.String position, CatalogVersionModel catalogVersion)
get the content slot instance from a vendor page by its position- Parameters:
vendor- the specific vendorposition- the positioncatalogVersion- the catalog version the position of this content slot- Returns:
- the instance of this content slot
-
getVendorProductCarouselComponents
java.util.List<AbstractCMSComponentModel> getVendorProductCarouselComponents(VendorModel vendor)
get the product carousel components in a vendor landing page- Parameters:
vendor- the specific vendor- Returns:
- list of product carousel components
-
-