Package com.esprit.services.products
Class OrderItemService
java.lang.Object
com.esprit.services.products.OrderItemService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Retrieves the AverageRatingSorted value.getItemsByOrder
(int orderId) Retrieves the ItemsByOrder value.getOrderItemsByOrder
(int orderId) Retrieves the OrderItemsByOrder value.int
getTotalQuantityByCategoryAndDate
(String categoryName, String formattedDate) Retrieves the TotalQuantityByCategoryAndDate value.read()
readOrderItem
(Long orderId) Performs readOrderItem operation.void
-
Field Details
-
LOGGER
-
connection
-
-
Constructor Details
-
OrderItemService
public OrderItemService()Performs OrderItemService operation.
-
-
Method Details
-
create
-
read
-
readOrderItem
Performs readOrderItem operation.- Returns:
- the result of the operation
-
update
-
delete
-
getOrderItemsByOrder
Retrieves the OrderItemsByOrder value.- Returns:
- the OrderItemsByOrder value
-
getTotalQuantityByCategoryAndDate
Retrieves the TotalQuantityByCategoryAndDate value.- Returns:
- the TotalQuantityByCategoryAndDate value
-
getItemsByOrder
Retrieves the ItemsByOrder value.- Returns:
- the ItemsByOrder value
-
getAverageRatingSorted
Retrieves the AverageRatingSorted value.- Returns:
- the AverageRatingSorted value
-