Uses of Class
com.Server.exception.WrongDataException
| Package | Description |
|---|---|
| com.Server.controller |
com.Server.controller has all controller use to support client by http protocol.
|
| 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 WrongDataException in com.Server.controller
Methods in com.Server.controller that throw WrongDataException Modifier and Type Method Description org.springframework.http.ResponseEntity<?>CarController. addCar(@Valid CarRequest carRequest)This method add car.org.springframework.http.ResponseEntity<?>CarController. getCar(int id)This method get car about id. -
Uses of WrongDataException in com.Server.service
Methods in com.Server.service that throw WrongDataException Modifier and Type Method Description java.lang.IntegerCarService. deleteByIdCar(int id)Delete car on id.voidCarService. deleteCar(int id)Delete car on id.voidUserService. deleteUser(java.lang.Long id)Delete user on id.LocalizationResponseLocalizationService. findByCity(java.lang.String city)Find city on name cityUserResponseUserService. findById(java.lang.Long id)Find user on id.CarResponseCarService. findByIdCar(int id)Method find car on idLocalizationResponseLocalizationService. findByIdLocalization(long id)Find car on id.java.util.List<ReservationResponse>ReservationService. getCurrentReservation(java.lang.Long id)Return Current reservation user on id user.java.util.List<ReservationResponse>UserService. getReservationUser(java.lang.Long id)Return reservation user.voidCarService. save(CarRequest car)Method to save new car.ReservationReservationService. save(ReservationRequest reservationRequest)Save new reservationvoidUserService. save(UserRequest user)Save new user data.CarCarService. update(int id, CarRequest carResponse)Method to edit data car.voidUserService. update(UserRequest userRequest, java.lang.Long id)Update user. -
Uses of WrongDataException in com.Server.service.impl
Methods in com.Server.service.impl that throw WrongDataException Modifier and Type Method Description voidCarServiceImpl. deleteCar(int id)Delete car on id.voidUserServiceImpl. deleteUser(java.lang.Long id)Delete user on id.LocalizationResponseLocalizationServiceImpl. findByCity(java.lang.String city)Find city on name city(package private) voidLocalizationServiceImplTest. findByCity()UserResponseUserServiceImpl. findById(java.lang.Long id)Find user on id.CarResponseCarServiceImpl. findByIdCar(int id)Method find car on id(package private) voidCarServiceImplTest. findByIdCar()LocalizationResponseLocalizationServiceImpl. findByIdLocalization(long id)Find car on id.(package private) voidLocalizationServiceImplTest. findByIdLocalization()java.util.List<ReservationResponse>ReservationServiceImpl. getCurrentReservation(java.lang.Long id)Return Current reservation user on id user.java.util.List<ReservationResponse>UserServiceImpl. getReservationUser(java.lang.Long id)Return reservation user.voidCarServiceImpl. save(CarRequest carRequest)Method to save new car.ReservationReservationServiceImpl. save(ReservationRequest reservationRequest)Save new reservationvoidUserServiceImpl. save(UserRequest userRequest)Save new user data.CarCarServiceImpl. update(int id, CarRequest carRequest)Method to edit data car.voidUserServiceImpl. update(UserRequest userRequest, java.lang.Long id)Update user.