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

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

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

JAXRS endpoint for exposing orders as RESTful services.

User: Kelly Tisdell Date: 4/10/12


Field Summary
protected  org.springframework.context.ApplicationContext context
           
protected  OrderService orderService
           
 
Constructor Summary
OrderHistoryEndpoint()
           
 
Method Summary
 List<OrderWrapper> findOrdersForCustomer(javax.servlet.http.HttpServletRequest request, String orderStatus)
           
 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

orderService

protected OrderService orderService

context

protected org.springframework.context.ApplicationContext context
Constructor Detail

OrderHistoryEndpoint

public OrderHistoryEndpoint()
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

findOrdersForCustomer

public List<OrderWrapper> findOrdersForCustomer(@Context
                                                javax.servlet.http.HttpServletRequest request,
                                                String orderStatus)


Copyright © 2013. All Rights Reserved.