Class CustomerCouponSearchBreadcrumbBuilder
java.lang.Object
de.hybris.platform.acceleratorstorefrontcommons.breadcrumb.impl.SearchBreadcrumbBuilder
de.hybris.platform.customercouponaddon.breadcrumb.CustomerCouponSearchBreadcrumbBuilder
Builds customer coupon related breadcrumb
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBreadcrumbs(String categoryCode, ProductSearchPageData<SearchStateData, ProductData> searchPageData) protected StringGets customer coupon code by URLprotected CustomerCouponFacadeprotected StringgetCustomerCouponNameByCode(String customerCouponCode) Gets customer coupon name by codeprotected I18NServiceprotected org.springframework.context.MessageSourceprotected Stringprotected StringvoidsetCustomerCouponFacade(CustomerCouponFacade customerCouponFacade) voidsetI18nService(I18NService i18nService) voidsetMessageSource(org.springframework.context.MessageSource messageSource) voidsetParentBreadcrumbLinkPath(String parentBreadcrumbLinkPath) voidsetParentBreadcrumbResourceKey(String parentBreadcrumbResourceKey) Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.breadcrumb.impl.SearchBreadcrumbBuilder
createBreadcrumbCategoryHierarchyPath, getBreadcrumbs, getCategoryBreadcrumb, getCategoryBreadcrumb, getCategoryModelUrlResolver, getCommerceCategoryService, getEncodedUrl, setCategoryModelUrlResolver, setCommerceCategoryService
-
Constructor Details
-
CustomerCouponSearchBreadcrumbBuilder
public CustomerCouponSearchBreadcrumbBuilder()
-
-
Method Details
-
getBreadcrumbs
public List<Breadcrumb> getBreadcrumbs(String categoryCode, ProductSearchPageData<SearchStateData, ProductData> searchPageData) - Overrides:
getBreadcrumbsin classSearchBreadcrumbBuilder
-
getCustomerCouponCodeByURL
Gets customer coupon code by URL- Parameters:
url- the url used for getting customer coupon code- Returns:
- the customer coupon code
-
getI18nService
-
setI18nService
-
getMessageSource
protected org.springframework.context.MessageSource getMessageSource() -
setMessageSource
public void setMessageSource(org.springframework.context.MessageSource messageSource) -
getCustomerCouponFacade
-
setCustomerCouponFacade
-
getParentBreadcrumbResourceKey
-
setParentBreadcrumbResourceKey
-
getParentBreadcrumbLinkPath
-
setParentBreadcrumbLinkPath
-
getCustomerCouponNameByCode
Gets customer coupon name by code- Parameters:
customerCouponCode- the customer coupon code used for getting coupon name- Returns:
- the coupon name
-