Uses of Class
com.needleandstitch.pavuk.model.Category
Packages that use Category
Package
Description
-
Uses of Category in com.needleandstitch.pavuk.model
Methods in com.needleandstitch.pavuk.model that return CategoryModifier and TypeMethodDescriptionClothingItem.getCategory()
Gets the category of the clothing item.Methods in com.needleandstitch.pavuk.model with parameters of type CategoryModifier and TypeMethodDescriptionvoid
ClothingItem.setCategory
(Category category) Sets the category of the clothing item.Constructors in com.needleandstitch.pavuk.model with parameters of type CategoryModifierConstructorDescriptionClothingItem
(String name, String description, BigDecimal price, Set<Image> images, Category category) Constructor for creating a clothing item with specified details. -
Uses of Category in com.needleandstitch.pavuk.repository
Subinterfaces with type arguments of type Category in com.needleandstitch.pavuk.repositoryModifier and TypeInterfaceDescriptioninterface
Repository interface for managing Category entities.Methods in com.needleandstitch.pavuk.repository that return types with arguments of type CategoryModifier and TypeMethodDescriptionCategoryRepository.findByName
(String name) Finds a category by its name. -
Uses of Category in com.needleandstitch.pavuk.service
Methods in com.needleandstitch.pavuk.service with parameters of type CategoryModifier and TypeMethodDescriptionClothingItemService.createClothingItem
(String name, String description, BigDecimal price, Set<Image> images, Category category) Creates a new clothing item.ClothingItemService.updateClothingItem
(Long id, String name, String description, BigDecimal price, Set<Image> images, Category category) Updates an existing clothing item.