public class PageRenderingPopulator extends java.lang.Object implements Populator<AbstractPageModel,AbstractPageData>
| Constructor and Description |
|---|
PageRenderingPopulator() |
| Modifier and Type | Method and Description |
|---|---|
protected CMSPageService |
getCmsPageService() |
protected Converter<ContentSlotData,PageContentSlotData> |
getContentSlotRenderingConverter() |
protected boolean |
isSlotActive(ContentSlotData contentSlot)
This method is used to determine whether a content slot is active or not.
|
void |
populate(AbstractPageModel sourceModel,
AbstractPageData targetData)
Populate the target instance with values from the source instance.
|
void |
setCmsPageService(CMSPageService cmsPageService) |
void |
setContentSlotRenderingConverter(Converter<ContentSlotData,PageContentSlotData> contentSlotRenderingConverter) |
public void populate(AbstractPageModel sourceModel, AbstractPageData targetData)
Populatorpopulate in interface Populator<AbstractPageModel,AbstractPageData>sourceModel - the source objecttargetData - the target to fillprotected boolean isSlotActive(ContentSlotData contentSlot)
contentSlot - the content slot whose status to checkprotected CMSPageService getCmsPageService()
public void setCmsPageService(CMSPageService cmsPageService)
protected Converter<ContentSlotData,PageContentSlotData> getContentSlotRenderingConverter()
public void setContentSlotRenderingConverter(Converter<ContentSlotData,PageContentSlotData> contentSlotRenderingConverter)
Copyright © 2018 SAP SE. All Rights Reserved.