Uses of Interface
org.broadleafcommerce.core.catalog.domain.Sku
Packages that use Sku
Package
Description
-
Uses of Sku in org.broadleafcommerce.core.catalog.dao
Methods in org.broadleafcommerce.core.catalog.dao that return SkuModifier and TypeMethodDescriptionSkuDao.create()Create a newSkuinstance.SkuDaoImpl.create()SkuDao.readFirstSku()Retrieve theSkuinstance whose primary key is the smallest of all skus in the datastoreSkuDaoImpl.readFirstSku()SkuDao.readSkuByExternalId(String externalId) Retrieve aSkuinstance by its external idSkuDaoImpl.readSkuByExternalId(String externalId) SkuDao.readSkuById(Long skuId) Retrieve aSkuinstance by its primary keySkuDaoImpl.readSkuById(Long skuId) SkuDao.readSkuByUpc(String upc) Queries for aSkuinstance by its Universal Product Code (UPC).SkuDaoImpl.readSkuByUpc(String upc) Persist aSkuinstance to the datastoreMethods in org.broadleafcommerce.core.catalog.dao that return types with arguments of type SkuModifier and TypeMethodDescriptionSkuDao.findSkuByURI(String uri) Look up a sku that matches the given URISkuDaoImpl.findSkuByURI(String uri) protected jakarta.persistence.criteria.CriteriaQuery<Sku>SkuDaoImpl.getCriteriaForActiveSkus(Date currentDate) protected jakarta.persistence.criteria.CriteriaQuery<Sku>SkuDaoImpl.getCriteriaForActiveSkus(Date currentDate, Long lastId) SkuDao.readAllActiveSkus(int page, int pageSize) Reads all Skus from the database that are currently active.SkuDao.readAllActiveSkus(Integer pageSize, Long lastId) Reads all skus from the database that are currently active.SkuDaoImpl.readAllActiveSkus(int page, int pageSize) SkuDaoImpl.readAllActiveSkus(Integer pageSize, Long lastId) SkuDaoImpl.readAllActiveSkusInternal(int page, int pageSize, Date currentDate) SkuDaoImpl.readAllActiveSkusInternal(Integer pageSize, Date currentDate, Long lastId) SkuDao.readAllSkus()Retrieve allSkuinstances from the datastoreSkuDao.readAllSkus(int offset, int limit) Retrieve allSkuinstances from the datastoreSkuDaoImpl.readAllSkus()SkuDaoImpl.readAllSkus(int offset, int limit) SkuDao.readSkusByIds(List<Long> ids) Find all theSkuinstances whose primary key matches one of the values from the passed in listSkuDaoImpl.readSkusByIds(List<Long> skuIds) Methods in org.broadleafcommerce.core.catalog.dao with parameters of type SkuModifier and TypeMethodDescriptionvoidRemove theSkuinstance from the datastorevoidPersist aSkuinstance to the datastoreMethod parameters in org.broadleafcommerce.core.catalog.dao with type arguments of type SkuModifier and TypeMethodDescriptionprotected voidProductDaoImpl.attachOrderBy(SearchCriteria searchCriteria, jakarta.persistence.criteria.From<?, ? extends Product> product, jakarta.persistence.criteria.Path<? extends Sku> sku, jakarta.persistence.criteria.CriteriaQuery<?> criteria) ProductOptionDaoImpl.filterCandidateSkusForArchivedStatus(List<Sku> candidateSkus) -
Uses of Sku in org.broadleafcommerce.core.catalog.domain
Classes in org.broadleafcommerce.core.catalog.domain that implement SkuFields in org.broadleafcommerce.core.catalog.domain declared as SkuModifier and TypeFieldDescriptionprotected SkuProductImpl.defaultSkuprotected SkuSkuBundleItemImpl.deproxiedSkuDeprecated.protected SkuSkuAttributeImpl.skuThe sku.protected SkuSkuBundleItemImpl.skuDeprecated.protected SkuSkuMediaXrefImpl.skuprotected SkuSkuProductOptionValueXrefImpl.skuFields in org.broadleafcommerce.core.catalog.domain with type parameters of type SkuMethods in org.broadleafcommerce.core.catalog.domain with type parameters of type SkuModifier and TypeMethodDescription<G extends Sku>
org.broadleafcommerce.common.copy.CreateResponse<G>SkuImpl.createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) Methods in org.broadleafcommerce.core.catalog.domain that return SkuModifier and TypeMethodDescriptionProduct.getDefaultSku()Gets the defaultSkuassociated with this Product.ProductImpl.getDefaultSku()SkuAttribute.getSku()Gets the sku.SkuAttributeImpl.getSku()SkuBundleItem.getSku()Deprecated.SkuBundleItemImpl.getSku()Deprecated.SkuMediaXref.getSku()SkuMediaXrefImpl.getSku()SkuProductOptionValueXref.getSku()SkuProductOptionValueXrefImpl.getSku()protected SkuSkuImpl.lookupDefaultSku()Methods in org.broadleafcommerce.core.catalog.domain that return types with arguments of type SkuModifier and TypeMethodDescriptionProduct.getAdditionalSkus()Gets all the additional Skus associated with this Product.ProductImpl.getAdditionalSkus()Product.getAllSellableSkus()Returns all skus that are sellable.ProductImpl.getAllSellableSkus()Product.getAllSkus()Returns all theSkus that are associated with this Product (includingProduct.getDefaultSku()) regardless of whether or not theSkus are active or not
Note: in the event that the default Sku was added to the list ofProduct.getAdditionalSkus(), it is filtered out so that only a single instance ofProduct.getDefaultSku()is contained in the resulting listProductImpl.getAllSkus()ProductImpl.getAllSkus(boolean includeDefaultSku) Product.getSkus()Deprecated.ProductImpl.getSkus()Deprecated.SkuFee.getSkus()Gets the Skus associated with this surchargeSkuFeeImpl.getSkus()Methods in org.broadleafcommerce.core.catalog.domain with parameters of type SkuModifier and TypeMethodDescriptionorg.broadleafcommerce.common.money.MoneySkuBundleItemImpl.getDynamicSalePrice(Sku sku, BigDecimal salePrice) Deprecated.voidProduct.setDefaultSku(Sku defaultSku) Sets the default Sku for this Product
Note: this operation is cascaded with CascadeType.ALL which saves from having to persist the Product in 2 operations: first persist the Sku and then take the merged Sku, set it as this Product's default Sku, and then persist this Product.voidProductImpl.setDefaultSku(Sku defaultSku) voidSets the sku.voidvoidDeprecated.voidDeprecated.voidvoidvoidvoidMethod parameters in org.broadleafcommerce.core.catalog.domain with type arguments of type SkuModifier and TypeMethodDescriptionvoidProduct.setAdditionalSkus(List<Sku> skus) Sets the additional Skus associated to this Product.voidProductImpl.setAdditionalSkus(List<Sku> skus) Deprecated.voidSets the Skus associated with this surchargevoidConstructors in org.broadleafcommerce.core.catalog.domain with parameters of type SkuModifierConstructorDescriptionSkuMediaXrefImpl(Sku sku, org.broadleafcommerce.common.media.domain.Media media, String key) -
Uses of Sku in org.broadleafcommerce.core.catalog.domain.dto
Methods in org.broadleafcommerce.core.catalog.domain.dto that return SkuMethods in org.broadleafcommerce.core.catalog.domain.dto with parameters of type SkuConstructors in org.broadleafcommerce.core.catalog.domain.dto with parameters of type SkuModifierConstructorDescriptionAssignedProductOptionDTO(Long productId, String productOptionAttrName, ProductOptionValue productOptionValue, Sku sku) -
Uses of Sku in org.broadleafcommerce.core.catalog.domain.pricing
Fields in org.broadleafcommerce.core.catalog.domain.pricing declared as SkuMethods in org.broadleafcommerce.core.catalog.domain.pricing that return SkuMethods in org.broadleafcommerce.core.catalog.domain.pricing with parameters of type SkuConstructors in org.broadleafcommerce.core.catalog.domain.pricing with parameters of type Sku -
Uses of Sku in org.broadleafcommerce.core.catalog.service
Methods in org.broadleafcommerce.core.catalog.service that return SkuModifier and TypeMethodDescriptionCatalogService.createSku()CatalogServiceImpl.createSku()CatalogService.findSkuByExternalId(String externalId) CatalogServiceImpl.findSkuByExternalId(String externalId) CatalogService.findSkuById(Long skuId) CatalogServiceImpl.findSkuById(Long skuId) CatalogService.findSkuByUpc(String upc) Method to look up a Sku by the Universal Product Code (UPC).CatalogServiceImpl.findSkuByUpc(String upc) CatalogService.findSkuByURI(String uri) Returns a sku associated with the passed in URI or null if no sku is mapped to this URI.CatalogServiceImpl.findSkuByURI(String uri) Methods in org.broadleafcommerce.core.catalog.service that return types with arguments of type SkuModifier and TypeMethodDescriptionCatalogService.findAllSkus()CatalogService.findAllSkus(int offset, int limit) CatalogServiceImpl.findAllSkus()CatalogServiceImpl.findAllSkus(int offset, int limit) CatalogService.findSkusByIds(List<Long> ids) CatalogServiceImpl.findSkusByIds(List<Long> ids) Methods in org.broadleafcommerce.core.catalog.service with parameters of type SkuModifier and TypeMethodDescriptionprotected voidSkuSiteMapGenerator.constructImageURLs(org.broadleafcommerce.common.sitemap.service.SiteMapBuilder siteMapBuilder, org.broadleafcommerce.common.sitemap.wrapper.SiteMapURLWrapper siteMapUrl, Sku sku) protected DateSkuSiteMapGenerator.generateDate(Sku sku) protected StringSkuSiteMapGenerator.generateUri(org.broadleafcommerce.common.sitemap.service.SiteMapBuilder smb, Sku sku) voidvoid -
Uses of Sku in org.broadleafcommerce.core.catalog.service.dynamic
Fields in org.broadleafcommerce.core.catalog.service.dynamic declared as SkuModifier and TypeFieldDescriptionprotected SkuDefaultDynamicSkuPricingInvocationHandler.delegateMethods in org.broadleafcommerce.core.catalog.service.dynamic that return SkuMethods in org.broadleafcommerce.core.catalog.service.dynamic with parameters of type SkuModifier and TypeMethodDescriptionDynamicSkuActiveDatesService.getDynamicSkuActiveEndDate(Sku sku) Returns the activeEndDate for the SKU if it has been overridden.DynamicSkuActiveDatesService.getDynamicSkuActiveStartDate(Sku sku) Returns the activeStartDate for the SKU if it has been overridden.static DynamicSkuPricesSkuPricingConsiderationContext.getDynamicSkuPrices(Sku sku) Constructors in org.broadleafcommerce.core.catalog.service.dynamic with parameters of type SkuModifierConstructorDescriptionDefaultDynamicSkuPricingInvocationHandler(Sku sku, BigDecimal salePriceOverride) This is used with SkuBundleItem to allow the bundle override price.DefaultDynamicSkuPricingInvocationHandler(Sku sku, org.broadleafcommerce.common.money.Money adjustments) Used to add ProductOptionValue price adjustments to the proxy Sku -
Uses of Sku in org.broadleafcommerce.core.inventory.service
Methods in org.broadleafcommerce.core.inventory.service that return types with arguments of type SkuModifier and TypeMethodDescriptionContextualInventoryService.buildSkuInventoryMap(Order order) Convenience method to build the sku inventory map given anOrderInventoryServiceImpl.buildSkuInventoryMap(Order order) ContextualInventoryService.retrieveQuantitiesAvailable(Collection<Sku> skus, Map<String, Object> context) InventoryService.retrieveQuantitiesAvailable(Collection<Sku> skus) Retrieves the quantity available for a given sku.InventoryServiceImpl.retrieveQuantitiesAvailable(Collection<Sku> skus) InventoryServiceImpl.retrieveQuantitiesAvailable(Collection<Sku> skus, Map<String, Object> context) Methods in org.broadleafcommerce.core.inventory.service with parameters of type SkuModifier and TypeMethodDescriptionbooleanInventoryService.checkBasicAvailablility(Sku sku) Without worrying about quantities, just checks to see if the given Sku is available.booleanInventoryServiceImpl.checkBasicAvailablility(Sku sku) voidContextualInventoryService.checkSkuAvailability(Order order, Sku sku, Integer requestedQuantity) voidInventoryServiceImpl.checkSkuAvailability(Order order, Sku sku, Integer requestedQuantity) voidContextualInventoryService.decrementInventory(Sku sku, int quantity, Map<String, Object> context) Pass through forContextualInventoryService.decrementInventory(Map, Map)voidInventoryService.decrementInventory(Sku sku, int quantity) Attempts to decrement inventory if it is available.voidInventoryServiceImpl.decrementInventory(Sku sku, int quantity) voidInventoryServiceImpl.decrementInventory(Sku sku, int quantity, Map<String, Object> context) voidContextualInventoryService.incrementInventory(Sku sku, int quantity, Map<String, Object> context) voidInventoryService.incrementInventory(Sku sku, int quantity) Attempts to increment inventory.voidInventoryServiceImpl.incrementInventory(Sku sku, int quantity) voidInventoryServiceImpl.incrementInventory(Sku sku, int quantity, Map<String, Object> context) protected voidInventoryServiceImpl.invalidateSkuInventory(Sku sku) Invalidates the cache for a given skubooleanContextualInventoryService.isAvailable(Sku sku, int quantity, Map<String, Object> context) booleanInventoryService.isAvailable(Sku sku, int quantity) Indicates whether the given quantity is available for the particular skuId.booleanInventoryServiceImpl.isAvailable(Sku sku, int quantity) booleanInventoryServiceImpl.isAvailable(Sku sku, int quantity, Map<String, Object> context) ContextualInventoryService.retrieveQuantityAvailable(Sku sku, Map<String, Object> context) InventoryService.retrieveQuantityAvailable(Sku sku) Retrieves the quantity available for a given sku.InventoryServiceImpl.retrieveQuantityAvailable(Sku sku) InventoryServiceImpl.retrieveQuantityAvailable(Sku sku, Map<String, Object> context) Method parameters in org.broadleafcommerce.core.inventory.service with type arguments of type SkuModifier and TypeMethodDescriptionorg.broadleafcommerce.common.extension.ExtensionResultStatusTypeAbstractInventoryServiceExtensionHandler.decrementInventory(Map<Sku, Integer> skuQuantities, Map<String, Object> context) voidContextualInventoryService.decrementInventory(Map<Sku, Integer> skuQuantities, Map<String, Object> context) Usually invoked fromDecrementInventoryActivityvoidInventoryService.decrementInventory(Map<Sku, Integer> skuQuantities) Attempts to decrement inventory for a map of Skus and quantitiesorg.broadleafcommerce.common.extension.ExtensionResultStatusTypeInventoryServiceExtensionHandler.decrementInventory(Map<Sku, Integer> skuQuantities, Map<String, Object> context) Usually invoked within theDecrementInventoryActivityto decrement inventory for theSkus that are in skuQuantitiesvoidInventoryServiceImpl.decrementInventory(Map<Sku, Integer> skuQuantities) voidprotected voidorg.broadleafcommerce.common.extension.ExtensionResultStatusTypeAbstractInventoryServiceExtensionHandler.incrementInventory(Map<Sku, Integer> skuQuantities, Map<String, Object> context) voidContextualInventoryService.incrementInventory(Map<Sku, Integer> skuQuantities, Map<String, Object> context) Callers that invoke this method directly should check for aContextualInventoryService.ROLLBACK_STATE_KEYin the given context.voidInventoryService.incrementInventory(Map<Sku, Integer> skuQuantities) Attempts to increment inventory for a map of Skus and quantities.org.broadleafcommerce.common.extension.ExtensionResultStatusTypeInventoryServiceExtensionHandler.incrementInventory(Map<Sku, Integer> skuQuantities, Map<String, Object> context) voidInventoryServiceImpl.incrementInventory(Map<Sku, Integer> skuQuantities) voidprotected voidorg.broadleafcommerce.common.extension.ExtensionResultStatusTypeAbstractInventoryServiceExtensionHandler.reconcileChangeOrderInventory(Map<Sku, Integer> decrementSkuQuantities, Map<Sku, Integer> incrementSkuQuantities, Map<String, Object> context) voidContextualInventoryService.reconcileChangeOrderInventory(Map<Sku, Integer> decrementSkuQuantities, Map<Sku, Integer> incrementSkuQuantities, Map<String, Object> context) Explicit method that defines exactly how to reconcile inventory in the event of a change order.org.broadleafcommerce.common.extension.ExtensionResultStatusTypeInventoryServiceExtensionHandler.reconcileChangeOrderInventory(Map<Sku, Integer> decrementSkuQuantities, Map<Sku, Integer> incrementSkuQuantities, Map<String, Object> context) Usually invoked via the OMSReconcileInventoryChangeOrderActivityto determine how to handle a change order.voidInventoryServiceImpl.reconcileChangeOrderInventory(Map<Sku, Integer> decrementSkuQuantities, Map<Sku, Integer> incrementSkuQuantities, Map<String, Object> context) org.broadleafcommerce.common.extension.ExtensionResultStatusTypeAbstractInventoryServiceExtensionHandler.retrieveQuantitiesAvailable(Collection<Sku> skus, Map<String, Object> context, org.broadleafcommerce.common.extension.ExtensionResultHolder<Map<Sku, Integer>> result) org.broadleafcommerce.common.extension.ExtensionResultStatusTypeAbstractInventoryServiceExtensionHandler.retrieveQuantitiesAvailable(Collection<Sku> skus, Map<String, Object> context, org.broadleafcommerce.common.extension.ExtensionResultHolder<Map<Sku, Integer>> result) ContextualInventoryService.retrieveQuantitiesAvailable(Collection<Sku> skus, Map<String, Object> context) InventoryService.retrieveQuantitiesAvailable(Collection<Sku> skus) Retrieves the quantity available for a given sku.org.broadleafcommerce.common.extension.ExtensionResultStatusTypeInventoryServiceExtensionHandler.retrieveQuantitiesAvailable(Collection<Sku> skus, Map<String, Object> context, org.broadleafcommerce.common.extension.ExtensionResultHolder<Map<Sku, Integer>> result) Usually invoked within theCheckAddAvailabilityActivityto retrieve the quantity that is available for the given skus.org.broadleafcommerce.common.extension.ExtensionResultStatusTypeInventoryServiceExtensionHandler.retrieveQuantitiesAvailable(Collection<Sku> skus, Map<String, Object> context, org.broadleafcommerce.common.extension.ExtensionResultHolder<Map<Sku, Integer>> result) Usually invoked within theCheckAddAvailabilityActivityto retrieve the quantity that is available for the given skus.InventoryServiceImpl.retrieveQuantitiesAvailable(Collection<Sku> skus) InventoryServiceImpl.retrieveQuantitiesAvailable(Collection<Sku> skus, Map<String, Object> context) -
Uses of Sku in org.broadleafcommerce.core.order.domain
Fields in org.broadleafcommerce.core.order.domain declared as SkuModifier and TypeFieldDescriptionprotected SkuBundleOrderItemImpl.deproxiedSkuDeprecated.protected SkuDiscreteOrderItemImpl.deproxiedSkuprotected SkuBundleOrderItemImpl.skuDeprecated.protected SkuDiscreteOrderItemImpl.skuMethods in org.broadleafcommerce.core.order.domain that return SkuModifier and TypeMethodDescriptionBundleOrderItem.getSku()Deprecated.For BundleOrderItem created from a ProductBundle, this will represent the default sku of the product bundle.BundleOrderItemImpl.getSku()Deprecated.DiscreteOrderItem.getSku()DiscreteOrderItemImpl.getSku()SkuAccessor.getSku()Methods in org.broadleafcommerce.core.order.domain with parameters of type SkuModifier and TypeMethodDescriptionbooleanNullOrderImpl.containsSku(Sku sku) booleanOrder.containsSku(Sku sku) Checks the DiscreteOrderItems in the cart and returns whether or not the given SKU was found.booleanOrderImpl.containsSku(Sku sku) voidDeprecated.voidDeprecated.voidvoidvoid -
Uses of Sku in org.broadleafcommerce.core.order.service
Methods in org.broadleafcommerce.core.order.service with parameters of type SkuModifier and TypeMethodDescriptionprotected booleanOrderServiceImpl.itemMatches(Sku item1Sku, Product item1Product, Map<String, OrderItemAttribute> item1Attributes, OrderItemRequestDTO item2) -
Uses of Sku in org.broadleafcommerce.core.order.service.call
Fields in org.broadleafcommerce.core.order.service.call declared as SkuModifier and TypeFieldDescriptionprotected SkuAbstractOrderItemRequest.skuprotected SkuConfigurableOrderItemRequest.skuprotected SkuProductBundleOrderItemRequest.skuMethods in org.broadleafcommerce.core.order.service.call that return SkuModifier and TypeMethodDescriptionAbstractOrderItemRequest.getSku()ConfigurableOrderItemRequest.getSku()ProductBundleOrderItemRequest.getSku()Methods in org.broadleafcommerce.core.order.service.call with parameters of type Sku -
Uses of Sku in org.broadleafcommerce.core.order.service.workflow
Methods in org.broadleafcommerce.core.order.service.workflow with parameters of type SkuModifier and TypeMethodDescriptionprotected voidAbstractCheckAvailabilityActivity.checkSkuAvailability(Order order, Sku sku, Integer requestedQuantity) -
Uses of Sku in org.broadleafcommerce.core.order.service.workflow.add
Methods in org.broadleafcommerce.core.order.service.workflow.add that return SkuModifier and TypeMethodDescriptionprotected SkuValidateAddRequestActivity.determineSku(Product product, Long skuId, Map<String, String> attributeValues, ActivityMessages messages) protected SkuValidateAddRequestActivity.findMatchingSku(Product product, Map<String, String> attributeValuesForSku) protected SkuValidateAddRequestActivity.findMatchingSku(Product product, Map<String, String> attributeValues, ActivityMessages messages) Methods in org.broadleafcommerce.core.order.service.workflow.add with parameters of type SkuModifier and TypeMethodDescriptionprotected voidValidateAddRequestActivity.addSkuToCart(Sku sku, OrderItemRequestDTO orderItemRequestDTO, Product product, CartOperationRequest request) protected booleanValidateAddRequestActivity.hasSameCurrency(OrderItemRequestDTO orderItemRequestDTO, CartOperationRequest request, Sku sku) protected booleanValidateAddRequestActivity.hasSkuOrIsNonDiscreteOI(Sku sku, OrderItemRequestDTO orderItemRequestDTO) -
Uses of Sku in org.broadleafcommerce.core.order.service.workflow.service
Methods in org.broadleafcommerce.core.order.service.workflow.service that return SkuModifier and TypeMethodDescriptionOrderItemRequestValidationService.determineSku(Product product, Long skuId, Map<String, String> attributeValues, ActivityMessages messages) OrderItemRequestValidationService.determineSku(OrderItemRequestDTO orderItemRequestDTO, ActivityMessages messages) OrderItemRequestValidationServiceImpl.determineSku(Product product, Long skuId, Map<String, String> attributeValues, ActivityMessages messages) OrderItemRequestValidationServiceImpl.determineSku(OrderItemRequestDTO orderItemRequestDTO, ActivityMessages messages) protected SkuOrderItemRequestValidationServiceImpl.findMatchingSku(Product product, Map<String, String> attributeValuesForSku) protected SkuOrderItemRequestValidationServiceImpl.findMatchingSku(Product product, Map<String, String> attributeValues, ActivityMessages messages) -
Uses of Sku in org.broadleafcommerce.core.order.strategy
Methods in org.broadleafcommerce.core.order.strategy with parameters of type SkuModifier and TypeMethodDescriptionprotected FulfillmentTypeFulfillmentGroupItemStrategyImpl.resolveFulfillmentType(Sku sku)
#getAdditionalSkusXrefs()instead