Interface ProductService
- All Known Implementing Classes:
ProductServiceImpl
public interface ProductService
-
Method Summary
Modifier and TypeMethodDescriptioncreateProduct(String categoryName, boolean active, String productJson, org.springframework.web.multipart.MultipartFile file) getProductById(String id) getProductByName(String name) updateProductById(String id, org.springframework.web.multipart.MultipartFile file, String productJson, String categoryName, boolean active)
-
Method Details
-
createProduct
ProductDto createProduct(String categoryName, boolean active, String productJson, org.springframework.web.multipart.MultipartFile file) throws IOException - Throws:
IOException
-
updateProductById
ProductDto updateProductById(String id, org.springframework.web.multipart.MultipartFile file, String productJson, String categoryName, boolean active) throws IOException - Throws:
IOException
-
getProductByName
-
deleteProductById
- Throws:
AccessDeniedException
-
getProductById
-