Class ProductsServices
java.lang.Object
io.github.mspr4_2025.products_service.service.ProductsServices
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateProduct
(ProductCreateDto productCreateDto) void
deleteProduct
(UUID uid) getProductByUid
(UUID uid) void
updateProduct
(UUID uid, ProductUpdateDto productUpdateDto)
-
Constructor Details
-
ProductsServices
public ProductsServices()
-
-
Method Details
-
getAllProducts
-
getProductByUid
- Throws:
org.springframework.web.server.ResponseStatusException
- when no entity exist with the given uid. This exception is handled by the controllers, returning a response with the corresponding http status.
-
createProduct
-
updateProduct
-
deleteProduct
-