Interface VendorCMSStrategy
- All Known Implementing Classes:
DefaultVendorCMSStrategy
public interface VendorCMSStrategy
A strategy for create cms page/restriction/slot/component for a vendor.
-
Method Summary
Modifier and TypeMethodDescriptiongetContentSlotByPositionAndCatalogVersion(VendorModel vendor, String position, CatalogVersionModel catalogVersion) get the content slot instance from a vendor page by its positionget the product carousel components in a vendor landing pageA key to create the whole landing page with default content slots and components
-
Method Details
-
prepareLandingPageForVendor
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, 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
get the product carousel components in a vendor landing page- Parameters:
vendor- the specific vendor- Returns:
- list of product carousel components
-