|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.core.order.service.OrderServiceImpl
org.broadleafcommerce.core.order.service.legacy.LegacyOrderServiceImpl
org.broadleafcommerce.core.order.service.legacy.LegacyCartServiceImpl
@Deprecated public class LegacyCartServiceImpl
This legacy implementation should no longer be used as of 2.0 The new interface and implementation are OrderService and OrderServiceImpl
| Field Summary | |
|---|---|
protected CustomerService |
customerService
Deprecated. |
| Fields inherited from class org.broadleafcommerce.core.order.service.legacy.LegacyOrderServiceImpl |
|---|
categoryDao, fulfillmentGroupDao, fulfillmentGroupItemDao, fulfillmentGroupService, orderItemDao, orderItemService, productDao, skuDao |
| Fields inherited from class org.broadleafcommerce.core.order.service.OrderServiceImpl |
|---|
addItemWorkflow, automaticallyMergeLikeItems, deleteEmptyNamedOrders, extensionManager, mergeCartService, moveNamedOrderItems, nullOrderFactory, offerDao, offerService, orderDao, paymentInfoDao, pricingRetryCountForLockFailure, pricingRetryWaitIntervalForLockFailure, pricingService, removeItemWorkflow, securePaymentInfoService, transactionManager, updateItemWorkflow |
| Constructor Summary | |
|---|---|
LegacyCartServiceImpl()
Deprecated. |
|
| Method Summary | |
|---|---|
Order |
addAllItemsToCartFromNamedOrder(Order namedOrder)
Deprecated. |
Order |
addAllItemsToCartFromNamedOrder(Order namedOrder,
boolean priceOrder)
Deprecated. |
Order |
addItem(Long orderId,
OrderItemRequestDTO orderItemRequestDTO,
boolean priceOrder)
Deprecated. Initiates the addItem workflow that will attempt to add the given quantity of the specified item to the Order. |
MergeCartResponse |
mergeCart(Customer customer,
Order anonymousCart)
Deprecated. |
MergeCartResponse |
mergeCart(Customer customer,
Order anonymousCart,
boolean priceOrder)
Deprecated. Merge the anonymous cart with the customer's cart taking into consideration sku activation |
Order |
moveAllItemsToCartFromNamedOrder(Order namedOrder)
Deprecated. |
Order |
moveAllItemsToCartFromNamedOrder(Order namedOrder,
boolean priceOrder)
Deprecated. |
OrderItem |
moveItemToCartFromNamedOrder(Long customerId,
String orderName,
Long orderItemId,
Integer quantity)
Deprecated. |
OrderItem |
moveItemToCartFromNamedOrder(Long customerId,
String orderName,
Long orderItemId,
Integer quantity,
boolean priceOrder)
Deprecated. |
OrderItem |
moveItemToCartFromNamedOrder(Order namedOrder,
OrderItem orderItem)
Deprecated. |
OrderItem |
moveItemToCartFromNamedOrder(Order namedOrder,
OrderItem orderItem,
boolean priceOrder)
Deprecated. |
ReconstructCartResponse |
reconstructCart(Customer customer)
Deprecated. |
ReconstructCartResponse |
reconstructCart(Customer customer,
boolean priceOrder)
Deprecated. Reconstruct the cart using previous stored state taking into consideration sku activation |
Order |
removeItem(Long orderId,
Long orderItemId,
boolean priceOrder)
Deprecated. Initiates the removeItem workflow that will attempt to remove the specified OrderItem from the given Order |
Order |
updateItemQuantity(Long orderId,
OrderItemRequestDTO orderItemRequestDTO,
boolean priceOrder)
Deprecated. Initiates the updateItem workflow that will attempt to update the item quantity for the specified OrderItem in the given Order. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CustomerService customerService
| Constructor Detail |
|---|
public LegacyCartServiceImpl()
| Method Detail |
|---|
public Order addAllItemsToCartFromNamedOrder(Order namedOrder)
throws PricingException
addAllItemsToCartFromNamedOrder in interface LegacyCartServicePricingException
public Order addAllItemsToCartFromNamedOrder(Order namedOrder,
boolean priceOrder)
throws PricingException
addAllItemsToCartFromNamedOrder in interface LegacyCartServicePricingException
public OrderItem moveItemToCartFromNamedOrder(Long customerId,
String orderName,
Long orderItemId,
Integer quantity)
throws PricingException
moveItemToCartFromNamedOrder in interface LegacyCartServicePricingException
public OrderItem moveItemToCartFromNamedOrder(Long customerId,
String orderName,
Long orderItemId,
Integer quantity,
boolean priceOrder)
throws PricingException
moveItemToCartFromNamedOrder in interface LegacyCartServicePricingException
public OrderItem moveItemToCartFromNamedOrder(Order namedOrder,
OrderItem orderItem)
throws PricingException
moveItemToCartFromNamedOrder in interface LegacyCartServicePricingException
public OrderItem moveItemToCartFromNamedOrder(Order namedOrder,
OrderItem orderItem,
boolean priceOrder)
throws PricingException
moveItemToCartFromNamedOrder in interface LegacyCartServicePricingException
public Order moveAllItemsToCartFromNamedOrder(Order namedOrder)
throws PricingException
moveAllItemsToCartFromNamedOrder in interface LegacyCartServicePricingException
public Order moveAllItemsToCartFromNamedOrder(Order namedOrder,
boolean priceOrder)
throws PricingException
moveAllItemsToCartFromNamedOrder in interface LegacyCartServicePricingException
public MergeCartResponse mergeCart(Customer customer,
Order anonymousCart)
throws PricingException
mergeCart in interface LegacyCartServicePricingException
public ReconstructCartResponse reconstructCart(Customer customer)
throws PricingException
reconstructCart in interface LegacyCartServicePricingException
public MergeCartResponse mergeCart(Customer customer,
Order anonymousCart,
boolean priceOrder)
throws PricingException
LegacyCartService
mergeCart in interface LegacyCartServicecustomer - the customer whose cart is to be merged
PricingException
public ReconstructCartResponse reconstructCart(Customer customer,
boolean priceOrder)
throws PricingException
LegacyCartService
reconstructCart in interface LegacyCartServicecustomer - the customer whose cart is to be reconstructed
PricingException
public Order addItem(Long orderId,
OrderItemRequestDTO orderItemRequestDTO,
boolean priceOrder)
throws AddToCartException
OrderServiceOrderService.addItemWithPriceOverrides(Long, OrderItemRequestDTO, boolean) in that it
will clear any values set on the OrderItemRequestDTO for the overrideSalePrice or overrideRetailPrice.
This design is intended to ensure that override pricing is not called by mistake. Implementors should
use this method when no manual price overrides are allowed.
addItem in interface OrderServiceaddItem in class OrderServiceImplAddToCartExceptionOrderItemRequestDTO
public Order updateItemQuantity(Long orderId,
OrderItemRequestDTO orderItemRequestDTO,
boolean priceOrder)
throws UpdateCartException
OrderService
updateItemQuantity in interface OrderServiceupdateItemQuantity in class OrderServiceImplUpdateCartExceptionOrderItemRequestDTO
public Order removeItem(Long orderId,
Long orderItemId,
boolean priceOrder)
throws RemoveFromCartException
OrderService
removeItem in interface OrderServiceremoveItem in class OrderServiceImplRemoveFromCartExceptionOrderItemRequestDTO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||