Uses of Class
com.needleandstitch.pavuk.model.ClothingItem
Packages that use ClothingItem
Package
Description
-
Uses of ClothingItem in com.needleandstitch.pavuk.controller
Methods in com.needleandstitch.pavuk.controller that return types with arguments of type ClothingItemModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<List<ClothingItem>> ClothingItemController.getAllClothingItems()
Retrieves all clothing items.org.springframework.http.ResponseEntity
<ClothingItem> ClothingItemController.getClothingItemById
(Long id) Endpoint to retrieve a clothing item by its ID.org.springframework.http.ResponseEntity
<ClothingItem> ClothingItemController.updateClothingItem
(Long id, ClothingItem clothingItem) Endpoint to update an existing clothing item by its ID.Methods in com.needleandstitch.pavuk.controller with parameters of type ClothingItemModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<Void> ClothingItemController.createClothingItem
(ClothingItem clothingItem) Endpoint to create a new clothing item.org.springframework.http.ResponseEntity
<ClothingItem> ClothingItemController.updateClothingItem
(Long id, ClothingItem clothingItem) Endpoint to update an existing clothing item by its ID. -
Uses of ClothingItem in com.needleandstitch.pavuk.model
Methods in com.needleandstitch.pavuk.model that return ClothingItemModifier and TypeMethodDescriptionClothingItemPart.getClothingItem()
Gets the clothing item associated with this part.Order.getClothingItem()
Gets the clothing item that was ordered.Methods in com.needleandstitch.pavuk.model with parameters of type ClothingItemModifier and TypeMethodDescriptionvoid
ClothingItemPart.setClothingItem
(ClothingItem clothingItem) Sets the clothing item associated with this part.void
Order.setClothingItem
(ClothingItem clothingItem) Sets the clothing item that was ordered.Constructors in com.needleandstitch.pavuk.model with parameters of type ClothingItemModifierConstructorDescriptionClothingItemPart
(ClothingItem clothingItem, Image image, Fabric fabric) Constructor for creating a clothing item part with specific clothing item, image, and fabric.Order
(Customer customer, ClothingItem clothingItem, ShippingInfo shippingInfo) Constructor to create a new order with the specified customer, clothing item, and shipping information. -
Uses of ClothingItem in com.needleandstitch.pavuk.repository
Subinterfaces with type arguments of type ClothingItem in com.needleandstitch.pavuk.repositoryModifier and TypeInterfaceDescriptioninterface
Repository interface for managing ClothingItem entities.Methods in com.needleandstitch.pavuk.repository that return types with arguments of type ClothingItemModifier and TypeMethodDescriptionClothingItemRepository.findByName
(String name) Finds a clothing item by its name. -
Uses of ClothingItem in com.needleandstitch.pavuk.service
Methods in com.needleandstitch.pavuk.service that return ClothingItemModifier and TypeMethodDescriptionClothingItemService.createClothingItem
(String name, String description, BigDecimal price, Set<Image> images, Category category) Creates a new clothing item.Retrieves a clothing item by its ID.ClothingItemService.updateClothingItem
(Long id, String name, String description, BigDecimal price, Set<Image> images, Category category) Updates an existing clothing item.Methods in com.needleandstitch.pavuk.service that return types with arguments of type ClothingItemModifier and TypeMethodDescriptionClothingItemService.findAll()
Retrieves a list of all clothing items.