Interface Breadcrumb
-
- All Superinterfaces:
Component
,ComponentExporter
@ConsumerType public interface Breadcrumb extends Component
Defines theBreadcrumb
Sling Model used for the/apps/core/wcm/components/breadcrumb
component.- Since:
- com.adobe.cq.wcm.core.components.models 11.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
PN_HIDE_CURRENT
Name of the resource property that will indicate if the current page should not be present in the collection returned bygetItems()
.static String
PN_SHOW_HIDDEN
Name of the resource property that will indicate if pages that are hidden for navigation will still be displayed.static String
PN_START_LEVEL
Name of the resource property that will indicate from which level starting from the current page the items from the collection returned bygetItems()
will be accumulated.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Collection<NavigationItem>
getItems()
Creates collection of pages(from site hierarchy of current page) for the breadcrumb component-
Methods inherited from interface com.adobe.cq.wcm.core.components.models.Component
getAppliedCssClasses, getData, getExportedType, getId
-
-
-
-
Field Detail
-
PN_SHOW_HIDDEN
static final String PN_SHOW_HIDDEN
Name of the resource property that will indicate if pages that are hidden for navigation will still be displayed.- Since:
- com.adobe.cq.wcm.core.components.models 11.1.0
- See Also:
- Constant Field Values
-
PN_HIDE_CURRENT
static final String PN_HIDE_CURRENT
Name of the resource property that will indicate if the current page should not be present in the collection returned bygetItems()
.- Since:
- com.adobe.cq.wcm.core.components.models 11.1.0
- See Also:
- Constant Field Values
-
PN_START_LEVEL
static final String PN_START_LEVEL
Name of the resource property that will indicate from which level starting from the current page the items from the collection returned bygetItems()
will be accumulated.- Since:
- com.adobe.cq.wcm.core.components.models 11.1.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
getItems
default Collection<NavigationItem> getItems()
Creates collection of pages(from site hierarchy of current page) for the breadcrumb component- Returns:
Collection
of breadcrumb items- Since:
- com.adobe.cq.wcm.core.components.models 11.0.0; marked
default
in 12.1.0
-
-