Uses of Interface
org.broadleafcommerce.core.catalog.domain.Category
Packages that use Category
Package
Description
-
Uses of Category in org.broadleafcommerce.core.catalog.dao
Methods in org.broadleafcommerce.core.catalog.dao that return CategoryModifier and TypeMethodDescriptionCategoryDao.create()Create a newCategoryinstance.CategoryDaoImpl.create()CategoryDao.findCategoryByURI(String uri) CategoryDaoImpl.findCategoryByURI(String uri) CategoryDao.readCategoryByExternalId(String externalId) Retrieve aCategoryinstance by the external idCategoryDaoImpl.readCategoryByExternalId(String externalId) CategoryDao.readCategoryById(Long categoryId) Retrieve aCategoryinstance by its primary keyCategoryDaoImpl.readCategoryById(Long categoryId) CategoryDao.readCategoryByName(String categoryName) Deprecated, for removal: This API element is subject to removal in a future version.CategoryDaoImpl.readCategoryByName(String categoryName) Deprecated, for removal: This API element is subject to removal in a future version.Persist aCategoryinstance to the datastoreMethods in org.broadleafcommerce.core.catalog.dao that return types with arguments of type CategoryModifier and TypeMethodDescriptionCategoryDao.readActiveSubCategoriesByCategory(Category category) Retrieve a list of all active child categories of the passed inCategoryinstance.CategoryDao.readActiveSubCategoriesByCategory(Category category, int limit, int offset) Retrieve a list of all active child categories of the passed inCategoryinstance.CategoryDaoImpl.readActiveSubCategoriesByCategory(Category category) CategoryDaoImpl.readActiveSubCategoriesByCategory(Category category, int limit, int offset) CategoryDao.readAllCategories()Retrieve all categories in the datastoreCategoryDao.readAllCategories(int limit, int offset) Retrieve a subset of all categoriesCategoryDaoImpl.readAllCategories()CategoryDaoImpl.readAllCategories(int limit, int offset) CategoryDao.readAllSubCategories(Long id) Retrieve a list of all child categories of the passed inCategoryinstanceCategoryDao.readAllSubCategories(Category category) Retrieve a list of all child categories of the passed inCategoryinstanceCategoryDao.readAllSubCategories(Category category, int limit, int offset) Retrieve a list of all child categories of the passed inCategoryinstanceCategoryDaoImpl.readAllSubCategories(Long id) CategoryDaoImpl.readAllSubCategories(Category category) CategoryDaoImpl.readAllSubCategories(Category category, int limit, int offset) CategoryDao.readCategoriesByIds(List<Long> categoryIds) Retrieves a List of Category IDsCategoryDaoImpl.readCategoriesByIds(List<Long> categoryIds) CategoryDao.readCategoriesByName(String categoryName) Retrieve a list ofCategoryinstances by name.CategoryDao.readCategoriesByName(String categoryName, int limit, int offset) CategoryDaoImpl.readCategoriesByName(String categoryName) CategoryDaoImpl.readCategoriesByName(String categoryName, int limit, int offset) CategoryDao.readCategoriesByNames(List<String> names) CategoryDaoImpl.readCategoriesByNames(List<String> names) Methods in org.broadleafcommerce.core.catalog.dao with parameters of type CategoryModifier and TypeMethodDescriptionvoidRemoved the passed inCategoryinstance from the datastorevoidCategoryDao.readActiveSubCategoriesByCategory(Category category) Retrieve a list of all active child categories of the passed inCategoryinstance.CategoryDao.readActiveSubCategoriesByCategory(Category category, int limit, int offset) Retrieve a list of all active child categories of the passed inCategoryinstance.CategoryDaoImpl.readActiveSubCategoriesByCategory(Category category) CategoryDaoImpl.readActiveSubCategoriesByCategory(Category category, int limit, int offset) CategoryDao.readAllSubCategories(Category category) Retrieve a list of all child categories of the passed inCategoryinstanceCategoryDao.readAllSubCategories(Category category, int limit, int offset) Retrieve a list of all child categories of the passed inCategoryinstanceCategoryDaoImpl.readAllSubCategories(Category category) CategoryDaoImpl.readAllSubCategories(Category category, int limit, int offset) CategoryDao.readCountAllActiveProductsByCategory(Category category) CategoryDaoImpl.readCountAllActiveProductsByCategory(Category category) Persist aCategoryinstance to the datastore -
Uses of Category in org.broadleafcommerce.core.catalog.domain
Classes in org.broadleafcommerce.core.catalog.domain that implement CategoryFields in org.broadleafcommerce.core.catalog.domain declared as CategoryModifier and TypeFieldDescriptionprotected CategoryCategoryAttributeImpl.categoryprotected CategoryCategoryMediaXrefImpl.categoryprotected CategoryCategoryProductXrefImpl.categoryprotected CategoryCategoryXrefImpl.categoryprotected CategoryCrossSaleProductImpl.categoryprotected CategoryFeaturedProductImpl.categoryprotected CategoryUpSaleProductImpl.categoryprotected CategoryProductImpl.defaultCategoryDeprecated.protected CategoryCategoryImpl.defaultParentCategoryDeprecated.protected CategoryCategorySiteMapGeneratorConfigurationImpl.rootCategoryprotected CategoryCategoryXrefImpl.subCategoryFields in org.broadleafcommerce.core.catalog.domain with type parameters of type CategoryModifier and TypeFieldDescriptionCategoryImpl.allLegacyChildCategoriesCategoryImpl.legacyChildCategoriesMethods in org.broadleafcommerce.core.catalog.domain with type parameters of type CategoryModifier and TypeMethodDescription<G extends Category>
CreateResponse<G>CategoryImpl.createOrRetrieveCopyInstance(MultiTenantCopyContext context) Methods in org.broadleafcommerce.core.catalog.domain that return CategoryModifier and TypeMethodDescriptionCategoryAttribute.getCategory()Gets theCategory.CategoryAttributeImpl.getCategory()CategoryMediaXref.getCategory()CategoryMediaXrefImpl.getCategory()CategoryProductXref.getCategory()Gets the category.CategoryProductXrefImpl.getCategory()CategoryXref.getCategory()Return the parent categoryCategoryXrefImpl.getCategory()CrossSaleProductImpl.getCategory()FeaturedProduct.getCategory()FeaturedProductImpl.getCategory()Product.getCategory()Return theCategorythat contains this productProductImpl.getCategory()RelatedProduct.getCategory()UpSaleProductImpl.getCategory()Product.getDefaultCategory()Deprecated.ProductImpl.getDefaultCategory()Deprecated.Category.getDefaultParentCategory()Deprecated.usegetParentCategory()insteadCategoryImpl.getDefaultParentCategory()Deprecated.Category.getParentCategory()Return the category that is the parent of this category - if applicableCategoryImpl.getParentCategory()CategorySiteMapGeneratorConfiguration.getRootCategory()Returns the root category.CategorySiteMapGeneratorConfigurationImpl.getRootCategory()CategoryXref.getSubCategory()Return the child categoryCategoryXrefImpl.getSubCategory()Methods in org.broadleafcommerce.core.catalog.domain that return types with arguments of type CategoryModifier and TypeMethodDescriptionCategory.buildDefaultParentCategoryPath(List<Category> currentHierarchy) Build category hierarchy by walking the default category tree up to the root category.CategoryImpl.buildDefaultParentCategoryPath(List<Category> currentPath) Category.getAllChildCategories()Deprecated.use getAllChildCategoryXrefs() instead.CategoryImpl.getAllChildCategories()Deprecated.Category.getAllParentCategories()Deprecated.Use getAllParentCategoryXrefs() instead.CategoryImpl.getAllParentCategories()Deprecated.Product.getAllParentCategories()Deprecated.Use getAllParentCategoryXrefs() instead.ProductImpl.getAllParentCategories()Deprecated.Category.getChildCategories()Deprecated.Use getChildCategoryXrefs() instead.CategoryImpl.getChildCategories()Deprecated.Category.getParentCategoryHierarchy(List<Category> currentHierarchy) Build the full category hierarchy by walking up the default category tree and the all parent category tree.Category.getParentCategoryHierarchy(List<Category> currentHierarchy, Boolean firstParent) Build the full category hierarchy by walking up the default category tree and the all parent category tree.CategoryImpl.getParentCategoryHierarchy(List<Category> currentPath) CategoryImpl.getParentCategoryHierarchy(List<Category> currentPath, Boolean firstParent) Methods in org.broadleafcommerce.core.catalog.domain with parameters of type CategoryModifier and TypeMethodDescriptionbooleanReturns whether or not this Sku, the given Product and the given Category are all activebooleanvoidCategoryAttribute.setCategory(Category category) Sets theCategory.voidCategoryAttributeImpl.setCategory(Category category) voidCategoryMediaXref.setCategory(Category category) voidCategoryMediaXrefImpl.setCategory(Category category) voidCategoryProductXref.setCategory(Category category) Sets the category.voidCategoryProductXrefImpl.setCategory(Category category) voidCategoryXref.setCategory(Category category) voidCategoryXrefImpl.setCategory(Category category) voidCrossSaleProductImpl.setCategory(Category category) voidFeaturedProduct.setCategory(Category category) voidFeaturedProductImpl.setCategory(Category category) voidProduct.setCategory(Category category) Set theCategorythat contains this productvoidProductImpl.setCategory(Category category) voidRelatedProduct.setCategory(Category category) voidUpSaleProductImpl.setCategory(Category category) voidProduct.setDefaultCategory(Category defaultCategory) Deprecated.useProduct.setCategory(Category)insteadvoidProductImpl.setDefaultCategory(Category defaultCategory) Deprecated.voidCategory.setDefaultParentCategory(Category defaultParentCategory) Deprecated.usesetParentCategory(Category)insteadvoidCategoryImpl.setDefaultParentCategory(Category defaultParentCategory) Deprecated.voidCategory.setParentCategory(Category category) Set the parent category of this categoryvoidCategoryImpl.setParentCategory(Category category) voidCategorySiteMapGeneratorConfiguration.setRootCategory(Category rootCategory) Sets the root category.voidCategorySiteMapGeneratorConfigurationImpl.setRootCategory(Category rootCategory) voidCategoryXref.setSubCategory(Category subCategory) voidCategoryXrefImpl.setSubCategory(Category subCategory) Method parameters in org.broadleafcommerce.core.catalog.domain with type arguments of type CategoryModifier and TypeMethodDescriptionCategory.buildDefaultParentCategoryPath(List<Category> currentHierarchy) Build category hierarchy by walking the default category tree up to the root category.CategoryImpl.buildDefaultParentCategoryPath(List<Category> currentPath) Category.getCumulativeSearchFacets(Set<Category> categoryHierarchy) Returns a list of CategorySearchFacets that takes into consideration the search facets for this Category, the search facets for all parent categories, and the search facets that should be excluded from this Category.CategoryImpl.getCumulativeSearchFacets(Set<Category> categoryHierarchy) Category.getParentCategoryHierarchy(List<Category> currentHierarchy) Build the full category hierarchy by walking up the default category tree and the all parent category tree.Category.getParentCategoryHierarchy(List<Category> currentHierarchy, Boolean firstParent) Build the full category hierarchy by walking up the default category tree and the all parent category tree.CategoryImpl.getParentCategoryHierarchy(List<Category> currentPath) CategoryImpl.getParentCategoryHierarchy(List<Category> currentPath, Boolean firstParent) voidCategory.setAllChildCategories(List<Category> childCategories) Deprecated.Use setAllChildCategoryXrefs() instead.voidCategoryImpl.setAllChildCategories(List<Category> childCategories) Deprecated.voidCategory.setAllParentCategories(List<Category> allParentCategories) Deprecated.Use setAllParentCategoryXrefs() instead.voidCategoryImpl.setAllParentCategories(List<Category> allParentCategories) Deprecated.voidProduct.setAllParentCategories(List<Category> allParentCategories) Deprecated.Use setAllParentCategoryXrefs() instead.voidProductImpl.setAllParentCategories(List<Category> allParentCategories) Deprecated.voidCategory.setChildCategories(List<Category> childCategories) Deprecated.Use setChildCategoryXrefs() instead.voidCategoryImpl.setChildCategories(List<Category> childCategories) Deprecated.Constructors in org.broadleafcommerce.core.catalog.domain with parameters of type Category -
Uses of Category in org.broadleafcommerce.core.catalog.service
Methods in org.broadleafcommerce.core.catalog.service that return CategoryModifier and TypeMethodDescriptionCatalogService.createCategory()CatalogServiceImpl.createCategory()CatalogService.findCategoryByExternalId(String externalId) CatalogServiceImpl.findCategoryByExternalId(String externalId) CatalogService.findCategoryById(Long categoryId) CatalogServiceImpl.findCategoryById(Long categoryId) CatalogService.findCategoryByName(String categoryName) Deprecated, for removal: This API element is subject to removal in a future version.CatalogServiceImpl.findCategoryByName(String categoryName) Deprecated, for removal: This API element is subject to removal in a future version.CatalogService.findCategoryByURI(String uri) Returns a category associated with the passed in URI or null if no Category is mapped to this URI.CatalogServiceImpl.findCategoryByURI(String uri) CatalogService.findOriginalCategoryByURI(String uri) CatalogServiceImpl.findOriginalCategoryByURI(String uri) protected CategoryRelatedProductsServiceImpl.lookupCategory(RelatedProductDTO relatedProductDTO) CatalogService.saveCategory(Category category) CatalogServiceImpl.saveCategory(Category category) Methods in org.broadleafcommerce.core.catalog.service that return types with arguments of type CategoryModifier and TypeMethodDescriptionCatalogService.findActiveSubCategoriesByCategory(Category category) CatalogService.findActiveSubCategoriesByCategory(Category category, int limit, int offset) CatalogServiceImpl.findActiveSubCategoriesByCategory(Category category) CatalogServiceImpl.findActiveSubCategoriesByCategory(Category category, int limit, int offset) CatalogService.findAllCategories()CatalogService.findAllCategories(int limit, int offset) CatalogServiceImpl.findAllCategories()CatalogServiceImpl.findAllCategories(int limit, int offset) CatalogService.findAllSubCategories(Category category) CatalogService.findAllSubCategories(Category category, int limit, int offset) CatalogServiceImpl.findAllSubCategories(Category category) CatalogServiceImpl.findAllSubCategories(Category category, int limit, int offset) CatalogService.findCategoriesByName(String categoryName) Retrieve a list ofCategoryinstance based on the name property.CatalogService.findCategoriesByName(String categoryName, int limit, int offset) Retrieve a list ofCategoryinstances based on the search criteriaCatalogServiceImpl.findCategoriesByName(String categoryName) CatalogServiceImpl.findCategoriesByName(String categoryName, int limit, int offset) Methods in org.broadleafcommerce.core.catalog.service with parameters of type CategoryModifier and TypeMethodDescriptionprotected voidCategorySiteMapGenerator.addCategorySiteMapEntries(Category parentCategory, int currentDepth, CategorySiteMapGeneratorConfiguration categorySMGC, SiteMapBuilder siteMapBuilder) protected List<? extends PromotableProduct>RelatedProductsServiceImpl.buildCrossSaleProductsList(Product product, Category category, RelatedProductDTO relatedProductDTO) Returns the crossSale products for the past in product/categoryprotected List<? extends PromotableProduct>RelatedProductsServiceImpl.buildFeaturedProductsList(Product product, Category category, RelatedProductDTO relatedProductDTO) Returns the featured products for the past in product/categoryCatalogURLService.buildRelativeCategoryURL(String currentUrl, Category category) See similar description forCatalogURLService.buildRelativeProductURL(String, Product)CatalogURLServiceImpl.buildRelativeCategoryURL(String currentUrl, Category category) protected List<? extends PromotableProduct>RelatedProductsServiceImpl.buildUpSaleProductsList(Product product, Category category, RelatedProductDTO relatedProductDTO) Returns the upSale products for the past in product/categoryprotected voidCategorySiteMapGenerator.constructImageURLs(SiteMapBuilder siteMapBuilder, SiteMapURLWrapper siteMapUrl, Category category) protected voidCategorySiteMapGenerator.constructSiteMapURLs(CategorySiteMapGeneratorConfiguration categorySMGC, SiteMapBuilder siteMapBuilder, Category category) CatalogService.findActiveProductsByCategory(Category category) CatalogService.findActiveProductsByCategory(Category category, int limit, int offset) Same asCatalogService.findActiveProductsByCategory(Category)but allowing for pagination.CatalogService.findActiveProductsByCategory(Category category, Date currentDate, int limit, int offset) Deprecated, for removal: This API element is subject to removal in a future version.Use {@link #findActiveProductsByCategory(Category, limit, offset}CatalogServiceImpl.findActiveProductsByCategory(Category category) CatalogServiceImpl.findActiveProductsByCategory(Category category, int limit, int offset) CatalogServiceImpl.findActiveProductsByCategory(Category category, Date currentDate, int limit, int offset) Deprecated, for removal: This API element is subject to removal in a future version.CatalogService.findActiveSubCategoriesByCategory(Category category) CatalogService.findActiveSubCategoriesByCategory(Category category, int limit, int offset) CatalogServiceImpl.findActiveSubCategoriesByCategory(Category category) CatalogServiceImpl.findActiveSubCategoriesByCategory(Category category, int limit, int offset) CatalogService.findAllSubCategories(Category category) CatalogService.findAllSubCategories(Category category, int limit, int offset) CatalogServiceImpl.findAllSubCategories(Category category) CatalogServiceImpl.findAllSubCategories(Category category, int limit, int offset) CatalogService.findFilteredActiveProductsByCategory(Category category, Date currentDate, SearchCriteria searchCriteria) CatalogService.findFilteredActiveProductsByCategory(Category category, SearchCriteria searchCriteria) Given a category and a ProudctSearchCriteria, returns the appropriate matching productsCatalogServiceImpl.findFilteredActiveProductsByCategory(Category category, Date currentDate, SearchCriteria searchCriteria) Deprecated, for removal: This API element is subject to removal in a future version.CatalogServiceImpl.findFilteredActiveProductsByCategory(Category category, SearchCriteria searchCriteria) CatalogService.findProductsForCategory(Category category) CatalogService.findProductsForCategory(Category category, int limit, int offset) CatalogServiceImpl.findProductsForCategory(Category category) CatalogServiceImpl.findProductsForCategory(Category category, int limit, int offset) protected DateCategorySiteMapGenerator.generateDate(Category category) protected StringCategorySiteMapGenerator.generateUrl(SiteMapBuilder siteMapBuilder, Category category, int pageNumber) protected StringCatalogURLServiceImpl.getCategoryUrlFragment(Category category) protected IntegerCategorySiteMapGenerator.getPageCountForCategory(Category category) voidCatalogService.removeCategory(Category category) voidCatalogServiceImpl.removeCategory(Category category) CatalogService.saveCategory(Category category) CatalogServiceImpl.saveCategory(Category category) -
Uses of Category in org.broadleafcommerce.core.order.domain
Fields in org.broadleafcommerce.core.order.domain declared as CategoryModifier and TypeFieldDescriptionprotected CategoryOrderItemImpl.categoryprotected CategoryOrderItemImpl.deproxiedCategoryMethods in org.broadleafcommerce.core.order.domain that return CategoryMethods in org.broadleafcommerce.core.order.domain with parameters of type CategoryModifier and TypeMethodDescriptionvoidOrderItem.setCategory(Category category) voidOrderItemImpl.setCategory(Category category) -
Uses of Category in org.broadleafcommerce.core.order.service.call
Fields in org.broadleafcommerce.core.order.service.call declared as CategoryModifier and TypeFieldDescriptionprotected CategoryAbstractOrderItemRequest.categoryprotected CategoryBundleOrderItemRequest.categoryprotected CategoryProductBundleOrderItemRequest.categoryMethods in org.broadleafcommerce.core.order.service.call that return CategoryModifier and TypeMethodDescriptionAbstractOrderItemRequest.getCategory()BundleOrderItemRequest.getCategory()ProductBundleOrderItemRequest.getCategory()Methods in org.broadleafcommerce.core.order.service.call with parameters of type CategoryModifier and TypeMethodDescriptionvoidAbstractOrderItemRequest.setCategory(Category category) voidBundleOrderItemRequest.setCategory(Category category) ProductBundleOrderItemRequest.setCategory(Category category) -
Uses of Category in org.broadleafcommerce.core.search.domain
Fields in org.broadleafcommerce.core.search.domain declared as CategoryModifier and TypeFieldDescriptionprotected CategoryCategoryExcludedSearchFacetImpl.categoryprotected CategoryCategorySearchFacetImpl.categoryprotected CategorySearchCriteria.categoryThe category that the user searched onMethods in org.broadleafcommerce.core.search.domain that return CategoryModifier and TypeMethodDescriptionCategoryExcludedSearchFacet.getCategory()Gets the associated categoryCategoryExcludedSearchFacetImpl.getCategory()CategorySearchFacet.getCategory()Gets the associated categoryCategorySearchFacetImpl.getCategory()SearchCriteria.getCategory()Methods in org.broadleafcommerce.core.search.domain with parameters of type CategoryModifier and TypeMethodDescriptionvoidCategoryExcludedSearchFacet.setCategory(Category category) Sets the associated categoryvoidCategoryExcludedSearchFacetImpl.setCategory(Category category) voidCategorySearchFacet.setCategory(Category category) Sets the associated categoryvoidCategorySearchFacetImpl.setCategory(Category category) voidSearchCriteria.setCategory(Category category) -
Uses of Category in org.broadleafcommerce.core.search.service
Methods in org.broadleafcommerce.core.search.service with parameters of type CategoryModifier and TypeMethodDescriptionDatabaseSearchServiceImpl.findExplicitSearchResultsByCategory(Category category, SearchCriteria searchCriteria) Deprecated.SearchService.findExplicitSearchResultsByCategory(Category category, SearchCriteria searchCriteria) Performs a search for search results in the given category, taking into consideration the SearchCriteriaDatabaseSearchServiceImpl.findSearchResultsByCategory(Category category, SearchCriteria searchCriteria) Deprecated.SearchService.findSearchResultsByCategory(Category category, SearchCriteria searchCriteria) Deprecated.use #findSearchResults(SearchCriteria)DatabaseSearchServiceImpl.findSearchResultsByCategoryAndQuery(Category category, String query, SearchCriteria searchCriteria) Deprecated.SearchService.findSearchResultsByCategoryAndQuery(Category category, String query, SearchCriteria searchCriteria) Deprecated.use #findSearchResults(SearchCriteria)DatabaseSearchServiceImpl.getCategoryFacets(Category category) Deprecated.SearchService.getCategoryFacets(Category category) Gets all available facets for a given categoryDatabaseSearchServiceImpl.getSearchFacets(Category category) Deprecated.SearchService.getSearchFacets(Category category) Gets all available facets for the given category and global search -
Uses of Category in org.broadleafcommerce.core.search.service.solr
Methods in org.broadleafcommerce.core.search.service.solr with parameters of type CategoryModifier and TypeMethodDescriptionAbstractSolrSearchServiceExtensionHandler.addAdditionalCategoryIds(Category category, SearchCriteria searchCriteria, List<Long> categoryIds) SolrSearchServiceExtensionHandler.addAdditionalCategoryIds(Category category, SearchCriteria searchCriteria, List<Long> categoryIds) Adds any additional category ids to filter by when category browsing or searching.protected voidSolrSearchServiceImpl.filterProductsBasedOnInactiveCategory(List<Product> products, Category category) SolrSearchServiceImpl.findExplicitSearchResultsByCategory(Category category, SearchCriteria searchCriteria) SolrSearchServiceImpl.findSearchResultsByCategory(Category category, SearchCriteria searchCriteria) Deprecated.SolrSearchServiceImpl.findSearchResultsByCategoryAndQuery(Category category, String query, SearchCriteria searchCriteria) Deprecated.SolrSearchServiceImpl.getCategoryFacets(Category category) SolrHelperService.getCategoryFilterIds(Category category, SearchCriteria searchCriteria) SolrHelperServiceImpl.getCategoryFilterIds(Category category, SearchCriteria searchCriteria) AbstractSolrSearchServiceExtensionHandler.getCategoryId(Category category, Long[] returnContainer) SolrHelperService.getCategoryId(Category category) In certain cases, the category id used for Solr indexing is different than the direct id on the product.SolrHelperServiceImpl.getCategoryId(Category category) SolrSearchServiceExtensionHandler.getCategoryId(Category category, Long[] returnContainer) In certain scenarios, the requested category id might not be the one that should be used in Solr.AbstractSolrSearchServiceExtensionHandler.getCategorySearchFacets(Category category, List<SearchFacet> searchFacets) SolrSearchServiceExtensionHandler.getCategorySearchFacets(Category category, List<SearchFacet> searchFacets) Populates the List of SearchFacet's for the given Category, or else returns NOT_HANDLEDSolrHelperService.getCategorySortFieldName(Category category) SolrHelperServiceImpl.getCategorySortFieldName(Category category) SolrSearchServiceImpl.getSearchFacets(Category category)
Product.getCategory()instead