Interface AsCategoryFacade

  • All Known Implementing Classes:
    DefaultAsCategoryFacade

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

      • getCategoryHierarchy

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

        AsCategoryData getCategoryHierarchy​(java.lang.String catalogId,
                                            java.lang.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

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

        java.util.List<AsCategoryData> buildCategoryBreadcrumbs​(java.lang.String catalogId,
                                                                java.lang.String catalogVersionName,
                                                                java.util.List<java.lang.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