Uses of Class
com.glowmart.shop_management.dto.ProductDto
Packages that use ProductDto
Package
Description
-
Uses of ProductDto in com.glowmart.shop_management.common
Methods in com.glowmart.shop_management.common with parameters of type ProductDtoModifier and TypeMethodDescriptionstatic StringCommonFunction.createFile(org.springframework.web.multipart.MultipartFile file, ProductDto productDto) Creates and saves a file to the "uploads" directory. -
Uses of ProductDto in com.glowmart.shop_management.converter
Methods in com.glowmart.shop_management.converter that return ProductDtoModifier and TypeMethodDescriptionstatic ProductDtoProductConverter.convertToProductDto(Product product) Converts aProductentity to aProductDto.Methods in com.glowmart.shop_management.converter with parameters of type ProductDtoModifier and TypeMethodDescriptionstatic ProductProductConverter.convertToProduct(ProductDto productDto) Converts aProductDtoobject to aProductentity. -
Uses of ProductDto in com.glowmart.shop_management.service
Methods in com.glowmart.shop_management.service that return ProductDtoModifier and TypeMethodDescriptionProductService.createProduct(String categoryName, boolean active, String productJson, org.springframework.web.multipart.MultipartFile file) ProductService.deleteProductById(Long id) ProductService.getProductById(String id) ProductService.getProductByName(String name) ProductService.updateProductById(String id, org.springframework.web.multipart.MultipartFile file, String productJson, String categoryName, boolean active) -
Uses of ProductDto in com.glowmart.shop_management.service.implementation
Methods in com.glowmart.shop_management.service.implementation that return ProductDtoModifier and TypeMethodDescriptionProductServiceImpl.createProduct(String categoryName, boolean active, String productJson, org.springframework.web.multipart.MultipartFile file) Creates a new product under the specified category.ProductServiceImpl.deleteProductById(Long id) Deletes a product by its ID.ProductServiceImpl.getProductById(String id) Retrieves a product by its ID.ProductServiceImpl.getProductByName(String name) Retrieves a product by its name.ProductServiceImpl.updateProductById(String id, org.springframework.web.multipart.MultipartFile file, String productJson, String categoryName, boolean active) Updates an existing product by its ID.