Class OrderItemDaoImpl
java.lang.Object
org.broadleafcommerce.core.order.dao.OrderItemDaoImpl
- All Implemented Interfaces:
OrderItemDao
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jakarta.persistence.EntityManagerprotected EntityConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(OrderItemType orderItemType) voidSets the initial orderItemPriceDetail for the item.readBatchOrderItems(int start, int count, List<OrderStatus> statuses) readOrderItemById(Long orderItemId) readOrderItemsForCustomersInDateRange(List<Long> customerIds, Date startDate, Date endDate) saveOrderItem(OrderItem orderItem)
-
Field Details
-
em
protected jakarta.persistence.EntityManager em -
entityConfiguration
-
-
Constructor Details
-
OrderItemDaoImpl
public OrderItemDaoImpl()
-
-
Method Details
-
save
- Specified by:
savein interfaceOrderItemDao
-
readOrderItemById
- Specified by:
readOrderItemByIdin interfaceOrderItemDao
-
delete
- Specified by:
deletein interfaceOrderItemDao
-
create
- Specified by:
createin interfaceOrderItemDao
-
createPersonalMessage
- Specified by:
createPersonalMessagein interfaceOrderItemDao
-
saveOrderItem
- Specified by:
saveOrderItemin interfaceOrderItemDao
-
createOrderItemPriceDetail
- Specified by:
createOrderItemPriceDetailin interfaceOrderItemDao
-
createOrderItemQualifier
- Specified by:
createOrderItemQualifierin interfaceOrderItemDao
-
initializeOrderItemPriceDetails
Description copied from interface:OrderItemDaoSets the initial orderItemPriceDetail for the item.- Specified by:
initializeOrderItemPriceDetailsin interfaceOrderItemDao
-
readOrderItemsForCustomersInDateRange
public List<OrderItem> readOrderItemsForCustomersInDateRange(List<Long> customerIds, Date startDate, Date endDate) - Specified by:
readOrderItemsForCustomersInDateRangein interfaceOrderItemDao
-
readNumberOfOrderItems
- Specified by:
readNumberOfOrderItemsin interfaceOrderItemDao
-
readBatchOrderItems
- Specified by:
readBatchOrderItemsin interfaceOrderItemDao
-