org.broadleafcommerce.core.web.api.endpoint.order
Class OrderHistoryEndpoint
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
orderService
protected OrderService orderService
context
protected org.springframework.context.ApplicationContext context
OrderHistoryEndpoint
public OrderHistoryEndpoint()
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 © 2012. All Rights Reserved.