|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OrderServiceInterface
| Method Summary | |
|---|---|
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)
Gets an OrderPage of Order objects that satisfy
the given
Statement.query. |
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. |
| Method Detail |
|---|
Order createOrder(Order order)
throws RemoteException,
ApiException
Order.
The following fields are required:
order - the order to create
RemoteException
ApiException
Order[] createOrders(Order[] orders)
throws RemoteException,
ApiException
Order objects.
orders - the orders to create
RemoteException
ApiException
Order getOrder(Long orderId)
throws RemoteException,
ApiException
Order uniquely identified by the given
ID.
orderId - the ID of the order, which must already exist
Order uniquely identified by the given ID
RemoteException
ApiException
OrderPage 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 orders
RemoteException
ApiException
UpdateResult 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 orders
RemoteException
ApiException
Order updateOrder(Order order)
throws RemoteException,
ApiException
Order.
order - the order to update
RemoteException
ApiException
Order[] updateOrders(Order[] orders)
throws RemoteException,
ApiException
Order objects.
orders - the orders to update
RemoteException
ApiException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||