| Modifier and Type | Method and Description |
|---|---|
protected Inventory |
AdminInventoryPersister.populateInventory(Inventory adminInstance,
org.broadleafcommerce.openadmin.dto.Entity entity,
Map<String,org.broadleafcommerce.openadmin.dto.FieldMetadata> inventoryProperties,
org.broadleafcommerce.openadmin.server.service.persistence.module.RecordHelper helper)
Attempts to populate the given Inventory instance with the merged properties from the admin.
|
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 |
|---|---|
protected Inventory |
AdminInventoryPersister.populateInventory(Inventory adminInstance,
org.broadleafcommerce.openadmin.dto.Entity entity,
Map<String,org.broadleafcommerce.openadmin.dto.FieldMetadata> inventoryProperties,
org.broadleafcommerce.openadmin.server.service.persistence.module.RecordHelper helper)
Attempts to populate the given Inventory instance with the merged properties from the admin.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InventoryWrapper.wrapDetails(Inventory model,
javax.servlet.http.HttpServletRequest request) |
void |
InventoryWrapper.wrapSummary(Inventory model,
javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
Inventory |
AdvancedInventoryDao.readById(Long id) |
Inventory |
AdvancedInventoryDaoImpl.readById(Long id) |
Inventory |
AdvancedInventoryDao.readForUpdateById(Long id)
Same as read, but refreshes and handles locking for concurrent updates
|
Inventory |
AdvancedInventoryDaoImpl.readForUpdateById(Long id) |
Inventory |
AdvancedInventoryDao.readInventory(org.broadleafcommerce.core.catalog.domain.Sku sku,
FulfillmentLocation fulfillmentLocation)
|
Inventory |
AdvancedInventoryDaoImpl.readInventory(org.broadleafcommerce.core.catalog.domain.Sku sku,
FulfillmentLocation fulfillmentLocation) |
Inventory |
AdvancedInventoryDao.readInventoryForDefaultFulfillmentLocation(org.broadleafcommerce.core.catalog.domain.Sku sku)
Retrieves the
Inventory for the given Sku |
Inventory |
AdvancedInventoryDaoImpl.readInventoryForDefaultFulfillmentLocation(org.broadleafcommerce.core.catalog.domain.Sku sku) |
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 |
|---|---|
List<Inventory> |
AdvancedInventoryDao.readInventoriesForUpdateFromSkus(Set<Long> skus,
FulfillmentLocation fulfillmentLocation) |
List<Inventory> |
AdvancedInventoryDaoImpl.readInventoriesForUpdateFromSkus(Set<Long> skus,
FulfillmentLocation fulfillmentLocation) |
List<Inventory> |
AdvancedInventoryDao.readInventoryAcrossFulfillmentLocations(org.broadleafcommerce.core.catalog.domain.Sku sku)
Returns all of the inventory records for the given sku within all {@link FulfillmentLocations
|
List<Inventory> |
AdvancedInventoryDaoImpl.readInventoryAcrossFulfillmentLocations(org.broadleafcommerce.core.catalog.domain.Sku sku) |
List<Inventory> |
AdvancedInventoryDao.readInventoryAcrossFulfillmentLocations(org.broadleafcommerce.core.catalog.domain.Sku sku,
org.broadleafcommerce.core.order.service.type.FulfillmentType fulfillmentType)
Returns all of the inventory records for the given sku at
FulfillmentLocations with the given
fulfillmentType |
List<Inventory> |
AdvancedInventoryDaoImpl.readInventoryAcrossFulfillmentLocations(org.broadleafcommerce.core.catalog.domain.Sku sku,
org.broadleafcommerce.core.order.service.type.FulfillmentType fulfillmentType) |
List<Inventory> |
AdvancedInventoryDao.readInventoryForFulfillmentLocation(FulfillmentLocation fulfillmentLocation)
Retrieves all instances of Inventory for this fulfillmentLocation
|
List<Inventory> |
AdvancedInventoryDaoImpl.readInventoryForFulfillmentLocation(FulfillmentLocation fulfillmentLocation) |
List<Inventory> |
AdvancedInventoryDao.readInventoryForFulfillmentLocation(List<org.broadleafcommerce.core.catalog.domain.Sku> skus,
FulfillmentLocation fulfillmentLocation)
Reads inventories for a list of skus in the default fulfillment location.
|
List<Inventory> |
AdvancedInventoryDaoImpl.readInventoryForFulfillmentLocation(List<org.broadleafcommerce.core.catalog.domain.Sku> skus,
FulfillmentLocation fulfillmentLocation) |
| Modifier and Type | Method and Description |
|---|---|
void |
AdvancedInventoryDao.delete(Inventory inventory)
Deletes the
Inventory |
void |
AdvancedInventoryDaoImpl.delete(Inventory inventory) |
Inventory |
AdvancedInventoryDao.save(Inventory inventory)
Persists the
Inventory |
Inventory |
AdvancedInventoryDaoImpl.save(Inventory inventory) |
| Modifier and Type | Class and Description |
|---|---|
class |
InventoryImpl |
| Modifier and Type | Field and Description |
|---|---|
protected List<Inventory> |
AdvancedInventoryTemplate.advancedInventory |
protected List<Inventory> |
FulfillmentLocationImpl.inventoryList |
| Modifier and Type | Method and Description |
|---|---|
List<Inventory> |
SkuInventory.getInventory()
Returns associated inventory for this Sku.
|
List<Inventory> |
AdvancedInventoryTemplate.getInventory() |
| Modifier and Type | Method and Description |
|---|---|
void |
SkuInventory.setInventory(List<Inventory> inventory)
Sets associated inventory items for this Sku.
|
void |
AdvancedInventoryTemplate.setInventory(List<Inventory> inventory) |
| Modifier and Type | Method and Description |
|---|---|
List<Inventory> |
InventoryReservationStrategy.prioritizeInventory(List<Inventory> inventory)
Takes the given list of inventory and returns a new sorted list.
|
List<Inventory> |
AbstractInventoryReservationStrategy.prioritizeInventory(List<Inventory> inventory) |
| Modifier and Type | Method and Description |
|---|---|
List<Inventory> |
InventoryReservationStrategy.prioritizeInventory(List<Inventory> inventory)
Takes the given list of inventory and returns a new sorted list.
|
List<Inventory> |
AbstractInventoryReservationStrategy.prioritizeInventory(List<Inventory> inventory) |
| 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
|
Inventory |
AdvancedInventoryServiceImpl.findInventory(org.broadleafcommerce.core.catalog.domain.Sku sku) |
Inventory |
AdvancedInventoryService.findInventory(org.broadleafcommerce.core.catalog.domain.Sku sku)
Retrieves inventory for this sku at the default fulfillment location.
|
Inventory |
AdvancedInventoryServiceImpl.findInventory(org.broadleafcommerce.core.catalog.domain.Sku sku,
FulfillmentLocation fulfillmentLocation) |
Inventory |
AdvancedInventoryService.findInventory(org.broadleafcommerce.core.catalog.domain.Sku sku,
FulfillmentLocation fulfillmentLocation)
|
Inventory |
AdvancedInventoryServiceImpl.save(Inventory inventory) |
Inventory |
AdvancedInventoryService.save(Inventory inventory)
Persists the inventory
|
protected Inventory |
AdvancedInventoryServiceImpl.updateInventoryRecord(UpdateInventoryInfo info,
Inventory inventory)
Given an UpdateInventoryInfo record, updates the related inventory record
|
| Modifier and Type | Method and Description |
|---|---|
List<Inventory> |
AdvancedInventoryServiceImpl.findInventoryAcrossFulfillmentLocations(org.broadleafcommerce.core.catalog.domain.Sku sku) |
List<Inventory> |
AdvancedInventoryService.findInventoryAcrossFulfillmentLocations(org.broadleafcommerce.core.catalog.domain.Sku sku)
Gets the list of inventory across all
FulfillmentLocations for the given sku |
List<Inventory> |
AdvancedInventoryServiceImpl.findInventoryAcrossFulfillmentLocations(org.broadleafcommerce.core.catalog.domain.Sku sku,
org.broadleafcommerce.core.order.service.type.FulfillmentType fulfillmentType) |
List<Inventory> |
AdvancedInventoryService.findInventoryAcrossFulfillmentLocations(org.broadleafcommerce.core.catalog.domain.Sku sku,
org.broadleafcommerce.core.order.service.type.FulfillmentType fulfillmentType)
|
List<Inventory> |
AdvancedInventoryServiceImpl.findInventoryForFulfillmentLocation(FulfillmentLocation fulfillmentLocation) |
List<Inventory> |
AdvancedInventoryService.findInventoryForFulfillmentLocation(FulfillmentLocation fulfillmentLocation)
Retrieves all instances of Inventory for this fulfillmentLocation
|
| Modifier and Type | Method and Description |
|---|---|
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) |
Inventory |
AdvancedInventoryServiceImpl.save(Inventory inventory) |
Inventory |
AdvancedInventoryService.save(Inventory inventory)
Persists the inventory
|
protected Inventory |
AdvancedInventoryServiceImpl.updateInventoryRecord(UpdateInventoryInfo info,
Inventory inventory)
Given an UpdateInventoryInfo record, updates the related inventory record
|
| Modifier and Type | Method and Description |
|---|---|
List<Inventory> |
WeaveSkuInventory.getInventory() |
| Modifier and Type | Method and Description |
|---|---|
void |
WeaveSkuInventory.setInventory(List<Inventory> inventory) |
Copyright © 2020. All rights reserved.