Interface ComponentData
-
- All Known Subinterfaces:
ContainerData
,ContentFragmentData
,ImageData
,PageData
@ConsumerType public interface ComponentData
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
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.String
getDescription()
Returns the component's description used in the data layerdefault java.lang.String
getId()
Returns the component's IDdefault @Nullable java.lang.String
getJson()
Returns the JSON string of the component's properties used in the data layerdefault java.util.Date
getLastModifiedDate()
Returns the component's last modified date using ISO 8601 standarddefault java.lang.String
getLinkUrl()
Returns the component's link URL used in the data layerdefault java.lang.String
getParentId()
Returns the component's parent IDdefault java.lang.String
getText()
Returns the component's text used in the data layerdefault java.lang.String
getTitle()
Returns the component's title used in the data layerdefault java.lang.String
getType()
Returns the component's type used in the data layer
-
-
-
Method Detail
-
getId
default java.lang.String getId()
Returns the component's ID- Returns:
- string ID
- Since:
- com.adobe.cq.wcm.core.components.models.datalayer 1.0.0
-
getType
default java.lang.String 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
default java.util.Date 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
default java.lang.String 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
default java.lang.String 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
default java.lang.String 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
default java.lang.String 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
default java.lang.String 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
@Nullable default @Nullable java.lang.String 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
-
-