Interface ListItem
-
- All Superinterfaces:
Component
,ComponentExporter
- All Known Subinterfaces:
LanguageNavigationItem
,NavigationItem
@ConsumerType public interface ListItem extends Component
- Since:
- com.adobe.cq.wcm.core.components.models 12.2.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default @Nullable java.lang.String
getDescription()
Returns the description of thisListItem
.default @Nullable java.util.Calendar
getLastModified()
Returns the date when thisListItem
was last modified.default @Nullable java.lang.String
getName()
Returns the name of thisListItem
.default @Nullable java.lang.String
getPath()
Returns the path of thisListItem
.default @Nullable java.lang.String
getTitle()
Returns the title of thisListItem
.default @Nullable java.lang.String
getURL()
Returns the URL of thisListItem
.-
Methods inherited from interface com.adobe.cq.wcm.core.components.models.Component
getData, getExportedType, getId
-
-
-
-
Method Detail
-
getURL
@Nullable default @Nullable java.lang.String getURL()
Returns the URL of thisListItem
.- Returns:
- the URL of this list item or
null
- Since:
- com.adobe.cq.wcm.core.components.models 12.2.0
-
getTitle
@Nullable default @Nullable java.lang.String getTitle()
Returns the title of thisListItem
.- Returns:
- the title of this list item or
null
- Since:
- com.adobe.cq.wcm.core.components.models 12.2.0
-
getDescription
@Nullable default @Nullable java.lang.String getDescription()
Returns the description of thisListItem
.- Returns:
- the description of this list item or
null
- Since:
- com.adobe.cq.wcm.core.components.models 12.2.0
-
getLastModified
@Nullable default @Nullable java.util.Calendar getLastModified()
Returns the date when thisListItem
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 java.lang.String getPath()
Returns the path of thisListItem
.- Returns:
- the list item path or
null
- Since:
- com.adobe.cq.wcm.core.components.models 12.2.0
-
getName
@Nullable default @Nullable java.lang.String getName()
Returns the name of thisListItem
.- Returns:
- the list item name or
null
- Since:
- com.adobe.cq.wcm.core.components.models 12.6.0
-
-