Interface AsCategoryFacade
- All Known Implementing Classes:
DefaultAsCategoryFacade
public interface AsCategoryFacade
Facade to retrieve category related information.
-
Method Summary
Modifier and TypeMethodDescriptionbuildCategoryBreadcrumbs(String catalogId, String catalogVersionName, List<String> categoryPath) Returns breadcrumbs for the category path sent.buildCategoryBreadcrumbs(List<String> categoryPath) Returns breadcrumbs for the category path sent.Returns the category hierarchy when no catalog version is available.getCategoryHierarchy(String catalogId, String catalogVersionName) Returns the category hierarchy for a given catalog version.
-
Method Details
-
getCategoryHierarchy
AsCategoryData getCategoryHierarchy()Returns the category hierarchy when no catalog version is available.- Returns:
- the category hierarchy
-
getCategoryHierarchy
Returns the category hierarchy for a given catalog version.- Parameters:
catalogId- - the catalog idcatalogVersionName- - the catalog version name- Returns:
- the category hierarchy
-
buildCategoryBreadcrumbs
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 idcatalogVersionName- - the catalog version namecategoryPath- - list of category codes- Returns:
- the category bread crumb
-