Uses of Class
com.Server.dto.Request.CarRequest
| Package | Description |
|---|---|
| com.Server.controller |
com.Server.controller has all controller use to support client by http protocol.
|
| com.Server.mapper.impl |
com.Server.mapper.impl - mapped dto to entity and reverse.
|
| com.Server.service |
com.Server.service has service used to services on database table available repository interface.
|
| com.Server.service.impl |
com.Server.service.impl has the class witch implement services interface method.
|
-
Uses of CarRequest in com.Server.controller
Methods in com.Server.controller with parameters of type CarRequest Modifier and Type Method Description org.springframework.http.ResponseEntity<?>CarController. addCar(@Valid CarRequest carRequest)This method add car.org.springframework.http.ResponseEntity<?>CarController. editCar(int id, CarRequest carRequest)This method edit car. -
Uses of CarRequest in com.Server.mapper.impl
Methods in com.Server.mapper.impl with parameters of type CarRequest Modifier and Type Method Description CarCarMapper. toEntity(CarRequest carRequest)CarCarMapper. update(Car car, CarRequest carRequest) -
Uses of CarRequest in com.Server.service
Methods in com.Server.service with parameters of type CarRequest Modifier and Type Method Description voidCarService. save(CarRequest car)Method to save new car.CarCarService. update(int id, CarRequest carResponse)Method to edit data car. -
Uses of CarRequest in com.Server.service.impl
Fields in com.Server.service.impl with type parameters of type CarRequest Modifier and Type Field Description private Mapper<Car,CarResponse,CarRequest>CarServiceImpl. carMapperCarMapperMethods in com.Server.service.impl with parameters of type CarRequest Modifier and Type Method Description voidCarServiceImpl. save(CarRequest carRequest)Method to save new car.CarCarServiceImpl. update(int id, CarRequest carRequest)Method to edit data car.Constructor parameters in com.Server.service.impl with type arguments of type CarRequest Constructor Description CarServiceImpl(CarRepository carRepository, ReservationRepository reservationRepository, LocalizationRepository localizationRepository, UserRepository userRepository, Mapper<Car,CarResponse,CarRequest> carMapper)