Interface ComponentData
- All Known Subinterfaces:
ContainerData,ContentFragmentData,EmbeddableData,ImageData,PageData
A base interface to be extended by components that need to enable data layer integration.
- Since:
- com.adobe.cq.wcm.core.components.models.datalayer 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the component's description used in the data layerdefault StringgetId()Returns the component's IDdefault @Nullable StringgetJson()Returns the JSON string of the component's properties used in the data layerdefault DateReturns the component's last modified date using ISO 8601 standarddefault StringReturns the component's link URL used in the data layerdefault StringReturns the component's parent IDdefault StringgetText()Returns the component's text used in the data layerdefault StringgetTitle()Returns the component's title used in the data layerdefault StringgetType()Returns the component's type used in the data layer
-
Method Details
-
getId
Returns the component's ID- Returns:
- string ID
- Since:
- com.adobe.cq.wcm.core.components.models.datalayer 1.0.0
-
getType
Returns the component's type used in the data layer- Returns:
- type
- Since:
- com.adobe.cq.wcm.core.components.models.datalayer 1.0.0
-
getLastModifiedDate
Returns the component's last modified date using ISO 8601 standard- Returns:
- lastModifiedDate
- Since:
- com.adobe.cq.wcm.core.components.models.datalayer 1.0.0
-
getParentId
Returns the component's parent ID- Returns:
- The component's parent ID
- Since:
- com.adobe.cq.wcm.core.components.models.datalayer 1.0.0
-
getTitle
Returns the component's title used in the data layer- Returns:
- src
- Since:
- com.adobe.cq.wcm.core.components.models.datalayer 1.0.0
-
getDescription
Returns the component's description used in the data layer- Returns:
- description
- Since:
- com.adobe.cq.wcm.core.components.models.datalayer 1.0.0
-
getText
Returns the component's text used in the data layer- Returns:
- text
- Since:
- com.adobe.cq.wcm.core.components.models.datalayer 1.0.0
-
getLinkUrl
Returns the component's link URL used in the data layer- Returns:
- link URL
- Since:
- com.adobe.cq.wcm.core.components.models.datalayer 1.0.0
-
getJson
Returns the JSON string of the component's properties used in the data layer- Returns:
- JSON string
- Since:
- com.adobe.cq.wcm.core.components.models.datalayer 1.0.0
-