Class PersonalizationDynamicAttributeService
java.lang.Object
de.hybris.platform.acceleratorcms.services.impl.DefaultCMSDynamicAttributeService
de.hybris.platform.personalizationaddon.PersonalizationDynamicAttributeService
- All Implemented Interfaces:
CMSDynamicAttributeService
CxCMS service extending the
DefaultCMSDynamicAttributeService.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDynamicComponentAttributes(AbstractCMSComponentModel component, ContentSlotModel contentSlot) Resolves dynamic attributes for the provided CMS component.getFallbackElement(CMSItemModel cmsItemModel) Decides a fallback element if no element was provided.voidsetCxViewValueCoder(CxViewValueCoder cxViewValueCoder) Methods inherited from class de.hybris.platform.acceleratorcms.services.impl.DefaultCMSDynamicAttributeService
afterAllItems, getDynamicContentSlotAttributes
-
Constructor Details
-
PersonalizationDynamicAttributeService
public PersonalizationDynamicAttributeService()
-
-
Method Details
-
getDynamicComponentAttributes
public Map<String,String> getDynamicComponentAttributes(AbstractCMSComponentModel component, ContentSlotModel contentSlot) Description copied from interface:CMSDynamicAttributeServiceResolves dynamic attributes for the provided CMS component.- Specified by:
getDynamicComponentAttributesin interfaceCMSDynamicAttributeService- Overrides:
getDynamicComponentAttributesin classDefaultCMSDynamicAttributeService- Parameters:
component- the CMS component to resolve dynamic attributes forcontentSlot- the content slot holding the component- Returns:
Mapof dynamic attributes for the given CMS component
-
getFallbackElement
Description copied from interface:CMSDynamicAttributeServiceDecides a fallback element if no element was provided.- Specified by:
getFallbackElementin interfaceCMSDynamicAttributeService- Overrides:
getFallbackElementin classDefaultCMSDynamicAttributeService- Parameters:
cmsItemModel- the CMS item model- Returns:
- the element to create if none provided
-
setCxViewValueCoder
-