All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
protected long |
checkCartLevel(ProductModel productModel,
CartModel cartModel,
PointOfServiceModel pointOfServiceModel) |
protected long |
getAllowedCartAdjustmentForProduct(CartModel cartModel,
ProductModel productModel,
long quantityToAdd,
PointOfServiceModel pointOfServiceModel)
Work out the allowed quantity adjustment for a product in the cart given a requested quantity change.
|
protected long |
getAvailableStockLevel(ProductModel productModel,
PointOfServiceModel pointOfServiceModel) |
protected BaseStoreService |
getBaseStoreService() |
protected CartEntryDao |
getCartEntryDao() |
protected CartService |
getCartService() |
protected CommerceCartCalculationStrategy |
getCommerceCartCalculationStrategy() |
protected CommerceStockService |
getCommerceStockService() |
protected AbstractOrderEntryModel |
getEntryForNumber(AbstractOrderModel order,
int number) |
protected java.lang.Integer |
getEntryForProductAndPointOfService(CartModel cartModel,
ProductModel productModel,
PointOfServiceModel pointOfServiceModel) |
protected ModifiableChecker<AbstractOrderEntryModel> |
getEntryOrderChecker() |
protected long |
getForceInStockMaxQuantity() |
protected ModelService |
getModelService() |
protected ProductService |
getProductService() |
protected boolean |
isMaxOrderQuantitySet(java.lang.Integer maxOrderQuantity) |
protected boolean |
isOrderEntryUpdatable(AbstractOrderEntryModel entryToUpdate) |
protected boolean |
isStockLevelSufficient(CartModel cartModel,
ProductModel productModel,
PointOfServiceModel pointOfServiceModel,
long quantityToAdd)
Work out if the stock level is sufficient for a product in the cart given a requested quantity change.
|
protected void |
normalizeEntryNumbers(CartModel cartModel) |
void |
setBaseStoreService(BaseStoreService baseStoreService) |
void |
setCartEntryDao(CartEntryDao cartEntryDao) |
void |
setCartService(CartService cartService) |
void |
setCommerceCartCalculationStrategy(CommerceCartCalculationStrategy commerceCartCalculationStrategy) |
void |
setCommerceStockService(CommerceStockService commerceStockService) |
void |
setEntryOrderChecker(ModifiableChecker<AbstractOrderEntryModel> entryOrderChecker) |
void |
setForceInStockMaxQuantity(long forceInStockMaxQuantity) |
void |
setModelService(ModelService modelService) |
void |
setProductService(ProductService productService) |