public class DefaultCMSDynamicAttributeService extends java.lang.Object implements CMSDynamicAttributeService
CMSDynamicAttributeService.| Constructor and Description |
|---|
DefaultCMSDynamicAttributeService() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterAllItems(PageContext pageContext) |
java.util.Map<java.lang.String,java.lang.String> |
getDynamicComponentAttributes(AbstractCMSComponentModel component,
ContentSlotModel contentSlot) |
java.util.Map<java.lang.String,java.lang.String> |
getDynamicContentSlotAttributes(ContentSlotModel contentSlot,
PageContext pageContext,
java.util.Map<java.lang.String,java.lang.String> initialMaps) |
java.lang.String |
getFallbackElement(CMSItemModel cmsItemModel) |
public java.util.Map<java.lang.String,java.lang.String> getDynamicComponentAttributes(AbstractCMSComponentModel component, ContentSlotModel contentSlot)
getDynamicComponentAttributes in interface CMSDynamicAttributeServicecomponent - the CMS component to resolve dynamic attributes forcontentSlot - the content slot holding the componentMap of dynamic attributes for the given CMS componentpublic java.util.Map<java.lang.String,java.lang.String> getDynamicContentSlotAttributes(ContentSlotModel contentSlot, PageContext pageContext, java.util.Map<java.lang.String,java.lang.String> initialMaps)
getDynamicContentSlotAttributes in interface CMSDynamicAttributeServicecontentSlot - the content slot to resolve dynamic attributes forpageContext - the current page contextinitialMaps - the initial mapsMap of dynamic attributes for the given CMS content slotpublic void afterAllItems(PageContext pageContext)
afterAllItems in interface CMSDynamicAttributeServicepageContext - the current page contextpublic java.lang.String getFallbackElement(CMSItemModel cmsItemModel)
getFallbackElement in interface CMSDynamicAttributeServicecmsItemModel - the CMS item modelCopyright © 2018 SAP SE. All Rights Reserved.