Class RelatedProductsImpl

  • All Implemented Interfaces:
    ProductCarousel, com.adobe.cq.export.json.ComponentExporter, com.adobe.cq.wcm.core.components.models.Component

    @Model(adaptables=org.apache.sling.api.SlingHttpServletRequest.class,
           adapters={ProductCarousel.class,com.adobe.cq.export.json.ComponentExporter.class},
           resourceType="core/cif/components/commerce/relatedproducts/v1/relatedproducts")
    public class RelatedProductsImpl
    extends DataLayerComponent
    implements ProductCarousel
    • Constructor Detail

      • RelatedProductsImpl

        public RelatedProductsImpl()
    • Method Detail

      • isConfigured

        public boolean isConfigured()
        Description copied from interface: ProductCarousel
        Returns true if the component is correctly configured, false otherwise.
        Specified by:
        isConfigured in interface ProductCarousel
        Returns:
        true or false
      • getTitleType

        public String getTitleType()
        Description copied from interface: ProductCarousel
        Should return the HTML tag type for the component title.
        Specified by:
        getTitleType in interface ProductCarousel
        Returns:
        The HTML tag type that should be used to display the component title.
      • getExportedType

        public String getExportedType()
        Specified by:
        getExportedType in interface com.adobe.cq.wcm.core.components.models.Component
        Specified by:
        getExportedType in interface com.adobe.cq.export.json.ComponentExporter
      • getRelationType

        public com.adobe.cq.commerce.core.components.internal.models.v1.relatedproducts.RelatedProductsRetriever.RelationType getRelationType()