Interface OrderFacade
- All Known Subinterfaces:
B2BOrderFacade
- All Known Implementing Classes:
DefaultB2BOrderFacade,DefaultB2BQuoteFacade,DefaultOrderFacade
public interface OrderFacade
Order facade interface. An Order Facade should provide access to a user's order history and full details of an order.
-
Method Summary
Modifier and TypeMethodDescriptiongetOrderDetailsForCode(String code) Returns the detail of an Order.Returns the order details for order code.getOrderDetailsForGUID(String guid) Gets the order details for GUID.getOrderHistoryForStatuses(OrderStatus... statuses) Returns the order history of the current user for given statuses.getPagedOrderHistoryForStatuses(PageableData pageableData, OrderStatus... statuses) Returns the order history of the current user for given statuses.
-
Method Details
-
getOrderDetailsForCode
Returns the detail of an Order.- Parameters:
code- The code of the Order for which to retrieve the detail.- Returns:
- The detail of the order with matching code
-
getOrderDetailsForGUID
Gets the order details for GUID.- Parameters:
guid- The guid of the Order for which to retrieve the detail.- Returns:
- the order details for GUID
-
getOrderHistoryForStatuses
Returns the order history of the current user for given statuses.- Parameters:
statuses- array of order statuses to filter the results- Returns:
- The order history of the current user.
-
getPagedOrderHistoryForStatuses
SearchPageData<OrderHistoryData> getPagedOrderHistoryForStatuses(PageableData pageableData, OrderStatus... statuses) Returns the order history of the current user for given statuses.- Parameters:
pageableData- paging informationstatuses- array of order statuses to filter the results- Returns:
- The order history of the current user.
-
getOrderDetailsForCodeWithoutUser
Returns the order details for order code.- Parameters:
code- order code- Returns:
- the order details for code without user
-