Class DefaultCMSDataFactory
- java.lang.Object
-
- de.hybris.platform.cms2.servicelayer.data.impl.DefaultCMSDataFactory
-
- All Implemented Interfaces:
CMSDataFactory
- Direct Known Subclasses:
MarketplaceCMSDataFactoryImpl
public class DefaultCMSDataFactory extends java.lang.Object implements CMSDataFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected CatalogServicecatalogServiceprotected CategoryServicecategoryServiceprotected CMSSiteServicecmsSiteServiceprotected ProductServiceproductService
-
Constructor Summary
Constructors Constructor Description DefaultCMSDataFactory()
-
Method Summary
-
-
-
Field Detail
-
cmsSiteService
protected CMSSiteService cmsSiteService
-
productService
protected ProductService productService
-
categoryService
protected CategoryService categoryService
-
catalogService
protected CatalogService catalogService
-
-
Method Detail
-
createContentSlotData
public ContentSlotData createContentSlotData(ContentSlotForPageModel csForPage)
- Specified by:
createContentSlotDatain interfaceCMSDataFactory
-
createContentSlotData
public ContentSlotData createContentSlotData(AbstractPageModel page, ContentSlotForTemplateModel csForTemplate)
- Specified by:
createContentSlotDatain interfaceCMSDataFactory
-
createContentSlotData
public ContentSlotData createContentSlotData(java.lang.String pageId, ContentSlotModel contentSlot, java.lang.String position, boolean fromMaster, boolean allowOverwrite)
- Specified by:
createContentSlotDatain interfaceCMSDataFactory
-
createRestrictionData
public RestrictionData createRestrictionData()
- Specified by:
createRestrictionDatain interfaceCMSDataFactory
-
createRestrictionData
public RestrictionData createRestrictionData(java.lang.String categoryCode, java.lang.String productCode, java.lang.String catalogCode)
- Specified by:
createRestrictionDatain interfaceCMSDataFactory
-
createRestrictionData
public RestrictionData createRestrictionData(CategoryModel category, ProductModel product)
- Specified by:
createRestrictionDatain interfaceCMSDataFactory
-
createRestrictionData
public RestrictionData createRestrictionData(ProductModel product)
- Specified by:
createRestrictionDatain interfaceCMSDataFactory
-
createRestrictionData
public RestrictionData createRestrictionData(CategoryModel category)
- Specified by:
createRestrictionDatain interfaceCMSDataFactory
-
createRestrictionData
public RestrictionData createRestrictionData(CatalogModel catalog)
- Specified by:
createRestrictionDatain interfaceCMSDataFactory
-
createRestrictionData
public RestrictionData createRestrictionData(java.lang.String key, java.lang.Object value)
- Specified by:
createRestrictionDatain interfaceCMSDataFactory
-
setCmsSiteService
public void setCmsSiteService(CMSSiteService cmsSiteService)
-
setCategoryService
public void setCategoryService(CategoryService categoryService)
-
setCatalogService
public void setCatalogService(CatalogService catalogService)
-
setProductService
public void setProductService(ProductService productService)
-
-