Interface OrderFacade
-
- All Known Subinterfaces:
B2BOrderFacade
- All Known Implementing Classes:
DefaultB2BOrderFacade
,DefaultB2BQuoteFacade
,DefaultOrderFacade
,SapCreditCheckB2BOrderFacade
,SapOrdermgmtB2BOrderFacade
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OrderData
getOrderDetailsForCode(java.lang.String code)
Returns the detail of an Order.OrderData
getOrderDetailsForCodeWithoutUser(java.lang.String code)
Returns the order details for order code.OrderData
getOrderDetailsForGUID(java.lang.String guid)
Gets the order details for GUID.java.util.List<OrderHistoryData>
getOrderHistoryForStatuses(OrderStatus... statuses)
Returns the order history of the current user for given statuses.SearchPageData<OrderHistoryData>
getPagedOrderHistoryForStatuses(PageableData pageableData, OrderStatus... statuses)
Returns the order history of the current user for given statuses.
-
-
-
Method Detail
-
getOrderDetailsForCode
OrderData getOrderDetailsForCode(java.lang.String code)
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
OrderData getOrderDetailsForGUID(java.lang.String guid)
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
java.util.List<OrderHistoryData> getOrderHistoryForStatuses(OrderStatus... statuses)
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
OrderData getOrderDetailsForCodeWithoutUser(java.lang.String code)
Returns the order details for order code.- Parameters:
code
- order code- Returns:
- the order details for code without user
-
-