Interface ProductCarousel
-
- All Superinterfaces:
com.adobe.cq.wcm.core.components.models.Component
,com.adobe.cq.export.json.ComponentExporter
- All Known Implementing Classes:
ProductCarouselImpl
,RelatedProductsImpl
public interface ProductCarousel extends com.adobe.cq.wcm.core.components.models.Component
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ProductListItem>
getProductIdentifiers()
List<ProductListItem>
getProducts()
Returns the list of products to be displayed in the carousel.AbstractProductsRetriever
getProductsRetriever()
Returns in instance of the products retriever for fetching product data via GraphQL.String
getTitleType()
Should return the HTML tag type for the component title.boolean
isConfigured()
Returns true if the component is correctly configured, false otherwise.
-
-
-
Method Detail
-
getProducts
@Nonnull List<ProductListItem> getProducts()
Returns the list of products to be displayed in the carousel.- Returns:
List
ofProductListItem
s
-
getProductIdentifiers
@Nonnull List<ProductListItem> getProductIdentifiers()
-
getProductsRetriever
AbstractProductsRetriever getProductsRetriever()
Returns in instance of the products retriever for fetching product data via GraphQL.- Returns:
- products retriever instance
-
isConfigured
boolean isConfigured()
Returns true if the component is correctly configured, false otherwise.- Returns:
- true or false
-
getTitleType
String getTitleType()
Should return the HTML tag type for the component title.- Returns:
- The HTML tag type that should be used to display the component title.
-
-