Class SolrIndexDaoImpl
java.lang.Object
org.broadleafcommerce.core.search.dao.SolrIndexDaoImpl
- All Implemented Interfaces:
SolrIndexDao
- Author:
- Jeff Fischer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jakarta.persistence.EntityManagerprotected static final org.apache.commons.logging.Logprotected org.broadleafcommerce.common.sandbox.SandBoxHelper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulateProductCatalogStructure(List<Long> productIds, CatalogStructure catalogStructure) Populate the contents of a lightweight catalog structure for a list of products.protected voidBuild up a map of category to parent categories
-
Field Details
-
LOG
protected static final org.apache.commons.logging.Log LOG -
em
protected jakarta.persistence.EntityManager em -
sandBoxHelper
protected org.broadleafcommerce.common.sandbox.SandBoxHelper sandBoxHelper
-
-
Constructor Details
-
SolrIndexDaoImpl
public SolrIndexDaoImpl()
-
-
Method Details
-
populateProductCatalogStructure
public void populateProductCatalogStructure(List<Long> productIds, CatalogStructure catalogStructure) Description copied from interface:SolrIndexDaoPopulate the contents of a lightweight catalog structure for a list of products.- Specified by:
populateProductCatalogStructurein interfaceSolrIndexDaocatalogStructure- lightweight container defining product and category hierarchies- See Also:
-
readFullCategoryHierarchy
protected void readFullCategoryHierarchy(Map<Long, Set<Long>> categoryHierarchy, Set<Long> builtCategories) Build up a map of category to parent categories- Parameters:
categoryHierarchy-
-