Class StorefinderBreadcrumbBuilder
java.lang.Object
de.hybris.platform.acceleratorstorefrontcommons.breadcrumb.impl.StorefinderBreadcrumbBuilder
StorefinderBreadcrumbBuilder implementation for store finder related pages
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final List<Breadcrumb>Creates the list ofBreadcrumband adds store finder breadcrumb to it.getBreadcrumbsForLocationSearch(String locationSearch) protected I18NServiceprotected org.springframework.context.MessageSourceprotected voidmarkLastBreadcrumbAsLastLink(List<Breadcrumb> breadcrumbs) Marks the last breadcrumb from the given list with the special link class.voidsetI18nService(I18NService i18nService) voidsetMessageSource(org.springframework.context.MessageSource messageSource)
-
Constructor Details
-
StorefinderBreadcrumbBuilder
public StorefinderBreadcrumbBuilder()
-
-
Method Details
-
getI18nService
-
setI18nService
-
getMessageSource
protected org.springframework.context.MessageSource getMessageSource() -
setMessageSource
public void setMessageSource(org.springframework.context.MessageSource messageSource) -
getBreadcrumbs
-
getBreadcrumbsForLocationSearch
-
getBreadcrumbsForCurrentPositionSearch
-
addStoreFinderLinkBreadcrumb
Creates the list ofBreadcrumband adds store finder breadcrumb to it.- Returns:
- list of
Breadcrumb
-
markLastBreadcrumbAsLastLink
Marks the last breadcrumb from the given list with the special link class.- Parameters:
breadcrumbs- list ofBreadcrumb
-