Field Summary
Fields inherited from interface com.adobe.cq.wcm.core.components.models.Component
PN_ID
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods
Returns the description of this ListItem.
Returns the date when this ListItem was last modified.
Returns the link of this ListItem.
Returns the name of this ListItem.
Returns the path of this ListItem.
Returns a wrapped resource of the item which is used to render the item as a Teaser component.
Returns the title of this ListItem.
Method Details
getLink
@Nullable
default @Nullable Link getLink ()
Returns the link of this ListItem.
Returns:
the link of this list item.
Since:
com.adobe.cq.wcm.core.components.models 12.20.0
getURL
Deprecated.
Returns the URL of this ListItem.
Returns:
the URL of this list item or null
Since:
com.adobe.cq.wcm.core.components.models 12.2.0
getTitle
@Nullable
default @Nullable String getTitle ()
Returns the title of this ListItem.
Returns:
the title of this list item or null
Since:
com.adobe.cq.wcm.core.components.models 12.2.0
getDescription
@Nullable
default @Nullable String getDescription ()
Returns the description of this ListItem.
Returns:
the description of this list item or null
Since:
com.adobe.cq.wcm.core.components.models 12.2.0
getLastModified
@Nullable
default @Nullable Calendar getLastModified ()
Returns the date when this ListItem was last modified.
Returns:
the last modified date of this list item or null
Since:
com.adobe.cq.wcm.core.components.models 12.2.0
getPath
@Nullable
default @Nullable String getPath ()
Returns the path of this ListItem.
Returns:
the list item path or null
Since:
com.adobe.cq.wcm.core.components.models 12.2.0
getName
@Nullable
default @Nullable String getName ()
Returns the name of this ListItem.
Returns:
the list item name or null
Since:
com.adobe.cq.wcm.core.components.models 12.6.0
getTeaserResource
@Nullable
default @Nullable Resource getTeaserResource ()
Returns a wrapped resource of the item which is used to render the item as a Teaser component.
The wrapped resource is either:
- the featured image of the item page, if it exists
- the content node of the item page, if it exists
- null otherwise
Returns:
wrapped resource of the item which can be rendered as a Teaser component
Since:
com.adobe.cq.wcm.core.components.models 12.21.0
getLink()