java.lang.Object
de.hybris.platform.addonsupport.renderer.impl.DefaultAddOnCMSComponentRenderer<C>
com.sap.retail.commercesuite.saparticleb2caddon.renderer.ArticleComponentsRenderer<C>
Type Parameters:
C - the the component to render
All Implemented Interfaces:
de.hybris.platform.acceleratorcms.component.renderer.CMSComponentRenderer<C>

public class ArticleComponentsRenderer<C extends ArticleComponentTabParagraphComponentModel> extends de.hybris.platform.addonsupport.renderer.impl.DefaultAddOnCMSComponentRenderer<C>
Renderer class for the article components tab view. The renderer overwrites the DefaultAddonCMSComponentRenderer. The getUIExperienceFolder() method is overwritten to enable the correct determination of views of the responsive UI.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    Getter for uiExperienceViewFolderNames map.
    void
    Set the uiExperienceViewFolderNames map to the given map.

    Methods inherited from class de.hybris.platform.addonsupport.renderer.impl.DefaultAddOnCMSComponentRenderer

    exposeVariables, getAddonUiExtensionName, getBean, getCmsComponentFolder, getCmsComponentService, getModelService, getRequestContextData, getScopeForVariableName, getTypeCode, getTypeService, getUiExperienceService, getUiExperienceViewPrefixMap, getUnknownUiExperiencePrefix, getVariablesToExpose, getView, getViewResourceName, renderComponent, setCmsComponentFolder, setCmsComponentService, setModelService, setTypeService, setUiExperienceService, setUiExperienceViewPrefixMap, setUnknownUiExperiencePrefix, unExposeVariables

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ArticleComponentsRenderer

      public ArticleComponentsRenderer()
  • Method Details

    • getUiExperienceViewFolderNames

      public Map<UiExperienceLevel,String> getUiExperienceViewFolderNames()
      Getter for uiExperienceViewFolderNames map.
      Returns:
      the uiExperienceViewFolderNames map
    • setUiExperienceViewFolderNames

      public void setUiExperienceViewFolderNames(Map<UiExperienceLevel,String> uiExperienceViewFolderNames)
      Set the uiExperienceViewFolderNames map to the given map.
      Parameters:
      uiExperienceViewFolderNames - the uiExperienceViewFolderNames map to use
    • getUIExperienceFolder

      protected String getUIExperienceFolder()
      Overrides:
      getUIExperienceFolder in class de.hybris.platform.addonsupport.renderer.impl.DefaultAddOnCMSComponentRenderer<C extends ArticleComponentTabParagraphComponentModel>