org.broadleafcommerce.core.web.api.endpoint.order
Class FulfillmentEndpoint

java.lang.Object
  extended by org.broadleafcommerce.core.web.api.endpoint.order.FulfillmentEndpoint
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Component(value="blRestFulfillmentEndpoint")
@Scope(value="singleton")
public class FulfillmentEndpoint
extends Object
implements org.springframework.context.ApplicationContextAware

JAXRS endpoint for exposing the fulfillment group process as a set of RESTful services.

User: Kelly Tisdell Date: 4/10/12


Field Summary
protected  CheckoutService checkoutService
           
protected  org.springframework.context.ApplicationContext context
           
protected  FulfillmentGroupService fulfillmentGroupService
           
protected  OrderService orderService
           
 
Constructor Summary
FulfillmentEndpoint()
           
 
Method Summary
 FulfillmentGroupWrapper addFulfillmentGroupToOrder(javax.servlet.http.HttpServletRequest request, FulfillmentGroupWrapper wrapper, boolean priceOrder)
           
 FulfillmentGroupWrapper addItemToFulfillmentGroup(javax.servlet.http.HttpServletRequest request, Long fulfillmentGroupId, FulfillmentGroupItemWrapper wrapper, boolean priceOrder)
           
 List<FulfillmentGroupWrapper> findFulfillmentGroupsForOrder(javax.servlet.http.HttpServletRequest request)
           
 OrderWrapper removeAllFulfillmentGroupsFromOrder(javax.servlet.http.HttpServletRequest request, boolean priceOrder)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

checkoutService

protected CheckoutService checkoutService

orderService

protected OrderService orderService

fulfillmentGroupService

protected FulfillmentGroupService fulfillmentGroupService

context

protected org.springframework.context.ApplicationContext context
Constructor Detail

FulfillmentEndpoint

public FulfillmentEndpoint()
Method Detail

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

findFulfillmentGroupsForOrder

public List<FulfillmentGroupWrapper> findFulfillmentGroupsForOrder(@Context
                                                                   javax.servlet.http.HttpServletRequest request)

removeAllFulfillmentGroupsFromOrder

public OrderWrapper removeAllFulfillmentGroupsFromOrder(@Context
                                                        javax.servlet.http.HttpServletRequest request,
                                                        boolean priceOrder)

addFulfillmentGroupToOrder

public FulfillmentGroupWrapper addFulfillmentGroupToOrder(@Context
                                                          javax.servlet.http.HttpServletRequest request,
                                                          FulfillmentGroupWrapper wrapper,
                                                          boolean priceOrder)

addItemToFulfillmentGroup

public FulfillmentGroupWrapper addItemToFulfillmentGroup(@Context
                                                         javax.servlet.http.HttpServletRequest request,
                                                         Long fulfillmentGroupId,
                                                         FulfillmentGroupItemWrapper wrapper,
                                                         boolean priceOrder)


Copyright © 2012. All Rights Reserved.