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