Class DataLayerComponent
- java.lang.Object
-
- com.adobe.cq.commerce.core.components.internal.datalayer.DataLayerComponent
-
- Direct Known Subclasses:
BreadcrumbImpl
,DataLayerListItem
,FeaturedCategoryListImpl
,ProductCarouselImpl
,ProductCollectionImpl
,ProductImpl
,ProductTeaserImpl
,RelatedProductsImpl
,SearchbarImpl
public abstract class DataLayerComponent extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
ID_SEPARATOR
protected org.apache.sling.api.resource.Resource
resource
-
Constructor Summary
Constructors Constructor Description DataLayerComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
generateId()
protected com.adobe.cq.wcm.core.components.models.datalayer.ComponentData
getComponentData()
com.adobe.cq.wcm.core.components.models.datalayer.ComponentData
getData()
org.apache.sling.api.resource.Resource
getDataLayerAssetResource()
com.adobe.cq.wcm.core.components.models.datalayer.AssetData[]
getDataLayerAssets()
CategoryData[]
getDataLayerCategories()
String
getDataLayerCurrency()
String
getDataLayerDescription()
String
getDataLayerLanguage()
String
getDataLayerLinkUrl()
Double
getDataLayerPrice()
String[]
getDataLayerShownItems()
String
getDataLayerSKU()
String[]
getDataLayerTags()
String
getDataLayerTemplatePath()
String
getDataLayerText()
String
getDataLayerTitle()
String
getDataLayerType()
String
getDataLayerUrl()
String
getId()
-
-
-
Field Detail
-
ID_SEPARATOR
public static final String ID_SEPARATOR
- See Also:
- Constant Field Values
-
resource
@Inject protected org.apache.sling.api.resource.Resource resource
-
-
Method Detail
-
getData
public com.adobe.cq.wcm.core.components.models.datalayer.ComponentData getData()
-
getComponentData
protected com.adobe.cq.wcm.core.components.models.datalayer.ComponentData getComponentData()
-
generateId
protected String generateId()
-
getId
public String getId()
-
getDataLayerAssetResource
public org.apache.sling.api.resource.Resource getDataLayerAssetResource()
-
getDataLayerType
public String getDataLayerType()
-
getDataLayerTitle
public String getDataLayerTitle()
-
getDataLayerDescription
public String getDataLayerDescription()
-
getDataLayerText
public String getDataLayerText()
-
getDataLayerTags
public String[] getDataLayerTags()
-
getDataLayerUrl
public String getDataLayerUrl()
-
getDataLayerLinkUrl
public String getDataLayerLinkUrl()
-
getDataLayerTemplatePath
public String getDataLayerTemplatePath()
-
getDataLayerLanguage
public String getDataLayerLanguage()
-
getDataLayerShownItems
public String[] getDataLayerShownItems()
-
getDataLayerSKU
public String getDataLayerSKU()
-
getDataLayerPrice
public Double getDataLayerPrice()
-
getDataLayerCurrency
public String getDataLayerCurrency()
-
getDataLayerAssets
public com.adobe.cq.wcm.core.components.models.datalayer.AssetData[] getDataLayerAssets()
-
getDataLayerCategories
public CategoryData[] getDataLayerCategories()
-
-