Class DefaultAsCategoryFacade

    • Constructor Detail

      • DefaultAsCategoryFacade

        public DefaultAsCategoryFacade()
    • Method Detail

      • getCategoryHierarchy

        public AsCategoryData getCategoryHierarchy​(java.lang.String catalogId,
                                                   java.lang.String catalogVersionName)
        Description copied from interface: AsCategoryFacade
        Returns the category hierarchy for a given catalog version.
        Specified by:
        getCategoryHierarchy in interface AsCategoryFacade
        Parameters:
        catalogId - - the catalog id
        catalogVersionName - - the catalog version name
        Returns:
        the category hierarchy
      • buildCategoryBreadcrumbs

        public java.util.List<AsCategoryData> buildCategoryBreadcrumbs​(java.util.List<java.lang.String> categoryPath)
        Description copied from interface: AsCategoryFacade
        Returns breadcrumbs for the category path sent.
        Specified by:
        buildCategoryBreadcrumbs in interface AsCategoryFacade
        Parameters:
        categoryPath - - list of category codes
        Returns:
        the category bread crumb
      • buildCategoryBreadcrumbs

        public java.util.List<AsCategoryData> buildCategoryBreadcrumbs​(java.lang.String catalogId,
                                                                       java.lang.String catalogVersionName,
                                                                       java.util.List<java.lang.String> categoryPath)
        Description copied from interface: AsCategoryFacade
        Returns breadcrumbs for the category path sent.
        Specified by:
        buildCategoryBreadcrumbs in interface AsCategoryFacade
        Parameters:
        catalogId - - the catalog id
        catalogVersionName - - the catalog version name
        categoryPath - - list of category codes
        Returns:
        the category bread crumb
      • createGlobalCategory

        protected AsCategoryData createGlobalCategory()
      • setL10nService

        public void setL10nService​(L10NService l10nService)
      • setCatalogVersionService

        public void setCatalogVersionService​(CatalogVersionService catalogVersionService)
      • setCategoryService

        public void setCategoryService​(CategoryService categoryService)