Uses of Class
com.proyecto.jpa.entity.Customer
Packages that use Customer
Package
Description
Paquete que contiene los controladores REST (Capa de Presentación).
Paquete que contiene las entidades JPA del modelo de dominio.
Paquete que contiene los repositorios JPA para acceso a datos.
Paquete que contiene la capa de servicios (lógica de negocio).
-
Uses of Customer in com.proyecto.jpa.controller
Methods in com.proyecto.jpa.controller that return types with arguments of type CustomerModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Customer>CustomerController.activateCustomer(Long id) Activa un cliente.org.springframework.http.ResponseEntity<Customer>CustomerController.createCustomer(@Valid Customer customer) Crea un nuevo cliente.CustomerController.getActiveCustomers()Obtiene clientes activos.CustomerController.getAllCustomers()Obtiene todos los clientes.org.springframework.http.ResponseEntity<Customer>CustomerController.getCustomerByEmail(String email) Busca un cliente por su email.org.springframework.http.ResponseEntity<Customer>CustomerController.getCustomerById(Long id) Obtiene un cliente por su ID.CustomerController.getCustomersByStatus(Customer.CustomerStatus status) Obtiene clientes por estado.CustomerController.searchCustomers(String searchTerm) Busca clientes por nombre o apellido.org.springframework.http.ResponseEntity<Customer>CustomerController.suspendCustomer(Long id) Suspende un cliente.org.springframework.http.ResponseEntity<Customer>CustomerController.updateCustomer(Long id, @Valid Customer customer) Actualiza un cliente existente.org.springframework.http.ResponseEntity<Customer>CustomerController.updateStatus(Long id, Customer.CustomerStatus status) Actualiza el estado de un cliente.Methods in com.proyecto.jpa.controller with parameters of type CustomerModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Customer>CustomerController.createCustomer(@Valid Customer customer) Crea un nuevo cliente.org.springframework.http.ResponseEntity<Customer>CustomerController.updateCustomer(Long id, @Valid Customer customer) Actualiza un cliente existente. -
Uses of Customer in com.proyecto.jpa.entity
Methods in com.proyecto.jpa.entity that return CustomerMethods in com.proyecto.jpa.entity with parameters of type CustomerConstructors in com.proyecto.jpa.entity with parameters of type Customer -
Uses of Customer in com.proyecto.jpa.repository
Methods in com.proyecto.jpa.repository that return types with arguments of type CustomerModifier and TypeMethodDescriptionCustomerRepository.findByEmail(String email) Busca un cliente por su email.CustomerRepository.findByFirstNameContainingOrLastNameContaining(String firstName, String lastName) Busca clientes cuyo nombre o apellido contenga el texto dado.CustomerRepository.findByStatus(Customer.CustomerStatus status) Busca clientes por estado. -
Uses of Customer in com.proyecto.jpa.service
Methods in com.proyecto.jpa.service that return CustomerModifier and TypeMethodDescriptionCustomerService.activateCustomer(Long customerId) Activa un cliente (cambia su estado a ACTIVE).Crea o actualiza un cliente.CustomerService.suspendCustomer(Long customerId) Suspende un cliente (cambia su estado a SUSPENDED).CustomerService.updateStatus(Long customerId, Customer.CustomerStatus newStatus) Actualiza el estado de un cliente.Methods in com.proyecto.jpa.service that return types with arguments of type CustomerModifier and TypeMethodDescriptionCustomerService.findActiveCustomers()Busca clientes activos.CustomerService.findAll()Obtiene todos los clientes del sistema.CustomerService.findByEmail(String email) Busca un cliente por su email.Busca un cliente por su ID.CustomerService.findByStatus(Customer.CustomerStatus status) Busca clientes por estado.CustomerService.searchByName(String searchTerm) Busca clientes por nombre o apellido.Methods in com.proyecto.jpa.service with parameters of type Customer