Uses of Class
com.Server.dto.Response.ReservationResponse
| 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 ReservationResponse in com.Server.controller
Methods in com.Server.controller that return types with arguments of type ReservationResponse Modifier and Type Method Description org.springframework.http.ResponseEntity<java.util.List<ReservationResponse>>ReservationController. getReservations()This method get all reservation. -
Uses of ReservationResponse in com.Server.mapper.impl
Methods in com.Server.mapper.impl that return ReservationResponse Modifier and Type Method Description ReservationResponseReservationMapper. toDto(Reservation reservation) -
Uses of ReservationResponse in com.Server.service
Methods in com.Server.service that return ReservationResponse Modifier and Type Method Description ReservationResponseReservationService. findByIdRent(java.lang.Long id)Find reservation on idReservationResponseReservationService. findFirstByCarIdCarOrderByIdRentDesc(int id)Find the Last reservation on carMethods in com.Server.service that return types with arguments of type ReservationResponse Modifier and Type Method Description java.util.List<ReservationResponse>ReservationService. findAll()Method return all reservation.java.util.List<ReservationResponse>ReservationService. findByCarIdCar(int id)find a reservation on id carjava.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. -
Uses of ReservationResponse in com.Server.service.impl
Fields in com.Server.service.impl with type parameters of type ReservationResponse Modifier and Type Field Description private Mapper<Reservation,ReservationResponse,ReservationRequest>ReservationServiceImpl. reservationMapperReservation mapperMethods in com.Server.service.impl that return ReservationResponse Modifier and Type Method Description ReservationResponseReservationServiceImpl. findByIdRent(java.lang.Long id)Find reservation on idReservationResponseReservationServiceImpl. findFirstByCarIdCarOrderByIdRentDesc(int id)Find the Last reservation on carMethods in com.Server.service.impl that return types with arguments of type ReservationResponse Modifier and Type Method Description java.util.List<ReservationResponse>ReservationServiceImpl. findAll()Method return all reservation.java.util.List<ReservationResponse>ReservationServiceImpl. findByCarIdCar(int id)find a reservation on id carjava.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.Constructor parameters in com.Server.service.impl with type arguments of type ReservationResponse Constructor Description ReservationServiceImpl(ReservationRepository reservationRepository, UserRepository userRepository, CarRepository carRepository, LocalizationRepository localizationRepository, SendMailImpl sendMailImpl, Mapper<Reservation,ReservationResponse,ReservationRequest> reservationMapper, SendMail sendMail)