Class ClientController
java.lang.Object
xyz.nardone.agenda_fps.servizio.controllers.ClientController
Endpoints for creating, updating, and listing clients.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a new client linked to a banker.Deletes all clients and their callbacks.deleteClientById(Integer clienteId) Deletes a client and its callbacks.Returns all clients.Returns a client by ID.getClientsByBankerId(Integer id_banker) Returns clients for a specific banker.updateClient(Client client) Updates client details and banker relationship.
-
Constructor Details
-
ClientController
public ClientController()
-
-
Method Details
-
getAllClients
-
getClient
-
addClient
-
updateClient
-
deleteClientById
-
deleteAllClients
Deletes all clients and their callbacks. -
getClientsByBankerId
-