public interface FulfillmentLocationDao
| Modifier and Type | Method and Description |
|---|---|
FulfillmentLocation |
createNew()
Creates a new instance.
|
void |
delete(FulfillmentLocation fulfillmentLocation)
Deletes the passed
FulfillmentLocation |
List<FulfillmentLocation> |
readAll()
Retrieves all of the fulfillment locations
|
List<FulfillmentLocation> |
readAllFulfillmentLocations(org.broadleafcommerce.core.order.service.type.FulfillmentType fulfillmentType) |
List<FulfillmentLocation> |
readAllFulfillmentLocationsForSku(Long skuId) |
List<FulfillmentLocation> |
readAllFulfillmentLocationsForSku(Long skuId,
org.broadleafcommerce.core.order.service.type.FulfillmentType fulfillmentType)
Reads all fulfillment locations associated with a sku
|
List<FulfillmentLocation> |
readAllFulfillmentLocationsForSku(Long skuId,
org.broadleafcommerce.core.order.service.type.FulfillmentType fulfillmentType,
int minimumQuantity) |
FulfillmentLocation |
readById(Long fulfillmentLocationId)
Retrieves a
FulfillmentLocation from the given id |
FulfillmentLocation |
readDefaultFulfillmentLocation()
Reads the first fulfillment location that it finds that is flagged as default
|
FulfillmentLocation |
save(FulfillmentLocation fulfillmentLocation)
Persists the
FulfillmentLocation |
int |
updateOtherDefaultLocationToFalse(FulfillmentLocation fulfillmentLocation)
Sets the defaultLocation flag to false for all fulfillmentLocations
|
List<FulfillmentLocation> readAll()
List of org.broadleafcommerce.inventory.domain.FulfillmentLocationFulfillmentLocation readById(Long fulfillmentLocationId)
FulfillmentLocation from the given idfulfillmentLocationId - FulfillmentLocationFulfillmentLocation save(FulfillmentLocation fulfillmentLocation)
FulfillmentLocationfulfillmentLocation - FulfillmentLocationvoid delete(FulfillmentLocation fulfillmentLocation)
FulfillmentLocationfulfillmentLocation - int updateOtherDefaultLocationToFalse(FulfillmentLocation fulfillmentLocation)
FulfillmentLocation readDefaultFulfillmentLocation()
List<FulfillmentLocation> readAllFulfillmentLocationsForSku(Long skuId)
List<FulfillmentLocation> readAllFulfillmentLocationsForSku(Long skuId, org.broadleafcommerce.core.order.service.type.FulfillmentType fulfillmentType)
skuId - List<FulfillmentLocation> readAllFulfillmentLocationsForSku(Long skuId, org.broadleafcommerce.core.order.service.type.FulfillmentType fulfillmentType, int minimumQuantity)
List<FulfillmentLocation> readAllFulfillmentLocations(org.broadleafcommerce.core.order.service.type.FulfillmentType fulfillmentType)
FulfillmentLocation createNew()
Copyright © 2020. All rights reserved.