Class CustomerService
java.lang.Object
io.github.mspr4_2025.customers_service.service.CustomerService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCustomer
(CustomerCreateDto customerCreate) void
deleteCustomer
(UUID uid) getCustomerByUid
(UUID uid) void
updateCustomer
(UUID uid, CustomerUpdateDto customerUpdate)
-
Constructor Details
-
CustomerService
public CustomerService()
-
-
Method Details
-
getAllCustomers
-
getCustomerByUid
public CustomerEntity getCustomerByUid(UUID uid) throws org.springframework.web.server.ResponseStatusException - 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.
-
createCustomer
-
updateCustomer
-
deleteCustomer
-