|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elasticpath.service.impl.AbstractEpServiceImpl
com.elasticpath.cmweb.ajaxservice.impl.OrderAjaxServiceImpl
public class OrderAjaxServiceImpl
This service provides access to functionality and data (beans) for manipulating order on the Javascript client.
| Constructor Summary | |
|---|---|
OrderAjaxServiceImpl()
|
|
| Method Summary | |
|---|---|
Order |
addOrderNote(long orderUid,
OrderNote newOrderNote)
Add an orderNote. |
java.util.List |
findOrderByCriteria(OrderSearchCriteria orderSearchCriteria,
int maxResults)
Retrieve the list of OrderInfoAjaxBeans, whose specified property contain the given criteria value. |
void |
setOrderService(OrderService orderService)
Set the orderService instance. |
Order |
updateOrderBillingAddress(long orderUid,
OrderAddress billingAddress)
Update the billing address of the order with the given orderUid. |
Order |
updateOrderStatus(long orderUid,
OrderStatus newOrderStatus)
Update the status of the order with the given orderUid. |
| Methods inherited from class com.elasticpath.service.impl.AbstractEpServiceImpl |
|---|
getElasticPath, setElasticPath |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.elasticpath.service.EpService |
|---|
getElasticPath, setElasticPath |
| Constructor Detail |
|---|
public OrderAjaxServiceImpl()
| Method Detail |
|---|
public Order addOrderNote(long orderUid,
OrderNote newOrderNote)
addOrderNote in interface OrderAjaxServiceorderUid - the orderUid.newOrderNote - the new order note.
public java.util.List findOrderByCriteria(OrderSearchCriteria orderSearchCriteria,
int maxResults)
OrderInfoAjaxBeans, whose specified property contain the given criteria value.
Set maxResults to -1 where use the global maxCmSearchResultCount setting in elasticpath.xml.
findOrderByCriteria in interface OrderAjaxServiceorderSearchCriteria - criteria for order search.maxResults - the max number of orders to return on search.
public void setOrderService(OrderService orderService)
orderService - the orderService instance.
public Order updateOrderBillingAddress(long orderUid,
OrderAddress billingAddress)
updateOrderBillingAddress in interface OrderAjaxServiceorderUid - the orderUid.billingAddress - the update billing address.
public Order updateOrderStatus(long orderUid,
OrderStatus newOrderStatus)
updateOrderStatus in interface OrderAjaxServiceorderUid - the orderUid.newOrderStatus - the new order status.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||