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 Details

    • CustomerCouponSearchBreadcrumbBuilder

      public CustomerCouponSearchBreadcrumbBuilder()
  • Method Details

    • getBreadcrumbs

      public List<Breadcrumb> getBreadcrumbs(String categoryCode, ProductSearchPageData<SearchStateData,ProductData> searchPageData)
      Overrides:
      getBreadcrumbs in class SearchBreadcrumbBuilder
    • getCustomerCouponCodeByURL

      protected String getCustomerCouponCodeByURL(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 String getParentBreadcrumbResourceKey()
    • setParentBreadcrumbResourceKey

      public void setParentBreadcrumbResourceKey(String parentBreadcrumbResourceKey)
    • getParentBreadcrumbLinkPath

      protected String getParentBreadcrumbLinkPath()
    • setParentBreadcrumbLinkPath

      public void setParentBreadcrumbLinkPath(String parentBreadcrumbLinkPath)
    • getCustomerCouponNameByCode

      protected String getCustomerCouponNameByCode(String customerCouponCode)
      Gets customer coupon name by code
      Parameters:
      customerCouponCode - the customer coupon code used for getting coupon name
      Returns:
      the coupon name