Interface CMSDynamicAttributeService

    • Method Detail

      • getDynamicComponentAttributes

        java.util.Map<java.lang.String,​java.lang.String> getDynamicComponentAttributes​(AbstractCMSComponentModel component,
                                                                                             ContentSlotModel contentSlot)
        Parameters:
        component - the CMS component to resolve dynamic attributes for
        contentSlot - the content slot holding the component
        Returns:
        Map of dynamic attributes for the given CMS component
      • getDynamicContentSlotAttributes

        java.util.Map<java.lang.String,​java.lang.String> getDynamicContentSlotAttributes​(ContentSlotModel contentSlot,
                                                                                               javax.servlet.jsp.PageContext pageContext,
                                                                                               java.util.Map<java.lang.String,​java.lang.String> initialMaps)
        Parameters:
        contentSlot - the content slot to resolve dynamic attributes for
        pageContext - the current page context
        initialMaps - the initial maps
        Returns:
        Map of dynamic attributes for the given CMS content slot
      • afterAllItems

        void afterAllItems​(javax.servlet.jsp.PageContext pageContext)
        Parameters:
        pageContext - the current page context
      • getFallbackElement

        java.lang.String getFallbackElement​(CMSItemModel cmsItemModel)
        Parameters:
        cmsItemModel - the CMS item model
        Returns:
        the element to create if none provided