Interface ComponentData
-
- All Known Subinterfaces:
ContainerData,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.StringgetDescription()Returns the component's description used in the data layerdefault java.lang.StringgetId()Returns the component's IDdefault @Nullable java.lang.StringgetJson()Returns the JSON string of the component's properties used in the data layerdefault java.util.DategetLastModifiedDate()Returns the component's last modified date using ISO 8601 standarddefault java.lang.StringgetLinkUrl()Returns the component's link URL used in the data layerdefault java.lang.StringgetParentId()Returns the component's parent IDdefault java.lang.StringgetText()Returns the component's text used in the data layerdefault java.lang.StringgetTitle()Returns the component's title used in the data layerdefault java.lang.StringgetType()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
-
-