Class CMSItemToDataContentConverter

java.lang.Object
de.hybris.platform.cmsfacades.rendering.attributeconverters.CMSItemToDataContentConverter
All Implemented Interfaces:
Converter<CMSItemModel,String>

public class CMSItemToDataContentConverter extends Object implements Converter<CMSItemModel,String>
Rendering Attribute Converter for CMSItemModel. Converts the item into its UID (String) representation.
  • Constructor Details

    • CMSItemToDataContentConverter

      public CMSItemToDataContentConverter()
  • Method Details

    • convert

      public String convert(CMSItemModel source)
      Description copied from interface: Converter
      Uses the source S object and produces an new instance of T.
      Specified by:
      convert in interface Converter<CMSItemModel,String>
      Parameters:
      source - the input to be converted.
      Returns:
      an instance of T, converted from the input source.
    • getRenderingVisibilityService

      protected RenderingVisibilityService getRenderingVisibilityService()
    • setRenderingVisibilityService

      public void setRenderingVisibilityService(RenderingVisibilityService renderingVisibilityService)