Interface Header
-
- All Known Implementing Classes:
HeaderImpl
public interface Header
Sling Model API for the Header component
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.sling.api.resource.Resource
getMiniaccountResource()
org.apache.sling.api.resource.Resource
getMinicartResource()
String
getNavigationRootPageTitle()
String
getNavigationRootPageUrl()
org.apache.sling.api.resource.Resource
getSearchbarResource()
-
-
-
Method Detail
-
getNavigationRootPageUrl
@Nullable String getNavigationRootPageUrl()
- Returns:
- the URL of the navigation root page
-
getNavigationRootPageTitle
@Nullable String getNavigationRootPageTitle()
- Returns:
- the title of the navigation root page
-
getMinicartResource
@Nullable org.apache.sling.api.resource.Resource getMinicartResource()
- Returns:
- the
Resource
representing the "minicart" component, ornull
if there is no child resource with the nameminicart
-
getSearchbarResource
@Nullable org.apache.sling.api.resource.Resource getSearchbarResource()
- Returns:
- the
Resource
representing the "searchbar" component, ornull
if there is no child resource with the namesearchbar
-
getMiniaccountResource
@Nullable org.apache.sling.api.resource.Resource getMiniaccountResource()
- Returns:
- the
Resource
representing the "miniaccount" component, ornull
if there is no child resource with the nameminiaccount
-
-