Class DefaultOrderFacade
- java.lang.Object
-
- de.hybris.platform.commercefacades.order.impl.DefaultOrderFacade
-
- All Implemented Interfaces:
OrderFacade
- Direct Known Subclasses:
DefaultB2BOrderFacade,DefaultB2BQuoteFacade
public class DefaultOrderFacade extends java.lang.Object implements OrderFacade
Default implementation ofOrderFacade.
-
-
Constructor Summary
Constructors Constructor Description DefaultOrderFacade()
-
Method Summary
-
-
-
Method Detail
-
getOrderDetailsForCode
public OrderData getOrderDetailsForCode(java.lang.String code)
Description copied from interface:OrderFacadeReturns the detail of an Order.- Specified by:
getOrderDetailsForCodein interfaceOrderFacade- Parameters:
code- The code of the Order for which to retrieve the detail.- Returns:
- The detail of the order with matching code
-
getOrderDetailsForGUID
public OrderData getOrderDetailsForGUID(java.lang.String guid)
Description copied from interface:OrderFacadeGets the order details for GUID.- Specified by:
getOrderDetailsForGUIDin interfaceOrderFacade- Parameters:
guid- The guid of the Order for which to retrieve the detail.- Returns:
- the order details for GUID
-
getOrderHistoryForStatuses
public java.util.List<OrderHistoryData> getOrderHistoryForStatuses(OrderStatus... statuses)
Description copied from interface:OrderFacadeReturns the order history of the current user for given statuses.- Specified by:
getOrderHistoryForStatusesin interfaceOrderFacade- Parameters:
statuses- array of order statuses to filter the results- Returns:
- The order history of the current user.
-
getPagedOrderHistoryForStatuses
public SearchPageData<OrderHistoryData> getPagedOrderHistoryForStatuses(PageableData pageableData, OrderStatus... statuses)
Description copied from interface:OrderFacadeReturns the order history of the current user for given statuses.- Specified by:
getPagedOrderHistoryForStatusesin interfaceOrderFacade- Parameters:
pageableData- paging informationstatuses- array of order statuses to filter the results- Returns:
- The order history of the current user.
-
getOrderDetailsForCodeWithoutUser
public OrderData getOrderDetailsForCodeWithoutUser(java.lang.String code)
Description copied from interface:OrderFacadeReturns the order details for order code.- Specified by:
getOrderDetailsForCodeWithoutUserin interfaceOrderFacade- Parameters:
code- order code- Returns:
- the order details for code without user
-
convertPageData
protected <S,T> SearchPageData<T> convertPageData(SearchPageData<S> source, Converter<S,T> converter)
-
getUserService
protected UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
getCustomerAccountService
protected <T extends CustomerAccountService> T getCustomerAccountService()
-
setCustomerAccountService
public void setCustomerAccountService(CustomerAccountService customerAccountService)
-
getBaseStoreService
protected BaseStoreService getBaseStoreService()
-
setBaseStoreService
public void setBaseStoreService(BaseStoreService service)
-
getOrderConverter
protected Converter<OrderModel,OrderData> getOrderConverter()
-
setOrderConverter
public void setOrderConverter(Converter<OrderModel,OrderData> orderConverter)
-
getOrderHistoryConverter
protected Converter<OrderModel,OrderHistoryData> getOrderHistoryConverter()
-
setOrderHistoryConverter
public void setOrderHistoryConverter(Converter<OrderModel,OrderHistoryData> orderHistoryConverter)
-
getCheckoutCustomerStrategy
protected CheckoutCustomerStrategy getCheckoutCustomerStrategy()
-
setCheckoutCustomerStrategy
public void setCheckoutCustomerStrategy(CheckoutCustomerStrategy checkoutCustomerStrategy)
-
-