-
Terminally Deprecated ElementsElementDescriptionorg.broadleafcommerce.core.catalog.dao.ProductDao.readActiveProductsByCategory
(Long, Date, int, int) UseProductDao.readFilteredActiveProductsByCategory(Long, SearchCriteria)Find all products whose start and end dates are before and after the passed in date, who are related to the given category, match the given search criteria, and are not marked as archived.
UseProductDao.readFilteredActiveProductsByQuery(String, SearchCriteria)Find all products whose start and end dates are before and after the passed in date, who match the search string, match the given search criteria, and are not marked as archived.use getProductXrefs insteaduse setProductXrefs insteadUse {@link #findActiveProductsByCategory(Category, limit, offset}in favor of the other findSearchResults() method
-
Deprecated InterfacesInterfaceDescriptioninstead, use the ProductType Module's Product Add-Ons to build and configure bundlesinstead, use the ProductType Module's Product Add-Ons to build and configure bundlesThis is no longer required and is instead implemented as a third-party inventory moduleinstead, see the ProductType Module's Product Add-On's usage of
DiscreteOrderItemsReplaced in functionality bySearchRedirectDaoReplaced in functionality bySearchRedirect
-
Deprecated ClassesClassDescriptioninstead, use the ProductType Module's Product Add-Ons to build and configure bundlesinstead, use the ProductType Module's Product Add-Ons to build and configure bundlesThis is no longer required and is instead implemented as a third-party inventory moduleThis is no longer required and is instead implemented as a third-party inventory moduleorg.broadleafcommerce.core.order.domain.weave.OptionalEnterpriseBandedPriceFulfillmentOptionTemplateReplaced in functionality by
SearchRedirectDaoImplReplaced in functionality bySearchRedirectImpl
-
Deprecated FieldsFieldDescriptionAdd
EntityDuplicateModifiers toblEntityDuplicationHelpersuses the phonePrimary property on AddressImpl instead
-
Deprecated MethodsMethodDescriptionorg.broadleafcommerce.core.catalog.dao.ProductDao.readActiveProductsByCategory
(Long, Date, int, int) UseProductDao.readFilteredActiveProductsByCategory(Long, SearchCriteria)Find all products whose start and end dates are before and after the passed in date, who are related to the given category, match the given search criteria, and are not marked as archived.
UseProductDao.readFilteredActiveProductsByQuery(String, SearchCriteria)Find all products whose start and end dates are before and after the passed in date, who match the search string, match the given search criteria, and are not marked as archived.Use getActiveProductXrefs() instead.use getAllChildCategoryXrefs() instead.Use getAllParentCategoryXrefs() instead.Use getAllProductXrefs() instead.This will be removed in 3.1.0This will be replaced withCategory.getCategoryAttributesMap()in 3.1.0.useCategory.getCategoryMediaXref()insteadUse getChildCategoryXrefs() instead.This approach is inherently inefficient and should no longer be useduseCategory.getParentCategory()insteadThis will be removed in 3.1.0Use setAllChildCategoryXrefs() instead.Use setAllParentCategoryXrefs() instead.Use setAllProductXrefs() instead.This will be replaced with#setCategoryAttributesMap()in 3.1.0.useCategory.setCategoryMediaXref(Map)insteadUse setChildCategoryXrefs() instead.This approach is inherently inefficient and should no longer be useduseCategory.setParentCategory(Category)insteadUse getAllParentCategoryXrefs() instead.useProduct.getCategory()insteaduse getProductOptionXrefs insteaduse#getAdditionalSkusXrefs()insteadUse setAllParentCategoryXrefs() instead.useProduct.setCategory(Category)insteaduse setProductOptionXrefs insteaduse getProductXrefs insteaduse setProductXrefs insteaduseSku.getInventoryType()insteaduseSku.getProductOptionValuesCollection()insteaduseSku.getProductOptionValueXrefs()insteaduseSku.getMultiValueSkuAttributes()instead.useSku.getSkuMediaXref()insteaduseSku.getInventoryType()orInventoryService.isAvailable(Sku, int)instead.useSku.getIsMachineSortable()instead since that is the correct bean notationuseSku.setInventoryType(InventoryType)insteaduseSku.setIsMachineSortable(Boolean)instead since that is the correct bean notationuseSku.setProductOptionValueXrefs(Set)insteaduseSku.setSkuMediaXref(java.util.Map)insteadUse {@link #findActiveProductsByCategory(Category, limit, offset}this approach is inherently inefficient - don't use.replaced by theOfferAudittablereplaced by theOfferAudittableuse#getMaxUsesPerOrder()directly insteadreplaced by theOfferAudittableuse#setMaxUsesPerOrder(int)directly insteadreplaced by theOfferAudittableuse getOrderItemAttributes insteaduse setOrderItemAttributes insteadShould useFulfillmentGroup.getFulfillmentOption()insteaduseAddress.getPhonePrimary()instead.- useFulfillmentGroup.getRetailFulfillmentPrice()instead. Deprecated as the price might be for other fulfillment types such as PickUpAtStore fees or download fees.- useFulfillmentGroup.getSaleFulfillmentPrice()instead.Should useFulfillmentGroup.getFulfillmentOption()instead- useFulfillmentGroup.getFulfillmentPrice()instead.Should use#setFulfillmentOption()insteaduseAddress.getPhonePrimary()instead- useFulfillmentGroup.setRetailFulfillmentPrice(Money)instead.- useFulfillmentGroup.setSaleFulfillmentPrice(Money)instead.Should use#setFulfillmentOption()instead- useFulfillmentGroup.setRetailFulfillmentPrice(Money)instead.use the phonePrimary property on the related Address insteaduse the phonePrimary property on the related Address instead- UseOrder.setTotalFulfillmentCharges(Money)instead.Delegates toOrderItem.getAverageAdjustmentValue()instead but this method is of little or no value in most practical applications unless only simple promotions are being used.Delegates toOrderItem.getAveragePrice()If the item is taxable, returnsOrderItem.getAveragePrice()It is recommended instead that tax calculation engines use the
#getTotalTaxableAmount()which provides the taxable total for all quantities of this item. This method suffers from penny rounding errors in some situations.org.broadleafcommerce.core.order.domain.OrderItem.setOrderItemAdjustments(List<OrderItemAdjustment>) Item level adjustments are now stored at the OrderItemPriceDetail level instead to prevent unnecessary item splitting of OrderItems when evaluating promotions in the pricing engine.in favor ofCartOperationRequest.getOrderItem(). Keeping this method for backwards compatibilityin favor ofCartOperationRequest.setOrderItem(OrderItem). Keeping this method for backwards compatibilityuse #findSearchResults(SearchCriteria)use #findSearchResults(SearchCriteria)use #findSearchResults(SearchCriteria)UseSolrIndexService.buildIncrementalIndex(String, List, SolrClient)instead so that the collection that's being used can be customized otherwise the default collection will always be used. Generally useSolrConfiguration#getQueryCollectionName()orSolrConfiguration#getReindexCollectionName()UseSolrIndexService.commit(String, SolrClient)instead so that the collection that's being used can be customized otherwise the default collection will always be used. Generally useSolrConfiguration#getQueryCollectionName()orSolrConfiguration#getReindexCollectionName()UseSolrIndexService.commit(String, SolrClient, boolean, boolean, boolean)instead so that the collection that's being used can be customized otherwise the default collection will always be used. Generally useSolrConfiguration#getQueryCollectionName()orSolrConfiguration#getReindexCollectionName()org.broadleafcommerce.core.search.service.solr.index.SolrIndexService.deleteAllDocuments(SolrClient) UseSolrIndexService.deleteAllDocuments(String, SolrClient)instead so that the collection that's being used can be customized otherwise the default collection will always be used. Generally useSolrConfiguration#getQueryCollectionName()orSolrConfiguration#getReindexCollectionName()UseSolrIndexService.deleteAllNamespaceDocuments(String, SolrClient)instead so that the collection that's being used can be customized otherwise the default collection will always be used. Generally useSolrConfiguration#getQueryCollectionName()orSolrConfiguration#getReindexCollectionName()UseSolrIndexService.optimizeIndex(String, SolrClient)instead so that the collection that's being used can be customized otherwise the default collection will always be used. Generally useSolrConfiguration#getQueryCollectionName()orSolrConfiguration#getReindexCollectionName()see SolrHelperService.getPropertyValue()UseSolrHelperService.optimizeIndex(String, SolrClient)instead so that the collection that's being used can be customized otherwise the default collection will always be used. Generally useSolrConfiguration.getQueryCollectionName()orSolrConfiguration.getReindexCollectionName()in favor of the other findSearchResults() methoduseStoreDao.readStoreByStoreName(String)insteaduseStoreService.readStoreByStoreName(String)instead.
ProductDao.readActiveProductsByCategory(Long)