Class DefaultPageContentSlotFacade
java.lang.Object
de.hybris.platform.cmsfacades.pagescontentslots.impl.DefaultPageContentSlotFacade
- All Implemented Interfaces:
PageContentSlotFacade
Default implementation of
PageContentSlotFacade.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CMSAdminContentSlotServiceprotected CMSAdminPageServiceprotected ContentSlotDataConvertergetContentSlotsByPage(String pageId) Get a list of content slots with their slot and their position in the page for a given page.protected PageContentSlotConverterRegistryvoidsetAdminContentSlotService(CMSAdminContentSlotService adminContentSlotService) voidsetAdminPageService(CMSAdminPageService adminPageService) voidsetContentSlotDataConverter(ContentSlotDataConverter contentSlotDataConverter) voidsetPageContentSlotConverterRegistry(PageContentSlotConverterRegistry pageContentSlotConverterRegistry)
-
Constructor Details
-
DefaultPageContentSlotFacade
public DefaultPageContentSlotFacade()
-
-
Method Details
-
getContentSlotsByPage
public List<PageContentSlotData> getContentSlotsByPage(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
-
setAdminContentSlotService
-
getPageContentSlotConverterRegistry
-
setPageContentSlotConverterRegistry
public void setPageContentSlotConverterRegistry(PageContentSlotConverterRegistry pageContentSlotConverterRegistry) -
getAdminPageService
-
setAdminPageService
-
getContentSlotDataConverter
-
setContentSlotDataConverter
-