| Modifier and Type | Method and Description |
|---|---|
protected void |
SingleLocationInventoryImportProcessExecutor.processInventoryImport(String fileName,
FulfillmentLocation location,
Long processId)
Processes the import file and sets the inventory accordingly
|
protected void |
MultipleLocationInventoryImportProcessExecutor.processInventoryImport(String fileName,
Long processId) |
| Modifier and Type | Method and Description |
|---|---|
Inventory |
AdminInventoryPersister.saveAdminInventory(Long inventoryId,
org.broadleafcommerce.openadmin.dto.Entity entity,
Map<String,org.broadleafcommerce.openadmin.dto.FieldMetadata> adminProperties,
org.broadleafcommerce.openadmin.server.service.persistence.module.RecordHelper helper)
Creates a new transaction and attempts a read, populate, update within the transaction.
|
| Modifier and Type | Method and Description |
|---|---|
Inventory |
AdvancedInventoryDao.readForUpdateById(Long id)
Same as read, but refreshes and handles locking for concurrent updates
|
Inventory |
AdvancedInventoryDaoImpl.readForUpdateById(Long id) |
List<Inventory> |
AdvancedInventoryDao.readInventoriesForUpdateFromSkus(Set<Long> skus,
FulfillmentLocation fulfillmentLocation) |
List<Inventory> |
AdvancedInventoryDaoImpl.readInventoriesForUpdateFromSkus(Set<Long> skus,
FulfillmentLocation fulfillmentLocation) |
Inventory |
AdvancedInventoryDao.readInventoryForUpdate(org.broadleafcommerce.core.catalog.domain.Sku sku,
FulfillmentLocation fulfillmentLocation)
Same as readInventory but refreshes and locks the object.
|
Inventory |
AdvancedInventoryDaoImpl.readInventoryForUpdate(org.broadleafcommerce.core.catalog.domain.Sku sku,
FulfillmentLocation fulfillmentLocation) |
Inventory |
AdvancedInventoryDao.readInventoryForUpdateForDefaultFulfillmentLocation(org.broadleafcommerce.core.catalog.domain.Sku sku)
Same as readInventoryForDefaultFulfillmentLocation but refreshes and locks the object.
|
Inventory |
AdvancedInventoryDaoImpl.readInventoryForUpdateForDefaultFulfillmentLocation(org.broadleafcommerce.core.catalog.domain.Sku sku) |
Inventory |
AdvancedInventoryDao.save(Inventory inventory)
Persists the
Inventory |
Inventory |
AdvancedInventoryDaoImpl.save(Inventory inventory) |
| Modifier and Type | Method and Description |
|---|---|
void |
AdvancedInventoryImportServiceImpl.setInventory(List<InventoryImportDTO> dtos,
FulfillmentLocation location) |
void |
AdvancedInventoryImportService.setInventory(List<InventoryImportDTO> dtos,
FulfillmentLocation location)
Sets the inventory for the given InventoryImportDTOs for the given FulfillmentLocation
|
protected void |
AdvancedInventoryImportServiceImpl.setInventory(Map<Long,InventoryImportDTO> skuMap,
FulfillmentLocation location)
Converts the given skuMap to an appropriate map of fulfillment location to UpdateInventoryInfos so that it can
be sent to the inventory service
|
| Modifier and Type | Method and Description |
|---|---|
protected Inventory |
AdvancedInventoryServiceImpl.createInventoryRecord(UpdateInventoryInfo info,
FulfillmentLocation location)
Creates an Inventory record for the given fulfillment location and is based on the given UpdateInventoryInfo record
|
protected void |
AdvancedInventoryServiceImpl.decrementInventory(Map<FulfillmentLocation,Map<org.broadleafcommerce.core.catalog.domain.Sku,Integer>> skuInventory,
List<InventoryReservation> reservations,
boolean useQtyOnHand) |
void |
AdvancedInventoryServiceImpl.decrementInventoryFromLocations(Map<FulfillmentLocation,Map<org.broadleafcommerce.core.catalog.domain.Sku,Integer>> skuInventory) |
void |
AdvancedInventoryService.decrementInventoryFromLocations(Map<FulfillmentLocation,Map<org.broadleafcommerce.core.catalog.domain.Sku,Integer>> skuInventory)
Subtracts the quantity from available inventory for each sku in the map for the given fulfillment location.
|
void |
AdvancedInventoryServiceImpl.decrementInventoryFromLocations(Map<FulfillmentLocation,Map<org.broadleafcommerce.core.catalog.domain.Sku,Integer>> skuInventory,
List<InventoryReservation> reservations) |
void |
AdvancedInventoryService.decrementInventoryFromLocations(Map<FulfillmentLocation,Map<org.broadleafcommerce.core.catalog.domain.Sku,Integer>> skuInventory,
List<InventoryReservation> reservations)
The same as
AdvancedInventoryService.decrementInventoryFromLocations(Map) except that this will also persist the given reservations
so that everything can be apart of a single transaction |
void |
AdvancedInventoryServiceImpl.decrementInventoryOnHand(Map<FulfillmentLocation,Map<org.broadleafcommerce.core.catalog.domain.Sku,Integer>> skuInventory) |
void |
AdvancedInventoryService.decrementInventoryOnHand(Map<FulfillmentLocation,Map<org.broadleafcommerce.core.catalog.domain.Sku,Integer>> skuInventory)
Subtracts the quantity from inventory on hand for each sku in the map for the given fulfillment location.
|
protected void |
AdvancedInventoryServiceImpl.handleNegativeInventory(Map<Long,Integer> unavailableInventoryHolder,
org.broadleafcommerce.core.catalog.domain.Sku sku,
Inventory inventory,
int qtyToUpdate,
int decrementedQuantity,
boolean useQtyOnHand) |
protected void |
AdvancedInventoryServiceImpl.handlePositiveInventory(Inventory inventory,
int qtyToUpdate,
int decrementedQuantity,
boolean useQtyOnHand) |
void |
AdvancedInventoryServiceImpl.incrementInventoryFromLocations(Map<FulfillmentLocation,Map<org.broadleafcommerce.core.catalog.domain.Sku,Integer>> skuInventory) |
void |
AdvancedInventoryService.incrementInventoryFromLocations(Map<FulfillmentLocation,Map<org.broadleafcommerce.core.catalog.domain.Sku,Integer>> skuInventory)
Add available inventory to sku.
|
void |
AdvancedInventoryServiceImpl.incrementInventoryFromLocations(Map<FulfillmentLocation,Map<org.broadleafcommerce.core.catalog.domain.Sku,Integer>> skuInventory,
List<InventoryReservation> reservations) |
void |
AdvancedInventoryService.incrementInventoryFromLocations(Map<FulfillmentLocation,Map<org.broadleafcommerce.core.catalog.domain.Sku,Integer>> skuInventory,
List<InventoryReservation> reservations) |
void |
AdvancedInventoryServiceImpl.incrementInventoryOnHand(Map<FulfillmentLocation,Map<org.broadleafcommerce.core.catalog.domain.Sku,Integer>> skuInventory) |
void |
AdvancedInventoryService.incrementInventoryOnHand(Map<FulfillmentLocation,Map<org.broadleafcommerce.core.catalog.domain.Sku,Integer>> skuInventory)
Add inventory on hand to sku.
|
Inventory |
AdvancedInventoryServiceImpl.save(Inventory inventory) |
Inventory |
AdvancedInventoryService.save(Inventory inventory)
Persists the inventory
|
void |
AdvancedInventoryServiceImpl.setInventory(Map<FulfillmentLocation,List<UpdateInventoryInfo>> inventoryInfos) |
void |
AdvancedInventoryService.setInventory(Map<FulfillmentLocation,List<UpdateInventoryInfo>> inventoryInfos)
Sets the on hand and available quantities for a sku at a fulfillment location.
|
protected Inventory |
AdvancedInventoryServiceImpl.updateInventoryRecord(UpdateInventoryInfo info,
Inventory inventory)
Given an UpdateInventoryInfo record, updates the related inventory record
|
Copyright © 2020. All rights reserved.