Interface AsCategoryFacade

All Known Implementing Classes:
DefaultAsCategoryFacade

public interface AsCategoryFacade
Facade to retrieve category related information.
  • Method Details

    • getCategoryHierarchy

      AsCategoryData getCategoryHierarchy()
      Returns the category hierarchy when no catalog version is available.
      Returns:
      the category hierarchy
    • getCategoryHierarchy

      AsCategoryData getCategoryHierarchy(String catalogId, String catalogVersionName)
      Returns the category hierarchy for a given catalog version.
      Parameters:
      catalogId - - the catalog id
      catalogVersionName - - the catalog version name
      Returns:
      the category hierarchy
    • buildCategoryBreadcrumbs

      List<AsCategoryData> buildCategoryBreadcrumbs(List<String> categoryPath)
      Returns breadcrumbs for the category path sent.
      Parameters:
      categoryPath - - list of category codes
      Returns:
      the category bread crumb
    • buildCategoryBreadcrumbs

      List<AsCategoryData> buildCategoryBreadcrumbs(String catalogId, String catalogVersionName, List<String> categoryPath)
      Returns breadcrumbs for the category path sent.
      Parameters:
      catalogId - - the catalog id
      catalogVersionName - - the catalog version name
      categoryPath - - list of category codes
      Returns:
      the category bread crumb