public interface B2BOrderDao
OrderModel| Modifier and Type | Method and Description |
|---|---|
List<OrderModel> |
findApprovedOrders(UserModel user)
Find the orders with a status of
OrderStatus.APPROVED for a user. |
List<OrderModel> |
findApprovedQuoteOrders(UserModel user)
Deprecated.
Since 6.3. Please see quote functionality from commerce.
Find the orders with a status of
OrderStatus.APPROVED_QUOTE for a user. |
List<CartToOrderCronJobModel> |
findCartToOrderCronJobs(UserModel user)
Deprecated.
Since 6.0. Use
DefaultCartToOrderCronJobModelDao.findCartToOrderCronJobs(UserModel) instead |
CartToOrderCronJobModel |
findCartToOrderModel(String code)
Deprecated.
Since 6.0. Use
DefaultCartToOrderCronJobModelDao.findCartToOrderCronJob(String) instead |
<T extends OrderModel> |
findOrderByCode(String code)
Gets order for a give code.
|
List<OrderModel> |
findOrdersApprovedByDateRange(UserModel user,
Date startDate,
Date endDate)
Find orders with a
OrderStatus.APPROVED status within a date range for a user. |
List<OrderModel> |
findOrdersApprovedForDateRange(UserModel user,
Date startDate,
Date endDate)
Deprecated.
|
List<OrderModel> |
findOrdersApprovedForDateRangeByCurrency(B2BUnitModel unitModel,
Date startDate,
Date endDate,
CurrencyModel currency)
Find orders with a
OrderStatus.APPROVED status for b2b unit based on date range and currency. |
List<OrderModel> |
findOrdersByStatus(UserModel user,
List<OrderStatus> status)
Find order by given status for a user.
|
List<OrderModel> |
findOrdersByStatus(UserModel user,
OrderStatus status)
Find orders having a particular
OrderStatus value for a user. |
Double |
findOrderTotalsByDateRangeAndCurrency(B2BUnitModel unitModel,
Date startDate,
Date endDate,
CurrencyModel currency)
Find order total for the b2b unit based on date range and converted into given currency
|
Double |
findOrderTotalsForDateRangeByCurrency(B2BUnitModel unitModel,
Date startDate,
Date endDate,
CurrencyModel currency)
Deprecated.
|
List<OrderModel> |
findPendingApprovalOrders(UserModel user)
Find the orders with a status of
OrderStatus.PENDING_APPROVAL for a user. |
List<OrderModel> |
findPendingApprovalOrdersFromMerchant(UserModel user)
Find the orders with a status of
OrderStatus.PENDING_APPROVAL_FROM_MERCHANT for a user. |
List<OrderModel> |
findPendingQuoteOrders(UserModel user)
Deprecated.
Since 6.3. Please see quote functionality from commerce.
Find the orders with a status of
OrderStatus.PENDING_QUOTE for a user. |
List<OrderModel> |
findRejectedByMerchantOrders(UserModel user)
Find the orders with a status of
OrderStatus.REJECTED_BY_MERCHANT for a user. |
List<OrderModel> |
findRejectedOrders(UserModel user)
Find the rejected orders with the status of
OrderStatus.REJECTED for a user. |
List<OrderModel> |
findRejectedQuoteOrders(UserModel user)
Deprecated.
Since 6.3. Please see quote functionality from commerce.
Find the orders with a status of
OrderStatus.REJECTED_QUOTE for a user. |
List<OrderModel> findRejectedOrders(UserModel user)
OrderStatus.REJECTED for a user.user - the userList<OrderModel> findRejectedByMerchantOrders(UserModel user)
OrderStatus.REJECTED_BY_MERCHANT for a user.user - the user@Deprecated List<OrderModel> findPendingQuoteOrders(UserModel user)
OrderStatus.PENDING_QUOTE for a user.user - the user@Deprecated List<OrderModel> findApprovedQuoteOrders(UserModel user)
OrderStatus.APPROVED_QUOTE for a user.user - the user@Deprecated List<OrderModel> findRejectedQuoteOrders(UserModel user)
OrderStatus.REJECTED_QUOTE for a user.user - the userList<OrderModel> findApprovedOrders(UserModel user)
OrderStatus.APPROVED for a user.user - the userList<OrderModel> findPendingApprovalOrders(UserModel user)
OrderStatus.PENDING_APPROVAL for a user.user - the userList<OrderModel> findPendingApprovalOrdersFromMerchant(UserModel user)
OrderStatus.PENDING_APPROVAL_FROM_MERCHANT for a user.user - the userList<OrderModel> findOrdersByStatus(UserModel user, OrderStatus status)
OrderStatus value for a user.user - the userstatus - the order's current status@Deprecated List<OrderModel> findOrdersApprovedForDateRange(UserModel user, Date startDate, Date endDate)
findOrdersApprovedByDateRange(UserModel,Date,Date) insteaduser - the userstartDate - the start dateendDate - the end dateList<OrderModel> findOrdersApprovedByDateRange(UserModel user, Date startDate, Date endDate)
OrderStatus.APPROVED status within a date range for a user.user - the userstartDate - the start dateendDate - the end date@Deprecated List<CartToOrderCronJobModel> findCartToOrderCronJobs(UserModel user)
DefaultCartToOrderCronJobModelDao.findCartToOrderCronJobs(UserModel) insteaduser - A user who had a cart scheduled for replenishment.@Deprecated CartToOrderCronJobModel findCartToOrderModel(String code)
DefaultCartToOrderCronJobModelDao.findCartToOrderCronJob(String) insteadcode.code - the code of the cron jobList<OrderModel> findOrdersByStatus(UserModel user, List<OrderStatus> status)
user - the userstatus - the statusList<OrderModel> findOrdersApprovedForDateRangeByCurrency(B2BUnitModel unitModel, Date startDate, Date endDate, CurrencyModel currency)
OrderStatus.APPROVED status for b2b unit based on date range and currency.unitModel - the b2b unitstartDate - the start date of the date rangeendDate - the end date of the date rangecurrency - the currency of the order@Deprecated Double findOrderTotalsForDateRangeByCurrency(B2BUnitModel unitModel, Date startDate, Date endDate, CurrencyModel currency)
findOrderTotalsByDateRangeAndCurrency(B2BUnitModel,Date,Date,CurrencyModel) insteadunitModel - startDate - endDate - currency - Double findOrderTotalsByDateRangeAndCurrency(B2BUnitModel unitModel, Date startDate, Date endDate, CurrencyModel currency)
unitModel - the b2b unitstartDate - the start date of the date rangeendDate - the end date of the date rangecurrency - the currency type to be converted to<T extends OrderModel> T findOrderByCode(String code)
code - A unque quoteCopyright © 2017 SAP SE. All Rights Reserved.