Class CatalogStructure

java.lang.Object
org.broadleafcommerce.core.search.dao.CatalogStructure
All Implemented Interfaces:
Serializable

public class CatalogStructure extends Object implements Serializable
Lightweight bean representation of

(1) All the immediate parent categories for a given product (2) All the immediate parent categories for a give category and (3) All the child products for a given category

Author:
Jeff Fischer
See Also:
  • Field Details

    • parentCategoriesByProduct

      protected Map<Long,Set<Long>> parentCategoriesByProduct
    • parentCategoriesByCategory

      protected Map<Long,Set<Long>> parentCategoriesByCategory
    • productsByCategory

      protected Map<Long,List<Long>> productsByCategory
    • displayOrdersByCategoryProduct

      protected Map<String,BigDecimal> displayOrdersByCategoryProduct
  • Constructor Details

    • CatalogStructure

      public CatalogStructure()
  • Method Details

    • getParentCategoriesByProduct

      public Map<Long,Set<Long>> getParentCategoriesByProduct()
    • setParentCategoriesByProduct

      public void setParentCategoriesByProduct(Map<Long,Set<Long>> parentCategoriesByProduct)
    • getParentCategoriesByCategory

      public Map<Long,Set<Long>> getParentCategoriesByCategory()
    • setParentCategoriesByCategory

      public void setParentCategoriesByCategory(Map<Long,Set<Long>> parentCategoriesByCategory)
    • getDisplayOrdersByCategoryProduct

      public Map<String,BigDecimal> getDisplayOrdersByCategoryProduct()
    • setDisplayOrdersByCategoryProduct

      public void setDisplayOrdersByCategoryProduct(Map<String,BigDecimal> displayOrdersByCategoryProduct)