Class DefaultPageContentSlotFacade
- java.lang.Object
-
- de.hybris.platform.cmsfacades.pagescontentslots.impl.DefaultPageContentSlotFacade
-
- All Implemented Interfaces:
PageContentSlotFacade
public class DefaultPageContentSlotFacade extends java.lang.Object implements PageContentSlotFacade
Default implementation ofPageContentSlotFacade.
-
-
Constructor Summary
Constructors Constructor Description DefaultPageContentSlotFacade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CMSAdminContentSlotServicegetAdminContentSlotService()protected CMSAdminPageServicegetAdminPageService()protected ContentSlotDataConvertergetContentSlotDataConverter()java.util.List<PageContentSlotData>getContentSlotsByPage(java.lang.String pageId)Get a list of content slots with their slot and their position in the page for a given page.protected PageContentSlotConverterRegistrygetPageContentSlotConverterRegistry()voidsetAdminContentSlotService(CMSAdminContentSlotService adminContentSlotService)voidsetAdminPageService(CMSAdminPageService adminPageService)voidsetContentSlotDataConverter(ContentSlotDataConverter contentSlotDataConverter)voidsetPageContentSlotConverterRegistry(PageContentSlotConverterRegistry pageContentSlotConverterRegistry)
-
-
-
Method Detail
-
getContentSlotsByPage
public java.util.List<PageContentSlotData> getContentSlotsByPage(java.lang.String pageId) throws CMSItemNotFoundException, ConversionException
Description copied from interface:PageContentSlotFacadeGet a list of content slots with their slot and their position in the page for a given page.- Specified by:
getContentSlotsByPagein interfacePageContentSlotFacade- Parameters:
pageId- - the page containing the content slots- Returns:
- list of page ids with the position for a given slot; never null
- Throws:
CMSItemNotFoundException- when the page cannot be foundConversionException- when the converter for the CMS Relation Model type is not found
-
getAdminContentSlotService
protected CMSAdminContentSlotService getAdminContentSlotService()
-
setAdminContentSlotService
public void setAdminContentSlotService(CMSAdminContentSlotService adminContentSlotService)
-
getPageContentSlotConverterRegistry
protected PageContentSlotConverterRegistry getPageContentSlotConverterRegistry()
-
setPageContentSlotConverterRegistry
public void setPageContentSlotConverterRegistry(PageContentSlotConverterRegistry pageContentSlotConverterRegistry)
-
getAdminPageService
protected CMSAdminPageService getAdminPageService()
-
setAdminPageService
public void setAdminPageService(CMSAdminPageService adminPageService)
-
getContentSlotDataConverter
protected ContentSlotDataConverter getContentSlotDataConverter()
-
setContentSlotDataConverter
public void setContentSlotDataConverter(ContentSlotDataConverter contentSlotDataConverter)
-
-