public interface OrderServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
Order |
createOrder(Order order)
Creates a new
Order. |
Order[] |
createOrders(Order[] orders)
Creates new
Order objects. |
Order |
getOrder(Long orderId)
Returns the
Order uniquely identified by the given
ID. |
OrderPage |
getOrdersByStatement(Statement filterStatement)
|
UpdateResult |
performOrderAction(OrderAction orderAction,
Statement filterStatement)
Performs actions on
Order objects that match the given
Statement.query. |
Order |
updateOrder(Order order)
Updates the specified
Order. |
Order[] |
updateOrders(Order[] orders)
Updates the specified
Order objects. |
Order createOrder(Order order) throws RemoteException, ApiException
Order.
The following fields are required:
order - the order to createRemoteExceptionApiExceptionOrder[] createOrders(Order[] orders) throws RemoteException, ApiException
Order objects.orders - the orders to createRemoteExceptionApiExceptionOrder getOrder(Long orderId) throws RemoteException, ApiException
Order uniquely identified by the given
ID.orderId - the ID of the order, which must already existOrder uniquely identified by the given IDRemoteExceptionApiExceptionOrderPage getOrdersByStatement(Statement filterStatement) throws RemoteException, ApiException
OrderPage of Order objects that satisfy
the given
Statement.query. The following fields are supported
for filtering:
| PQL Property | Object Property |
|---|---|
advertiserId |
Order.advertiserId |
endDateTime |
Order.endDateTime |
id |
Order.id |
name |
Order.name |
salespersonId |
Order.salespersonId |
startDateTime |
Order.startDateTime |
status |
Order.status |
traffickerId |
Order.traffickerId |
lastModifiedDateTime |
Order.lastModifiedDateTime |
filterStatement - a Publisher Query Language statement used to
filter
a set of ordersRemoteExceptionApiExceptionUpdateResult performOrderAction(OrderAction orderAction, Statement filterStatement) throws RemoteException, ApiException
Order objects that match the given
Statement.query.orderAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter
a set of ordersRemoteExceptionApiExceptionOrder updateOrder(Order order) throws RemoteException, ApiException
Order.order - the order to updateRemoteExceptionApiExceptionOrder[] updateOrders(Order[] orders) throws RemoteException, ApiException
Order objects.orders - the orders to updateRemoteExceptionApiExceptionCopyright © 2013. All Rights Reserved.