org.broadleafcommerce.core.order.service.legacy
Interface LegacyCartService

All Superinterfaces:
LegacyOrderService, OrderService
All Known Implementing Classes:
LegacyCartServiceImpl

Deprecated.

@Deprecated
public interface LegacyCartService
extends LegacyOrderService

This legacy interface should no longer be used as of 2.0 The new interface and implementation are OrderService and OrderServiceImpl


Method Summary
 Order addAllItemsToCartFromNamedOrder(Order namedOrder)
          Deprecated.  
 Order addAllItemsToCartFromNamedOrder(Order namedOrder, boolean priceOrder)
          Deprecated.  
 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 order, OrderItem orderItem)
          Deprecated.  
 OrderItem moveItemToCartFromNamedOrder(Order order, 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
 
Methods inherited from interface org.broadleafcommerce.core.order.service.legacy.LegacyOrderService
addBundleItemToOrder, addBundleItemToOrder, addDiscreteItemToOrder, addDiscreteItemToOrder, addDynamicPriceDiscreteItemToOrder, addDynamicPriceDiscreteItemToOrder, addFulfillmentGroupToOrder, addFulfillmentGroupToOrder, addFulfillmentGroupToOrder, addFulfillmentGroupToOrder, addGiftWrapItemToOrder, addItemToFulfillmentGroup, addItemToFulfillmentGroup, addItemToFulfillmentGroup, addItemToFulfillmentGroup, addItemToFulfillmentGroup, addItemToOrder, addOrderItemToBundle, addOrderItemToOrder, addOrderItemToOrder, addOrUpdateOrderItemAttributes, addPaymentToOrder, addSkuToOrder, addSkuToOrder, addSkuToOrder, addSkuToOrder, createDefaultFulfillmentGroup, createDiscreteOrderItemRequest, findDefaultFulfillmentGroupForOrder, readPaymentInfosForOrder, removeAllFulfillmentGroupsFromOrder, removeAllFulfillmentGroupsFromOrder, removeFulfillmentGroupFromOrder, removeFulfillmentGroupFromOrder, removeItemFromBundle, removeItemFromOrder, removeItemFromOrder, removeItemFromOrder, removeItemFromOrder, removeNamedOrderForCustomer, removeOrderItemAttribute, updateItemQuantity, updateItemQuantity, updateItemQuantity
 
Methods inherited from interface org.broadleafcommerce.core.order.service.OrderService
addAllItemsFromNamedOrder, addGiftWrapItemToOrder, addItem, addItemFromNamedOrder, addItemFromNamedOrder, addOfferCode, addPaymentToOrder, cancelOrder, confirmOrder, createNamedOrderForCustomer, createNewCartForCustomer, findCartForCustomer, findLastMatchingItem, findNamedOrderForCustomer, findOrderById, findOrderByOrderNumber, findOrdersForCustomer, findOrdersForCustomer, findPaymentInfosForOrder, getAutomaticallyMergeLikeItems, getNullOrder, isDeleteEmptyNamedOrders, isMoveNamedOrderItems, removeAllOfferCodes, removeAllPaymentsFromOrder, removeItem, removeOfferCode, removePaymentsFromOrder, save, setAutomaticallyMergeLikeItems, setDeleteEmptyNamedOrders, setMoveNamedOrderItems, updateItemQuantity
 

Method Detail

addAllItemsToCartFromNamedOrder

Order addAllItemsToCartFromNamedOrder(Order namedOrder)
                                      throws PricingException
Deprecated. 
Throws:
PricingException

addAllItemsToCartFromNamedOrder

Order addAllItemsToCartFromNamedOrder(Order namedOrder,
                                      boolean priceOrder)
                                      throws PricingException
Deprecated. 
Throws:
PricingException

moveItemToCartFromNamedOrder

OrderItem moveItemToCartFromNamedOrder(Order order,
                                       OrderItem orderItem)
                                       throws PricingException
Deprecated. 
Throws:
PricingException

moveItemToCartFromNamedOrder

OrderItem moveItemToCartFromNamedOrder(Order order,
                                       OrderItem orderItem,
                                       boolean priceOrder)
                                       throws PricingException
Deprecated. 
Throws:
PricingException

moveItemToCartFromNamedOrder

OrderItem moveItemToCartFromNamedOrder(Long customerId,
                                       String orderName,
                                       Long orderItemId,
                                       Integer quantity)
                                       throws PricingException
Deprecated. 
Throws:
PricingException

moveItemToCartFromNamedOrder

OrderItem moveItemToCartFromNamedOrder(Long customerId,
                                       String orderName,
                                       Long orderItemId,
                                       Integer quantity,
                                       boolean priceOrder)
                                       throws PricingException
Deprecated. 
Throws:
PricingException

moveAllItemsToCartFromNamedOrder

Order moveAllItemsToCartFromNamedOrder(Order namedOrder)
                                       throws PricingException
Deprecated. 
Throws:
PricingException

moveAllItemsToCartFromNamedOrder

Order moveAllItemsToCartFromNamedOrder(Order namedOrder,
                                       boolean priceOrder)
                                       throws PricingException
Deprecated. 
Throws:
PricingException

mergeCart

MergeCartResponse mergeCart(Customer customer,
                            Order anonymousCart,
                            boolean priceOrder)
                            throws PricingException
Deprecated. 
Merge the anonymous cart with the customer's cart taking into consideration sku activation

Parameters:
customer - the customer whose cart is to be merged
anonymousCartId - the anonymous cart id
Returns:
the response containing the cart, any items added to the cart, and any items removed from the cart
Throws:
PricingException

mergeCart

MergeCartResponse mergeCart(Customer customer,
                            Order anonymousCart)
                            throws PricingException
Deprecated. 
Throws:
PricingException

reconstructCart

ReconstructCartResponse reconstructCart(Customer customer,
                                        boolean priceOrder)
                                        throws PricingException
Deprecated. 
Reconstruct the cart using previous stored state taking into consideration sku activation

Parameters:
customer - the customer whose cart is to be reconstructed
Returns:
the response containing the cart and any items removed from the cart
Throws:
PricingException

reconstructCart

ReconstructCartResponse reconstructCart(Customer customer)
                                        throws PricingException
Deprecated. 
Throws:
PricingException


Copyright © 2012. All Rights Reserved.