Interface Breadcrumb

  • All Superinterfaces:
    Component, ComponentExporter

    @ConsumerType
    public interface Breadcrumb
    extends Component
    Defines the Breadcrumb Sling Model used for the /apps/core/wcm/components/breadcrumb component.
    Since:
    com.adobe.cq.wcm.core.components.models 11.0.0
    • 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 by getItems().
        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 by getItems() 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